Public Types | Public Member Functions
ESBTL::Coarse_atom< Atom, Point > Class Template Reference

#include <coarse_grain.h>

List of all members.

Public Types

typedef Point Point_3

Public Member Functions

void add (const Atom &atom)
 Coarse_atom (const Point_3 &p, unsigned i, const Residue &res)
 Coarse_atom (unsigned i, const Residue &res)
 Coarse_atom ()
 Coarse_atom (float x, float y, float z)
const Residue & residue () const
unsigned index () const

Detailed Description

template<class Atom, class Point>
class ESBTL::Coarse_atom< Atom, Point >

A coarse-grain atom type

Template Parameters:
Atomis the base atom class that the coarse atom represent.
Pointis a point type with coordinates const access methods x(), y() and z().

Member Typedef Documentation

template<class Atom , class Point >
typedef Point ESBTL::Coarse_atom< Atom, Point >::Point_3

Constructor & Destructor Documentation

template<class Atom , class Point >
ESBTL::Coarse_atom< Atom, Point >::Coarse_atom ( const Point_3 p,
unsigned  i,
const Residue &  res 
) [inline]
template<class Atom , class Point >
ESBTL::Coarse_atom< Atom, Point >::Coarse_atom ( unsigned  i,
const Residue &  res 
) [inline]
template<class Atom , class Point >
ESBTL::Coarse_atom< Atom, Point >::Coarse_atom ( ) [inline]
template<class Atom , class Point >
ESBTL::Coarse_atom< Atom, Point >::Coarse_atom ( float  x,
float  y,
float  z 
) [inline]

Member Function Documentation

template<class Atom , class Point >
void ESBTL::Coarse_atom< Atom, Point >::add ( const Atom &  atom) [inline]

Add atom to the set of atom represented.

template<class Atom , class Point >
unsigned ESBTL::Coarse_atom< Atom, Point >::index ( ) const [inline]
template<class Atom , class Point >
const Residue& ESBTL::Coarse_atom< Atom, Point >::residue ( ) const [inline]

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