#include <molecularInformation.h>
Inheritance diagram for MolecularInformation:
Public Types | |
Enums | |
enum | Type { TYPE__UNKNOWN = -1, TYPE__SYSTEM = 0, TYPE__PROTEIN = 1, TYPE__MOLECULE = 2, TYPE__CHAIN = 3, TYPE__FRAGMENT = 4, TYPE__RESIDUE = 5, TYPE__SECONDARY_STRUCTURE = 6, TYPE__ATOM = 7, TYPE__BOND = 8 } |
Type. More... | |
Public Member Functions | |
Constructors and Destructors | |
MolecularInformation () throw () | |
Default Constructor. | |
virtual | ~MolecularInformation () throw () |
Destructor. | |
virtual void | clear () throw () |
Explicit default initialization. | |
Accessors: inspectors and mutators | |
Type | getType () const throw () |
Return the type of the given composite. | |
String | getName () const throw () |
String | getTypeName () const throw () |
virtual void | visit (Composite &composite) |
Visit method. |
This class is used by the class MolecularControl to retrieve names and types of the displayed Composite objects.
|
Type. This types are possible.
|
|
Default Constructor. Calls clear. |
|
Destructor.
|
|
Explicit default initialization. Reset the state of this moleculareInformation to: Calls Information::clear.
|
|
Return the type of the given composite. If the given Composite is of any kind that is defined by the enumeration Type this type will be returned.
|
|
Visit method. This method tries to determine the name and the type of the Composite object. If the type of composite returned from the method getType is one of the defined type of Type than that name and type is set to the variables name_ and type_name_. If the type is TYPE__UNKOWN than the method getType is called to determine the type.
Implements Visitor< Composite >. |