| 1 | /* @include ensgvsynonym ****************************************************** |
| 2 | ** |
| 3 | ** Ensembl Genetic Variation Synonym functions |
| 4 | ** |
| 5 | ** @author Copyright (C) 1999 Ensembl Developers |
| 6 | ** @author Copyright (C) 2006 Michael K. Schuster |
| 7 | ** @version $Revision: 1.8 $ |
| 8 | ** @modified 2009 by Alan Bleasby for incorporation into EMBOSS core |
| 9 | ** @modified $Date: 2012/02/04 10:30:23 $ by $Author: mks $ |
| 10 | ** @@ |
| 11 | ** |
| 12 | ** This library is free software; you can redistribute it and/or |
| 13 | ** modify it under the terms of the GNU Lesser General Public |
| 14 | ** License as published by the Free Software Foundation; either |
| 15 | ** version 2.1 of the License, or (at your option) any later version. |
| 16 | ** |
| 17 | ** This library is distributed in the hope that it will be useful, |
| 18 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 20 | ** Lesser General Public License for more details. |
| 21 | ** |
| 22 | ** You should have received a copy of the GNU Lesser General Public |
| 23 | ** License along with this library; if not, write to the Free Software |
| 24 | ** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
| 25 | ** MA 02110-1301, USA. |
| 26 | ** |
| 27 | ******************************************************************************/ |
| 28 | |
| 29 | #ifndef ENSGVSYNONYM_H |
| 30 | #define ENSGVSYNONYM_H |
| 31 | |
| 32 | /* ========================================================================= */ |
| 33 | /* ============================= include files ============================= */ |
| 34 | /* ========================================================================= */ |
| 35 | |
| 36 | #include "ensgvdata.h" |
| 37 | |
| 38 | AJ_BEGIN_DECLS |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | /* ========================================================================= */ |
| 44 | /* =============================== constants =============================== */ |
| 45 | /* ========================================================================= */ |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | /* ========================================================================= */ |
| 51 | /* ============================== public data ============================== */ |
| 52 | /* ========================================================================= */ |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | /* ========================================================================= */ |
| 58 | /* =========================== public functions ============================ */ |
| 59 | /* ========================================================================= */ |
| 60 | |
| 61 | /* |
| 62 | ** Prototype definitions |
| 63 | */ |
| 64 | |
| 65 | /* Ensembl Genetic Variation Synonym */ |
| 66 | |
| 67 | EnsPGvsynonym ensGvsynonymNewCpy(const EnsPGvsynonym gvs); |
| 68 | |
| 69 | EnsPGvsynonym ensGvsynonymNewIni(EnsPGvsynonymadaptor gvsa, |
| 70 | ajuint identifier, |
| 71 | EnsPGvsource gvsource, |
| 72 | AjPStr name, |
| 73 | AjPStr moleculetype, |
| 74 | ajuint gvvidentifier, |
| 75 | ajuint subidentifier); |
| 76 | |
| 77 | EnsPGvsynonym ensGvsynonymNewRef(EnsPGvsynonym gvs); |
| 78 | |
| 79 | void ensGvsynonymDel(EnsPGvsynonym *Pgvs); |
| 80 | |
| 81 | EnsPGvsynonymadaptor ensGvsynonymGetAdaptor(const EnsPGvsynonym gvs); |
| 82 | |
| 83 | EnsPGvsource ensGvsynonymGetGvsource(const EnsPGvsynonym gvs); |
| 84 | |
| 85 | ajuint ensGvsynonymGetGvvariationidentifier(const EnsPGvsynonym gvs); |
| 86 | |
| 87 | ajuint ensGvsynonymGetIdentifier(const EnsPGvsynonym gvs); |
| 88 | |
| 89 | AjPStr ensGvsynonymGetMoleculetype(const EnsPGvsynonym gvs); |
| 90 | |
| 91 | AjPStr ensGvsynonymGetName(const EnsPGvsynonym gvs); |
| 92 | |
| 93 | ajuint ensGvsynonymGetSubidentifier(const EnsPGvsynonym gvs); |
| 94 | |
| 95 | AjBool ensGvsynonymSetAdaptor(EnsPGvsynonym gvs, |
| 96 | EnsPGvsynonymadaptor gvsa); |
| 97 | |
| 98 | AjBool ensGvsynonymSetIdentifier(EnsPGvsynonym gvs, |
| 99 | ajuint identifier); |
| 100 | |
| 101 | AjBool ensGvsynonymSetGvsource(EnsPGvsynonym gvs, |
| 102 | EnsPGvsource gvsource); |
| 103 | |
| 104 | AjBool ensGvsynonymSetName(EnsPGvsynonym gvs, |
| 105 | AjPStr name); |
| 106 | |
| 107 | AjBool ensGvsynonymSetMoleculetype(EnsPGvsynonym gvs, |
| 108 | AjPStr moleculetype); |
| 109 | |
| 110 | AjBool ensGvsynonymSetGvvariationidentifier(EnsPGvsynonym gvs, |
| 111 | ajuint gvvidentifier); |
| 112 | |
| 113 | AjBool ensGvsynonymSetSubidentifier(EnsPGvsynonym gvs, |
| 114 | ajuint subidentifier); |
| 115 | |
| 116 | size_t ensGvsynonymCalculateMemsize(const EnsPGvsynonym gvs); |
| 117 | |
| 118 | AjBool ensGvsynonymTrace(const EnsPGvsynonym gvs, ajuint level); |
| 119 | |
| 120 | /* Ensembl Genetic Variation Synonym Adaptor */ |
| 121 | |
| 122 | EnsPGvsynonymadaptor ensRegistryGetGvsynonymadaptor( |
| 123 | EnsPDatabaseadaptor dba); |
| 124 | |
| 125 | /* |
| 126 | ** End of prototype definitions |
| 127 | */ |
| 128 | |
| 129 | |
| 130 | |
| 131 | |
| 132 | AJ_END_DECLS |
| 133 | |
| 134 | #endif /* !ENSGVSYNONYM_H */ |