Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

FragmentDB::NormalizeNamesProcessor Class Reference

Name normalization processor. More...

#include <fragmentDB.h>

Inheritance diagram for FragmentDB::NormalizeNamesProcessor:

UnaryProcessor< Fragment > UnaryFunctor< Fragment, Processor::Result > List of all members.

Public Member Functions

Constructors and Destructors
 NormalizeNamesProcessor ()
 Default constructor.
 NormalizeNamesProcessor (FragmentDB &db)
 Constructor.
virtual ~NormalizeNamesProcessor ()
 Destructor.
Inspectors and Mutators
void setFragmentDB (FragmentDB &db)
 Bind the processor to a fragment database.
void setNamingStandard (const String &naming_standard)
const StringgetNamingStandard ()
 Retrieve the current naming standard.
bool matchName (String &res_name, String &atom_name, const NameMap &map) const
 Try to match a name in one of the maps.
Processor specific methods
virtual bool start ()
 Start method.
virtual bool finish ()
 Finish method.
virtual Processor::Result operator() (Fragment &fragment)
 Application method.

Detailed Description

Name normalization processor.

This class is used to adopt all names in a molecular system to a given naming standard (usually the PDB standard).


Member Function Documentation

void FragmentDB::NormalizeNamesProcessor::setFragmentDB FragmentDB db  ) 
 

Bind the processor to a fragment database.