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

BaseTorsionAngles.h

Go to the documentation of this file.
00001 /*                               -*- Mode: C++ -*- 
00002  * BaseTorsionAngles.h
00003  * Copyright © 2003 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.2 $
00008  * $Id: BaseTorsionAngles.h,v 1.2 2003/10/18 00:20:58 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_BaseTorsionAngles_h_
00029 #define _rnaml_BaseTorsionAngles_h_
00030 
00031 extern "C" {
00032 #include "basetorsionangles.h"
00033 #include "object.h"
00034 }
00035 
00036 #include "Object.h"
00037 
00038 
00039 
00040 namespace rnaml
00041 {
00042   class BaseTorsionAngles : public Object
00043   {
00044 
00045   public:
00046 
00047     // LIFECYCLE ------------------------------------------------------------
00048 
00052     BaseTorsionAngles () : Object ((rnamlObject*) rnamlnewBaseTorsionAngles ()) { }
00053 
00058     BaseTorsionAngles (const BaseTorsionAngles &right) : Object (right) { }
00059 
00064     BaseTorsionAngles* clone () const { return new BaseTorsionAngles (*this); }
00065 
00069     virtual ~BaseTorsionAngles () { }
00070 
00071     // OPERATORS ------------------------------------------------------------
00072 
00078     BaseTorsionAngles& operator= (const BaseTorsionAngles &right);
00079 
00080     // ACCESS ---------------------------------------------------------------
00081 
00086     float getAlpha () const { return rnamlgetBaseTorsionAnglesAlpha ((const rnamlBaseTorsionAngles*) getCStructure ()); }
00087 
00092     void setAlpha (float alpha) { rnamlsetBaseTorsionAnglesAlpha ((rnamlBaseTorsionAngles*) getCStructure (), alpha); }
00093 
00098     float getBeta () const { return rnamlgetBaseTorsionAnglesBeta ((const rnamlBaseTorsionAngles*) getCStructure ()); }
00099 
00104     void setBeta (float beta) { rnamlsetBaseTorsionAnglesBeta ((rnamlBaseTorsionAngles*) getCStructure (), beta); }
00105 
00110     float getGamma () const { return rnamlgetBaseTorsionAnglesGamma ((const rnamlBaseTorsionAngles*) getCStructure ()); }
00111 
00116     void setGamma (float gamma) { rnamlsetBaseTorsionAnglesGamma ((rnamlBaseTorsionAngles*) getCStructure (), gamma); }
00117 
00122     float getDelta () const { return rnamlgetBaseTorsionAnglesDelta ((const rnamlBaseTorsionAngles*) getCStructure ()); }
00123 
00128     void setDelta (float delta) { rnamlsetBaseTorsionAnglesDelta ((rnamlBaseTorsionAngles*) getCStructure (), delta); }
00129 
00134     float getEpsilon () const {return rnamlgetBaseTorsionAnglesEpsilon ((const rnamlBaseTorsionAngles*) getCStructure ()); }
00135 
00140     void setEpsilon (float epsilon) { rnamlsetBaseTorsionAnglesEpsilon ((rnamlBaseTorsionAngles*) getCStructure (), epsilon); }
00141 
00146     float getZeta () const {return rnamlgetBaseTorsionAnglesZeta ((const rnamlBaseTorsionAngles*) getCStructure ()); }
00147 
00152     void setZeta (float zeta) { rnamlsetBaseTorsionAnglesZeta ((rnamlBaseTorsionAngles*) getCStructure (), zeta); }
00153 
00158     float getChi () const {return rnamlgetBaseTorsionAnglesChi ((const rnamlBaseTorsionAngles*) getCStructure ()); }
00159 
00164     void setChi (float chi) { rnamlsetBaseTorsionAnglesChi ((rnamlBaseTorsionAngles*) getCStructure (), chi); }
00165 
00170     float getNu0 () const {return rnamlgetBaseTorsionAnglesNu0 ((const rnamlBaseTorsionAngles*) getCStructure ()); }
00171 
00176     void setNu0 (float nu0) { rnamlsetBaseTorsionAnglesNu0 ((rnamlBaseTorsionAngles*) getCStructure (), nu0); }
00177 
00182     float getNu1 () const {return rnamlgetBaseTorsionAnglesNu1 ((const rnamlBaseTorsionAngles*) getCStructure ()); }
00183 
00188     void setNu1 (float nu1) { rnamlsetBaseTorsionAnglesNu1 ((rnamlBaseTorsionAngles*) getCStructure (), nu1); }
00189 
00194     float getNu2 () const {return rnamlgetBaseTorsionAnglesNu2 ((const rnamlBaseTorsionAngles*) getCStructure ()); }
00195 
00200     void setNu2 (float nu2) { rnamlsetBaseTorsionAnglesNu2 ((rnamlBaseTorsionAngles*) getCStructure (), nu2); }
00201 
00206     float getNu3 () const {return rnamlgetBaseTorsionAnglesNu3 ((const rnamlBaseTorsionAngles*) getCStructure ()); }
00207 
00212     void setNu3 (float nu3) { rnamlsetBaseTorsionAnglesNu3 ((rnamlBaseTorsionAngles*) getCStructure (), nu3); }
00213 
00218     float getNu4 () const {return rnamlgetBaseTorsionAnglesNu4 ((const rnamlBaseTorsionAngles*) getCStructure ()); }
00219 
00224     void setNu4 (float nu4) { rnamlsetBaseTorsionAnglesNu4 ((rnamlBaseTorsionAngles*) getCStructure (), nu4); }
00225 
00226     // METHODS --------------------------------------------------------------
00227 
00228     // I/O  -----------------------------------------------------------------
00229 
00230   };
00231 }
00232 
00233 #endif

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