Nucleotide

A container that stores all NucleicAcidAtoms of a nucleotide

[ GAMB | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

AUTHORS
CHANGES LOG
USAGE
END

Class Summary

class Nucleotide :
public vector<NucleicAcidAtom>
{
public:
// Iterators
class BaseIterator ;
void operator++()
const NucleicAcidAtom& operator*() ;
bool isDone() ;
protected:
}; // Nucleotide

Back to the top of Nucleotide


AUTHORS

Oranit Dror (mailto: oranit@post.tau.ac.il)

Copyright: SAMBA group, Tel-Aviv Univ. Israel, 2004.

Back to the top of Nucleotide


CHANGES LOG

OVERVIEW TEXT

Back to the top of Nucleotide


USAGE

      Molecule<NucleicAcidAtom> rna;
      ifstream rnaFile("rna.pdb");
      rna.readPDBfile(rnaFile);

      vector<Nucleotide> rna_nc = Nucleotide::parsePDB(rna);
      

Back to the top of Nucleotide


END

Back to the top of Nucleotide


class BaseIterator ;

  class BaseIterator {
  public:
    ////
    BaseIterator(const Nucleotide* nucleotide_) : 
      nucleotide(nucleotide_), nucleotideIter(nucleotide_->begin()) {
      if (!nucleotideIter->isBaseAtom()) {
	operator++();
      }
    }

Back to the top of Nucleotide


void operator++()

Proceede to the next base atom of the nucleotide

    void operator++()                                                                                                                                                                                            

Back to the top of Nucleotide


const NucleicAcidAtom& operator*() ;

Returns the current base atom (Dereference)

    const NucleicAcidAtom& operator*()                                              
;

Function is currently defined inline.


Back to the top of Nucleotide


bool isDone() ;

Returns true if the iterator points beyond the last base atom of the nucleotide

    bool isDone()                                                                  
;

Function is currently defined inline.


Back to the top of Nucleotide


All Members

public:
// Iterators
class BaseIterator ;
void operator++()
const NucleicAcidAtom& operator*() ;
bool isDone() ;
protected:

Back to the top of Nucleotide


Ancestors

Inheritance chain for Nucleotide:

Back to the top of Nucleotide


Descendants

Back to the top of Nucleotide


Generated from source by the Cocoon utilities on Sun Nov 15 13:35:26 2009 .

Report problems to jkotula@unimax.com