BioInt  1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
BioLenPos.h
Go to the documentation of this file.
00001 #ifndef BIOLENPOS_H
00002 #define BIOLENPOS_H
00003 
00004 #include <vector>
00005 #include <string>
00006 
00007 using namespace std;
00008 
00009 class BioLenPos
00010 {
00011 
00012 friend bool operator >(const  BioLenPos& , const BioLenPos&);
00013 friend bool operator <(const BioLenPos& , const BioLenPos&);
00014 friend bool operator ==(const BioLenPos& , const BioLenPos&);
00015 
00016 public:
00017           ~BioLenPos();
00018           long length;
00019           vector <long> st;
00020           vector <long> ed;
00021 };
00022 
00023 
00024 
00025 
00026 //#ifndef BIOPROTEINSTRUCTUREALIGNMENT_H
00027 //#define BIOPROTEINSTRUCTUREALIGNMENT_H
00028 
00029 class CalphaAtom {
00030 
00031 friend bool operator >(const  CalphaAtom& , const CalphaAtom&);
00032 friend bool operator <(const CalphaAtom& , const CalphaAtom&);
00033 friend bool operator ==(const CalphaAtom& , const CalphaAtom&);
00034 
00035         public:
00036         string amino;
00037         short   nth;
00038         float   x,y,z;
00039         short   flag;
00040 };
00041 
00042 
00043 class coord {                       /* structure to hold X,Y coordinates */
00044 friend bool operator >(const  coord& , const coord&);
00045 friend bool operator <(const coord& , const coord&);
00046 friend bool operator ==(const coord& , const coord&);
00047   
00048   public:
00049   int x;                                      /* location of OTU X in array */
00050   int y;                                      /* location of OTU Y in array */
00051 };       
00052                                             /* size = 4 bytes */
00053 class node {           /* structure to hold characteristics of one node */
00054   
00055   friend bool operator >(const  node& , const node&);
00056 friend bool operator <(const node& , const node&);
00057 friend bool operator ==(const node& , const node&);
00058 
00059   public: 
00060   string nodename;                                 /* name of node in tree */
00061   float   dist;                                         /* distance of node */
00062   string otuX;                                            /* name of OTU X */
00063   string otuY;                                            /* name of OTU Y */
00064 };                                                  /* size = 68 bytes */
00065 
00066 class branch {        /* structure to hold one branch (text line) of tree */
00067   friend bool operator >(const  branch& , const branch&);
00068 friend bool operator <(const branch& , const branch&);
00069 friend bool operator ==(const branch& , const branch&);
00070 
00071   public:
00072   string name;                                   /* name of current branch */
00073   string br;                                       /* text content of branch */
00074 };                                                /* size = 96 bytes */
00075 
00076 
00077 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines