BioInt  1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
BioPdbSeqres.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 BIOPDBSEQRES_H 
00010 #define BIOPDBSEQRES_H
00011 
00012 using namespace std;
00013 
00014 #include <string>
00015 #include <vector>
00016 #include <fstream>
00017 #include <iostream>
00018 #include <algorithm>
00019 
00020 class BioPdbSeqres
00021 {
00022 
00023         vector<string>seqres_;
00024 public:
00025         BioPdbSeqres(const string& ti_);
00026 
00027         void showSeqres(ostream& = cout);
00028         void showSeqres(char,ostream& = cout);
00029 
00030         void showSeqresChainIds(ostream& = cout);
00031         bool findSeqresChainId(char );
00032 
00033         string getSeqresSequence(char );
00034         string getSeqresSequenceSegment(char, int ,int);
00035         int getSeqresSequenceLength(char );
00036 
00037         int getSeqresNumberOfChainIds();
00038         char getSeqresChainId(int chainIdIndex);
00039 
00040         
00041 
00042 };
00043 
00044 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines