#include <coarse_classifier.h>
Public Types | |
typedef std::string | Key_type |
typedef Atom | Query_type |
Public Member Functions | |
Color_of_residues (const std::string &color) | |
Static Public Member Functions | |
static int & | index_of_default () |
template<class Dictionary , class Vector_properties > | |
static unsigned | default_loader (Dictionary &dict, Vector_properties &vect) |
static Key_type | make_key (const Query_type &atom) |
A property class associating a color to an atom using its residue name. Default color codes are the same as ESBTL::Color_of_atom function object.
Atom | is an atom type. |
typedef std::string ESBTL::Color_of_residues< Atom >::Key_type |
typedef Atom ESBTL::Color_of_residues< Atom >::Query_type |
ESBTL::Color_of_residues< Atom >::Color_of_residues | ( | const std::string & | color | ) | [inline] |
static unsigned ESBTL::Color_of_residues< Atom >::default_loader | ( | Dictionary & | dict, |
Vector_properties & | vect | ||
) | [inline, static] |
static int& ESBTL::Color_of_residues< Atom >::index_of_default | ( | ) | [inline, static] |
static Key_type ESBTL::Color_of_residues< Atom >::make_key | ( | const Query_type & | atom | ) | [inline, static] |