Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes
ESBTL::Molecular_residue< System > Class Template Reference

#include <molecular_system.h>

List of all members.

Public Types

typedef System::Atom Atom
typedef std::map< unsigned, AtomAtom_container
typedef System::Chain Chain
typedef
internal::Atoms_iterator_from_residue
< Self, true > 
Atoms_const_iterator
typedef
internal::Atoms_iterator_from_residue
< Self, false > 
Atoms_iterator

Public Member Functions

const Chainchain () const
char chain_identifier () const
template<class Line_format >
 Molecular_residue (const Line_format &line_format, const std::string &line, const Chain &ch)
 Molecular_residue (const std::string &resname, int index, char insc, const Chain &ch)
template<class Line_format >
void add_atom (const Line_format &line_format, const std::string &line)
size_t number_of_atoms () const
const Atomget_atom (unsigned sn) const
Atoms_iterator atoms_begin ()
Atoms_iterator atoms_end ()
Atoms_const_iterator atoms_begin () const
Atoms_const_iterator atoms_end () const

Static Public Member Functions

static const Atomdereference (typename Atom_container::const_iterator it)
static Atomdereference (typename Atom_container::iterator it)

Protected Attributes

Atom_container atom_container_

Detailed Description

template<class System>
class ESBTL::Molecular_residue< System >

A class representing a residue.

Template Parameters:
Systemis a system (like ESBTL::Molecular_system for example).

Member Typedef Documentation

template<class System>
typedef System::Atom ESBTL::Molecular_residue< System >::Atom
template<class System>
typedef std::map<unsigned,Atom> ESBTL::Molecular_residue< System >::Atom_container
template<class System>
typedef System::Chain ESBTL::Molecular_residue< System >::Chain

Constructor & Destructor Documentation

template<class System>
template<class Line_format >
ESBTL::Molecular_residue< System >::Molecular_residue ( const Line_format &  line_format,
const std::string &  line,
const Chain ch 
) [inline]
template<class System>
ESBTL::Molecular_residue< System >::Molecular_residue ( const std::string &  resname,
int  index,
char  insc,
const Chain ch 
) [inline]

Member Function Documentation

template<class System>
template<class Line_format >
void ESBTL::Molecular_residue< System >::add_atom ( const Line_format &  line_format,
const std::string &  line 
) [inline]
template<class System>
const Chain& ESBTL::Molecular_residue< System >::chain ( ) const [inline]
template<class System>
char ESBTL::Molecular_residue< System >::chain_identifier ( ) const [inline]
template<class System>
static const Atom& ESBTL::Molecular_residue< System >::dereference ( typename Atom_container::const_iterator  it) [inline, static]
template<class System>
static Atom& ESBTL::Molecular_residue< System >::dereference ( typename Atom_container::iterator  it) [inline, static]
template<class System>
const Atom& ESBTL::Molecular_residue< System >::get_atom ( unsigned  sn) const [inline]
template<class System>
size_t ESBTL::Molecular_residue< System >::number_of_atoms ( ) const [inline]

Member Data Documentation

template<class System>
Atom_container ESBTL::Molecular_residue< System >::atom_container_ [protected]

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