|
ls1-MarDyn
ls1-MarDyn molecular dynamics code
|
Class corresponding to the Piece schema type. More...
#include <vtk-punstructured.h>
Source | |
Accessor and modifier functions for the Source required attribute. | |
| typedef ::xsd::cxx::tree::traits< Source_type, char > | Source_traits |
| Attribute traits type. | |
| typedef::xml_schema::string | Source_type |
| Attribute type. | |
| const Source_type & | Source () const |
| Return a read-only (constant) reference to the attribute. More... | |
| Source_type & | Source () |
| Return a read-write reference to the attribute. More... | |
| void | Source (const Source_type &x) |
| Set the attribute value. More... | |
| void | Source (::std::unique_ptr< Source_type > p) |
| Set the attribute value without copying. More... | |
Constructors | |
| Piece (const Source_type &) | |
| Create an instance from the ultimate base and initializers for required elements and attributes. | |
| Piece (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
| Create an instance from a DOM element. More... | |
| Piece (const Piece &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
| Copy constructor. More... | |
| virtual Piece * | _clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const |
| Copy the instance polymorphically. More... | |
| Piece & | operator= (const Piece &x) |
| Copy assignment operator. More... | |
| virtual | ~Piece () |
| Destructor. | |
Class corresponding to the Piece schema type.
| Piece::Piece | ( | 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. |
| Piece::Piece | ( | const Piece & | 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 |
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.
| Piece::Source_type & Piece::Source | ( | ) |
Return a read-write reference to the attribute.
| const Piece::Source_type & Piece::Source | ( | ) | const |
Return a read-only (constant) reference to the attribute.
| void Piece::Source | ( | ::std::unique_ptr< Source_type > | p | ) |
Set the attribute 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 Piece::Source | ( | const Source_type & | x | ) |
Set the attribute value.
| x | A new value to set. |
This function makes a copy of its argument and sets it as the new value of the attribute.