Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

base.h

Go to the documentation of this file.
00001 /*                               -*- Mode: C -*- 
00002  * base.h
00003  * Copyright © 2002-03 Laboratoire de Biologie Informatique et Théorique
00004  *                     Université de Montréal.
00005  * Author           : Patrick Charbonneau
00006  * Created On       : Wed Sep 12 16:48:15 2003
00007  * $Revision: 1.7 $
00008  * $Id: base.h,v 1.7 2003/10/01 13:06:46 larosem Exp $
00009  *
00010  * This file is part of xmlcpg.
00011  *
00012  * xmlcpg is free software; you can redistribute it and/or modify it under
00013  * the terms of the GNU Lesser General Public License as published by the Free
00014  * Software Foundation; either version 2 of the License, or (at your option)
00015  * any later version.
00016  *
00017  * xmlcpg is distributed in the hope that it will be useful, but WITHOUT ANY
00018  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00019  * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for
00020  * more details.
00021  *
00022  * You should have received a copy of the GNU Lesser General Public License
00023  * along with xmlcpg; if not, write to the Free Software Foundation, Inc.,
00024  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00025  */
00026 
00027 
00028 #ifndef _rnaml_base_h_
00029 #define _rnaml_base_h_
00030 
00031 #include "atom.h"
00032 #include "object.h"
00033 #include "xmlcpg.h"
00034 
00035 
00036 
00040 typedef struct rnamlBASE rnamlBase;
00041 
00046 rnamlBase* rnamlnewBase ();
00047 
00053 rnamlBase* rnamlcloneBase (const rnamlBase *base);
00054 
00059 void rnamldeleteBase (rnamlBase *base);
00060 
00066 int rnamlisBase (const rnamlObject *obj);
00067 
00074 int rnamlequalsBase (const rnamlBase *left, const rnamlBase *right);
00075 
00081 const char* rnamlgetBaseStrand (const rnamlBase *base);
00082 
00089 void rnamlsetBaseStrand (rnamlBase *base, const char *strand);
00090 
00096 int rnamlgetBasePosition (const rnamlBase *base);
00097 
00103 void rnamlsetBasePosition (rnamlBase *base, int position);
00104 
00110 const char* rnamlgetBaseBaseType (const rnamlBase *base);
00111 
00118 void rnamlsetBaseBaseType (rnamlBase *base, const char *baseType);
00119 
00125 char rnamlgetBaseAltLoc (const rnamlBase *base);
00126 
00132 void rnamlsetBaseAltLoc (rnamlBase *base, char altLoc);
00133 
00139 char rnamlgetBaseInsertion (const rnamlBase *base);
00140 
00146 void rnamlsetBaseInsertion (rnamlBase *base, char insertion);
00147 
00153 void rnamladdBaseAtom (rnamlBase *base, rnamlAtom *atom);
00154 
00160 xmlcpgList* rnamlgetBaseAtoms (rnamlBase *base);
00161 
00168 xmlcpgObject* rnamltoXMLBase (const rnamlBase *base);
00169 
00170 #endif
00171 

Generated on Tue Nov 11 14:59:38 2003 for xmlcpg by doxygen1.2.18