|
| AtomProperties (PhysicalModel *p) |
| Constructors (do not change) More...
|
|
| AtomProperties (PhysicalModel *p, xmlNodePtr node) |
|
| AtomProperties (PhysicalModel *p, const unsigned int ind) |
|
| AtomProperties (PhysicalModel *p, const double pos[3]) |
|
| AtomProperties (PhysicalModel *p, const unsigned int ind, const double pos[3]) |
|
int | getMyCustomProperty1 () const |
|
std::string | getMyCustomProperty2 () const |
|
void | setMyCustomProperty1 (const int) |
| Set and get method for all the properties. More...
|
|
void | setMyCustomProperty2 (const std::string) |
|
void | xmlPrint (std::ostream &) |
| Print the properties in xml. More...
|
|
virtual | ~AtomProperties () |
|
| BasicAtomProperties (PhysicalModel *myPM) |
| Default constructor : set the position to the origin, and generate an unique index. More...
|
|
| BasicAtomProperties (PhysicalModel *myPM, xmlNodePtr n) |
| constructor from xml node: try to read and get the properties from xml More...
|
|
| BasicAtomProperties (PhysicalModel *myPM, const unsigned int ind) |
| set the position to the origin More...
|
|
| BasicAtomProperties (PhysicalModel *myPM, const double pos[3]) |
| generate an unique index. More...
|
|
| BasicAtomProperties (PhysicalModel *myPM, const unsigned int ind, const double pos[3]) |
| everything is given here More...
|
|
void | getPosition (double pos[3]) const |
| get the position of the atom (array of 3 doubles) More...
|
|
void | setPosition (const double[3]) |
| set the position of the atom More...
|
|
void | setPosition (const double, const double, const double) |
| set the position of the atom More...
|
|
void | setPositionPointer (double *ptr, bool update=true) |
| change the position pointer. More...
|
|
virtual | ~BasicAtomProperties () |
| the destructor... More...
|
|
unsigned int | getIndex () const |
| return the unique index in the global structure More...
|
|
GeometricType | getType () const |
| Return the type of force. More...
|
|
void | setIndex (const unsigned int) |
| set the index (BECAREFUL: it MUST be unique !!!) More...
|
|
void | setType (const GeometricType t) |
| Set the force type. More...
|
|
| StructureProperties (PhysicalModel *, const GeometricType) |
| the only default constructor : type must be set More...
|
|
void | xmlPrint (std::ostream &) const |
| print to an output stream in "pseaudo" XML format. More...
|
|
virtual | ~StructureProperties () |
|
std::string | getName () const |
| get the name (be careful, this method DOES NOT return a copy, so you got the direct ptr to the name!!!) More...
|
|
PhysicalModel * | getPhysicalModel () const |
| get the physical model More...
|
|
| Properties (const std::string n="") |
| A nice simple constructor, with a given name. More...
|
|
| Properties (PhysicalModel *, const std::string n="") |
| Another nice constructor, with the PM and a name. More...
|
|
void | setName (std::string) |
| set the name (use the string = operator) More...
|
|
void | setPhysicalModel (PhysicalModel *) |
| set the physical model More...
|
|
virtual | ~Properties () |
| The default destructor. More...
|
|
void | domToFields (xmlNodePtr node) |
| convert the xml node parameters to data fields More...
|
|
unsigned int | numberOfFields () const |
| get the number of extra fields found in the PML More...
|
|
bool | isAField (std::string attName) const |
| check if the field exist in the XML document, return false if it does not More...
|
|
std::string | getField (unsigned int) const |
| get the name of field of given index More...
|
|
double | getDouble (std::string attName) |
| field accessor: get the field attName as a double value, if field does not exist, 0.0 is return More...
|
|
int | getInt (std::string attName) const |
| field accessor: get the field attName as an int value, if field does not exist, 0 is return More...
|
|
bool | getBool (std::string attName) const |
| field accessor: get the field attName as a bool value, if field does not exist, false is return More...
|
|
std::string | getString (std::string attName) const |
| field accessor: get the field attName as a string value, if field does not exist, empty string is return More...
|
|
void | get (std::string attName, std::string &attVal) const |
| field accessor: get the field attName as a string value in attVal, if field does not exist, empty string is return More...
|
|
void | set (std::string attName, double val) |
| field modificator: set field attName using a double value More...
|
|
void | set (std::string attName, int val) |
| field modificator: set field attName using an int value More...
|
|
void | set (std::string attName, bool val) |
| field modificator: set field attName using a bool value More...
|
|
void | set (std::string attName, std::string val) |
| field modificator: set field attName using a string value More...
|
|
This is an automatically generated class for custom Atom properties.
It was generated by the customPhysicalProperties
stylesheet from the following xml document:
This class inherits BasicAtomProperties. Here is all the specific attributes of Atom properties (custom physical properties)