BioInt  1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
BioPdbStrand.h
Go to the documentation of this file.
00001 #ifndef BIOPDBSTRAND_H
00002 #define BIOPDBSTRAND_H
00003 
00004 #include <string>
00005 #include <vector>
00006 #include <fstream>
00007 #include "BioProteinChain.h"
00008 
00009 class BioPdbStrand
00010 {
00011         // Caution: Insertion Code is not included ....hence this is not 
00012         // exactly following the PDB helix format...
00013         // I will add them in future releases. Bear with me Untill then.
00014 
00015         int  strandSerialNumber_;
00016         string initialResidueName_;
00017         int initialResidueNumber_;
00018         char initialChainId_;
00019 
00020         string endingResidueName_;
00021         int endingResidueNumber_;
00022         char endingChainId_;
00023         string FILE;
00024         int strandSense_;
00025            friend bool operator >(const BioPdbStrand& , const BioPdbStrand&);
00026               friend bool operator <(const BioPdbStrand& , const BioPdbStrand&);
00027                  friend bool operator ==(const BioPdbStrand& , const BioPdbStrand&);
00028 
00029 public:
00030         BioPdbStrand(){}
00031         BioPdbStrand(const string& ti_);
00032         BioPdbStrand(int ssn,string irna, char ic, int irnu,
00033                         string erna, char ec, int ernu, int ss, string f);
00034 
00035         int getStrandSerialNumber() ;
00036 
00037         string getInitialResidueName() ;
00038         int getInitialResidueNumber() ;
00039 
00040         char getInitialChainId() ;
00041         char getEndingChainId() ;
00042 
00043         string getEndingResidueName() ;
00044         int getEndingResidueNumber() ;
00045 
00046         int getStrandSense() ;
00047 
00048         int getNumberOfResidues();
00049 
00050         BioProteinChain getStrandCoordinates();
00051         BioProteinChain getStrandCoordinates(BioProteinChain&  );
00052 
00053         string getStrandSequence();
00054         string getStrandSequence(BioProteinChain&  );
00055 
00056         void showStrandCoordinates( ostream& out = cout);
00057         void showStrandCoordinates( BioProteinChain& ,ostream& out = cout);
00058 };
00059 
00060 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines