Victor
 All Data Structures Functions Variables Friends Pages
RelSaver Class Reference

Save components (Atoms, Groups, etc.) in relative format. More...

+ Inheritance diagram for RelSaver:
+ Collaboration diagram for RelSaver:

Public Member Functions

 RelSaver (ostream &_output=cout, int _offset=1)
 
virtual void saveAminoAcid (AminoAcid &aa)
 
virtual void saveGroup (Group &gr)
 
virtual void saveSideChain (SideChain &sc)
 

Detailed Description

Save components (Atoms, Groups, etc.) in relative format.

The coordinates here are relative to the previous connected Component (Atom, Group, etc..:) rather than to the absolute Cartesian coordinate system.

Constructor & Destructor Documentation

RelSaver ( ostream &  _output = cout,
int  _offset = 1 
)

Basic constructor.

Parameters
_outputThe output stream object
_offsetNot implemented

Member Function Documentation

void saveAminoAcid ( AminoAcid aa)
virtual

Saves an aminoacid in relative format.

Parameters
aa

Reimplemented from Saver.

void saveGroup ( Group gr)
virtual

Saves a group in relative format.

Parameters
gr

Reimplemented from Saver.

void saveSideChain ( SideChain sc)
virtual

Saves a sidechain in relative format.

Parameters
sc

Reimplemented from Saver.


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