BioInt  1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
BioPdbSheet.h
Go to the documentation of this file.
00001 /****************************************************************************
00002 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00003 The BioBhasha : The Biologist's Programming Language 
00004 Version 1.0 (19th December 2001)
00005 Prasad, B.V.L.S.
00006 Contact: burrashiva@yahoo.com
00007 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00008 *****************************************************************************/
00009 #ifndef BIOPDBSHEET_H
00010 #define BIOPDBSHEET_H
00011 
00012 #include "BioPdbStrand.h"
00013 #include "BioMatrix.h"
00014 #include <vector>
00015 #include <string>
00016 #include <fstream>
00017 
00018 /*****************************************************************************
00019  *
00020  * COMMENTARY on Each Class/Concept: Hows and Whys :
00021  *
00022  * BioPdbSheet:
00023  *              
00024  ******************************************************************************/
00025 class BioPdbSheet
00026 {
00027 
00028         vector<BioPdbStrand>strand;
00029         string sheetId_;
00030         int numberOfStrands_;
00031         string FILE;
00032 
00033            friend bool operator >(const BioPdbSheet& , const BioPdbSheet&);
00034               friend bool operator <(const BioPdbSheet& , const BioPdbSheet&);
00035                  friend bool operator ==(const BioPdbSheet& , const BioPdbSheet&);
00036 
00037 
00038 public:
00039         BioPdbSheet(){}
00040         BioPdbSheet(const string&);
00041         BioPdbSheet(int ssn,string sid,int nos,string irna, char ic, int irnu,
00042                         string erna, char ec, int ernu, int ss, string f);
00043 
00044         void pushStrand(int ssn,string irna,char ic,int irnu, string erna,char ec, int ernu,int ss, string f);
00045 
00046         int getNumberOfStrands();
00047         void setNumberOfStrands(int x); //Added on 25 Sep 2012
00048         int getSizeOfStrandVector();//Temporary addition
00049         string getSheetId();
00050 
00051         void showSheetSequences(ostream& = cout);
00052         void showSheetSequences(BioProteinChain& ,ostream& = cout);
00053 
00054         string getSheetSequence(int );
00055         string getSheetSequence(BioProteinChain& , int );
00056 
00057         BioPdbStrand getStrand( int strIndex);
00058 
00059 
00060         void showSheetCoordinates(ostream& = cout);
00061         void showSheetCoordinates(BioProteinChain&, ostream& = cout);
00062 
00063         BioProteinChain getSheetCoordinates(int);
00064         BioProteinChain getSheetCoordinates(BioProteinChain&, int );
00065 
00066         BioProteinChain getSheetCoordinates();
00067         BioProteinChain getSheetCoordinates(BioProteinChain& );
00068 
00069         BioMatrix getSheetDirectionCosines();
00070 };
00071 
00072 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines