|
Molecular Dynamics
v0.4
Project for the Practical hosted by the Scientific Computing Chair
|
Class corresponding to the Spheres schema type. More...
#include <ConfigurationFile.h>


Size | |
Accessor and modifier functions for the Size required element. | |
| typedef ::Size | Size_type |
| Element type. More... | |
| typedef ::xsd::cxx::tree::traits< Size_type, char > | Size_traits |
| Element traits type. More... | |
| const Size_type & | Size () const |
| Return a read-only (constant) reference to the element. More... | |
| Size_type & | Size () |
| Return a read-write reference to the element. More... | |
| void | Size (const Size_type &x) |
| Set the element value. More... | |
| void | Size (::std::unique_ptr< Size_type > p) |
| Set the element value without copying. More... | |
Sphere | |
Accessor and modifier functions for the Sphere sequence element. | |
| typedef ::Sphere | Sphere_type |
| Element type. More... | |
| typedef ::xsd::cxx::tree::sequence< Sphere_type > | Sphere_sequence |
| Element sequence container type. More... | |
| typedef Sphere_sequence::iterator | Sphere_iterator |
| Element iterator type. More... | |
| typedef Sphere_sequence::const_iterator | Sphere_const_iterator |
| Element constant iterator type. More... | |
| typedef ::xsd::cxx::tree::traits< Sphere_type, char > | Sphere_traits |
| Element traits type. More... | |
| const Sphere_sequence & | Sphere () const |
| Return a read-only (constant) reference to the element sequence. More... | |
| Sphere_sequence & | Sphere () |
| Return a read-write reference to the element sequence. More... | |
| void | Sphere (const Sphere_sequence &s) |
| Copy elements from a given sequence. More... | |
Constructors | |
| Spheres (const Size_type &) | |
| Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
| Spheres (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
| Create an instance from a DOM element. More... | |
| Spheres (const Spheres &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
| Copy constructor. More... | |
| virtual Spheres * | _clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const |
| Copy the instance polymorphically. More... | |
| Spheres & | operator= (const Spheres &x) |
| Copy assignment operator. More... | |
| virtual | ~Spheres () |
| Destructor. More... | |
Class corresponding to the Spheres schema type.
| typedef ::xsd::cxx::tree::traits< Size_type, char > Spheres::Size_traits |
Element traits type.
| typedef ::Size Spheres::Size_type |
Element type.
| typedef Sphere_sequence::const_iterator Spheres::Sphere_const_iterator |
Element constant iterator type.
| typedef Sphere_sequence::iterator Spheres::Sphere_iterator |
Element iterator type.
| typedef ::xsd::cxx::tree::sequence< Sphere_type > Spheres::Sphere_sequence |
Element sequence container type.
| typedef ::xsd::cxx::tree::traits< Sphere_type, char > Spheres::Sphere_traits |
Element traits type.
| typedef ::Sphere Spheres::Sphere_type |
Element type.
| Spheres::Spheres | ( | const Size_type & | Size | ) |
Create an instance from the ultimate base and initializers for required elements and attributes.
| Spheres::Spheres | ( | const ::xercesc::DOMElement & | e, |
| ::xml_schema::flags | f = 0, |
||
| ::xml_schema::container * | c = 0 |
||
| ) |
Create an instance from a DOM element.
| e | A DOM element to extract the data from. |
| f | Flags to create the new instance with. |
| c | A pointer to the object that will contain the new instance. |
| Spheres::Spheres | ( | const Spheres & | x, |
| ::xml_schema::flags | f = 0, |
||
| ::xml_schema::container * | c = 0 |
||
| ) |
Copy constructor.
| x | An instance to make a copy of. |
| f | Flags to create the copy with. |
| c | A pointer to the object that will contain the copy. |
For polymorphic object models use the _clone function instead.
|
virtual |
Destructor.
|
virtual |
Copy the instance polymorphically.
| f | Flags to create the copy with. |
| c | A pointer to the object that will contain the copy. |
This function ensures that the dynamic type of the instance is used for copying and should be used for polymorphic object models instead of the copy constructor.
Copy assignment operator.
| x | An instance to make a copy of. |
For polymorphic object models use the _clone function instead.
| Spheres::Size_type & Spheres::Size | ( | ) |
Return a read-write reference to the element.
| const Spheres::Size_type & Spheres::Size | ( | ) | const |
Return a read-only (constant) reference to the element.

| void Spheres::Size | ( | ::std::unique_ptr< Size_type > | p | ) |
Set the element value without copying.
| p | A new value to use. |
This function will try to use the passed value directly instead of making a copy.
| void Spheres::Size | ( | const Size_type & | x | ) |
Set the element value.
| x | A new value to set. |
This function makes a copy of its argument and sets it as the new value of the element.
| Spheres::Sphere_sequence & Spheres::Sphere | ( | ) |
Return a read-write reference to the element sequence.
| const Spheres::Sphere_sequence & Spheres::Sphere | ( | ) | const |
Return a read-only (constant) reference to the element sequence.

| void Spheres::Sphere | ( | const Sphere_sequence & | s | ) |
Copy elements from a given sequence.
| s | A sequence to copy elements from. |
For each element in s this function makes a copy and adds it to the sequence. Note that this operation completely changes the sequence and all old elements will be lost.