Victor
 All Data Structures Functions Variables Friends Pages
XyzSaver Class Reference

Saves components (Atoms, Groups, etc.) in carthesian format. More...

+ Inheritance diagram for XyzSaver:
+ Collaboration diagram for XyzSaver:

Public Member Functions

virtual void saveAminoAcid (AminoAcid &aa)
 
virtual void saveGroup (Group &gr)
 
virtual void saveSideChain (SideChain &sc)
 
virtual void saveSpacer (Spacer &sp)
 

Protected Member Functions

virtual void pSaveAtomVector (vector< Atom > &va)
 

Detailed Description

Saves components (Atoms, Groups, etc.) in carthesian format.

Internal format is made of type, coords & bonds of each atom, one per line. Keywords "aminoacid" and "sidechain" delimit these structures.

Member Function Documentation

void pSaveAtomVector ( vector< Atom > &  va)
protectedvirtual

Creates a list of the atom types contained in the vector and saves it.

Parameters
referenceto the vector that contains atoms(vector<Atom>&)
Returns
changes are made internally (void)
void saveAminoAcid ( AminoAcid aa)
virtual

Obtains the atom and the said chain from the given amino acid and saves them as a vector format.

Parameters
Aminoacid reference(AminoAcid&)
Returns
changes are made internally (void)

Reimplemented from Saver.

void saveGroup ( Group gr)
virtual

Obtains the atom from the given group and saves it as a vector format.

Parameters
Groupreference(Group&)
Returns
changes are made internally (void)

Reimplemented from Saver.

void saveSideChain ( SideChain sc)
virtual

Obtains the atom from the given side chain and saves it as a vector format.

Parameters
Sidechain reference(SideChain&)
Returns
changes are made internally (void)

Reimplemented from Saver.

void saveSpacer ( Spacer sp)
virtual

Obtains the atoms and side chains from each of the amino acids in the spacer/protein and saves them as a vector format.

Parameters
Spacerreference(Spacer&)
Returns
changes are made internally (void)

Reimplemented from Saver.


The documentation for this class was generated from the following files: