Debian Codegraph @

ajax/ensembl/ensmetacoordinate.h

raw symbols SCIP
1 /* @include ensmetacoordinate *************************************************
2 **
3 ** Ensembl Meta-Coordinate functions
4 **
5 ** @author Copyright (C) 1999 Ensembl Developers
6 ** @author Copyright (C) 2006 Michael K. Schuster
7 ** @version $Revision: 1.15 $
8 ** @modified 2009 by Alan Bleasby for incorporation into EMBOSS core
9 ** @modified $Date: 2012/08/05 11:12:31 $ 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 ENSMETACOORDINATE_H
30 #define ENSMETACOORDINATE_H
31
32 /* ========================================================================= */
33 /* ============================= include files ============================= */
34 /* ========================================================================= */
35
36 #include "enscoordsystem.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 /* @data EnsPMetacoordinateadaptor ********************************************
55 **
56 ** Ensembl Meta-Coordinate Adaptor.
57 **
58 ** @alias EnsSMetacoordinateadaptor
59 ** @alias EnsOMetacoordinateadaptor
60 **
61 ** @attr Adaptor [EnsPDatabaseadaptor] Ensembl Database Adaptor.
62 ** @attr CacheByName [AjPTable] Ensembl Feature name (i.e. table name) cache.
63 ** @attr CacheByLength [AjPTable] Maximum length cache.
64 ** @@
65 ******************************************************************************/
66
67 typedef struct EnsSMetacoordinateadaptor
68 {
69 EnsPDatabaseadaptor Adaptor;
70 AjPTable CacheByName;
71 AjPTable CacheByLength;
72 } EnsOMetacoordinateadaptor;
73
74 #define EnsPMetacoordinateadaptor EnsOMetacoordinateadaptor*
75
76
77
78
79 /* ========================================================================= */
80 /* =========================== public functions ============================ */
81 /* ========================================================================= */
82
83 /*
84 ** Prototype definitions
85 */
86
87 /* Ensembl Meta-Coordinate Adaptor */
88
89 EnsPMetacoordinateadaptor ensRegistryGetMetacoordinateadaptor(
90 EnsPDatabaseadaptor dba);
91
92 EnsPMetacoordinateadaptor ensMetacoordinateadaptorNew(
93 EnsPDatabaseadaptor dba);
94
95 void ensMetacoordinateadaptorDel(EnsPMetacoordinateadaptor *Pmca);
96
97 EnsPDatabaseadaptor ensMetacoordinateadaptorGetDatabaseadaptor(
98 EnsPMetacoordinateadaptor mca);
99
100 AjBool ensMetacoordinateadaptorRetrieveAllCoordsystems(
101 EnsPMetacoordinateadaptor mca,
102 const AjPStr name,
103 AjPList css);
104
105 AjBool ensMetacoordinateadaptorRetrieveMaximumlength(
106 EnsPMetacoordinateadaptor mca,
107 const EnsPCoordsystem cs,
108 const AjPStr name,
109 ajint *Pmaxlength);
110
111 /*
112 ** End of prototype definitions
113 */
114
115
116
117
118 AJ_END_DECLS
119
120 #endif /* !ENSMETACOORDINATE_H */