[ GAMB | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
public: | |
// Iterators | |
class | BaseIterator ; |
void | operator++() |
const NucleicAcidAtom& | operator*() ; |
bool | isDone() ; |
protected: |
Copyright: SAMBA group, Tel-Aviv Univ. Israel, 2004.
OVERVIEW TEXT
Molecule<NucleicAcidAtom> rna; ifstream rnaFile("rna.pdb"); rna.readPDBfile(rnaFile); vector<Nucleotide> rna_nc = Nucleotide::parsePDB(rna);
class BaseIterator { public: //// BaseIterator(const Nucleotide* nucleotide_) : nucleotide(nucleotide_), nucleotideIter(nucleotide_->begin()) { if (!nucleotideIter->isBaseAtom()) { operator++(); } }
Proceede to the next base atom of the nucleotide
void operator++()
const NucleicAcidAtom& operator*() ;
Returns the current base atom (Dereference)
const NucleicAcidAtom& operator*() ;
Function is currently defined inline.
Returns true if the iterator points beyond the last base atom of the nucleotide
bool isDone() ;
Function is currently defined inline.
public: | ||
---|---|---|
// Iterators | ||
class | BaseIterator ; | |
void | operator++() | |
const NucleicAcidAtom& | operator*() ; | |
bool | isDone() ; | |
protected: |
Report problems to jkotula@unimax.com