FragmentsDataBase Class Reference

#include <fragmentDataBase.h>

List of all members.


Detailed Description

Definition at line 94 of file fragmentDataBase.h.

Public Member Functions

std::string findFragmentName (const std::string &residuName, const std::string &atomName)
 FragmentsDataBase (const int size)
 FragmentsDataBase ()
bool getFragmentNameFrom (const std::string &residuName, const std::string &atomName, std::string &fragmentName)
std::string nameOfDataBase () const
void read (std::ifstream &data)
void setNumberOfResidus (const int size)
void write ()
 ~FragmentsDataBase ()

Public Attributes

std::string _nameOfDataBase
std::string * _nameOfResidus
int _numberOfResidus
ResiduDataBaseElement_setOfResidus


Constructor & Destructor Documentation

FragmentsDataBase::FragmentsDataBase  ) 
 

Basic constructor.

Definition at line 119 of file fragmentDataBase.cpp.

FragmentsDataBase::FragmentsDataBase const int  size  ) 
 

Definition at line 123 of file fragmentDataBase.cpp.

FragmentsDataBase::~FragmentsDataBase  ) 
 

Definition at line 129 of file fragmentDataBase.cpp.

References _nameOfResidus, _numberOfResidus, and _setOfResidus.


Member Function Documentation

std::string FragmentsDataBase::findFragmentName const std::string &  residuName,
const std::string &  atomName
 

Definition at line 186 of file fragmentDataBase.cpp.

References _nameOfResidus, _numberOfResidus, _setOfResidus, and ResiduDataBaseElement::getFragmentName().

Here is the call graph for this function:

bool FragmentsDataBase::getFragmentNameFrom const std::string &  residuName,
const std::string &  atomName,
std::string &  fragmentName
 

Definition at line 205 of file fragmentDataBase.cpp.

References _nameOfResidus, _numberOfResidus, _setOfResidus, and ResiduDataBaseElement::getFragmentName().

Referenced by PDBstructure::setFragName().

Here is the call graph for this function:

std::string FragmentsDataBase::nameOfDataBase  )  const [inline]
 

Definition at line 112 of file fragmentDataBase.h.

References _nameOfDataBase.

Referenced by PDBstructure::setFragName().

void FragmentsDataBase::read std::ifstream &  data  ) 
 

Definition at line 157 of file fragmentDataBase.cpp.

References _nameOfResidus, _numberOfResidus, _setOfResidus, ResiduDataBaseElement::read(), and setNumberOfResidus().

Referenced by main().

Here is the call graph for this function:

void FragmentsDataBase::setNumberOfResidus const int  size  ) 
 

Definition at line 137 of file fragmentDataBase.cpp.

References _nameOfResidus, _numberOfResidus, and _setOfResidus.

Referenced by read().

void FragmentsDataBase::write  ) 
 

Definition at line 146 of file fragmentDataBase.cpp.

References _nameOfResidus, _numberOfResidus, _setOfResidus, and ResiduDataBaseElement::write().

Here is the call graph for this function:


Member Data Documentation

std::string FragmentsDataBase::_nameOfDataBase
 

Definition at line 126 of file fragmentDataBase.h.

Referenced by nameOfDataBase().

std::string* FragmentsDataBase::_nameOfResidus
 

Definition at line 124 of file fragmentDataBase.h.

Referenced by findFragmentName(), getFragmentNameFrom(), read(), setNumberOfResidus(), write(), and ~FragmentsDataBase().

int FragmentsDataBase::_numberOfResidus
 

Definition at line 123 of file fragmentDataBase.h.

Referenced by findFragmentName(), getFragmentNameFrom(), read(), setNumberOfResidus(), write(), and ~FragmentsDataBase().

ResiduDataBaseElement* FragmentsDataBase::_setOfResidus
 

Definition at line 125 of file fragmentDataBase.h.

Referenced by findFragmentName(), getFragmentNameFrom(), read(), setNumberOfResidus(), write(), and ~FragmentsDataBase().


The documentation for this class was generated from the following files:
Generated on Sat Jan 28 21:07:33 2006 for QC++ by  doxygen 1.4.4