#include <dcField.h>
Inheritance diagram for DCField:
Public Member Functions | |
int | get_number () const |
Returns a unique index number associated with this field. | |
const string & | get_name () const |
Returns the name of this field. | |
virtual DCAtomicField * | as_atomic_field () |
Returns the same field pointer converted to an atomic field pointer, if this is in fact an atomic field; otherwise, returns NULL. | |
virtual DCMolecularField * | as_molecular_field () |
Returns the same field pointer converted to a molecular field pointer, if this is in fact a molecular field; otherwise, returns NULL. | |
virtual | ~DCField () |
virtual void | write (ostream &out, int indent_level=0) const=0 |
virtual void | generate_hash (HashGenerator &hash) const |
Accumulates the properties of this field into the hash. | |
Public Attributes | |
int | _number |
string | _name |
Definition at line 40 of file dcField.h.
|
Definition at line 97 of file dcField.cxx. |
|
Returns the same field pointer converted to an atomic field pointer, if this is in fact an atomic field; otherwise, returns NULL.
Reimplemented in DCAtomicField. Definition at line 68 of file dcField.cxx. |
|
Returns the same field pointer converted to a molecular field pointer, if this is in fact a molecular field; otherwise, returns NULL.
Reimplemented in DCMolecularField. Definition at line 85 of file dcField.cxx. |
|
Accumulates the properties of this field into the hash.
Reimplemented in DCAtomicField, and DCMolecularField. Definition at line 111 of file dcField.cxx. Referenced by DCMolecularField::write(). |
|
Returns the name of this field.
Definition at line 51 of file dcField.cxx. References NULL. |
|
Returns a unique index number associated with this field. This is defined implicitly when the .dc file(s) are read. Definition at line 38 of file dcField.cxx. References _name. |
|
Implemented in DCAtomicField, and DCMolecularField. |
|
Definition at line 55 of file dcField.h. Referenced by DCMolecularField::get_atomic(), and get_number(). |
|
|