|
ls1-MarDyn
ls1-MarDyn molecular dynamics code
|
Class corresponding to the UnstructuredGrid_t schema type. More...
#include <vtk-unstructured.h>
Piece | |
Accessor and modifier functions for the Piece required element. | |
| typedef ::xsd::cxx::tree::traits< Piece_type, char > | Piece_traits |
| Element traits type. | |
| typedef::PieceUnstructuredGrid_t | Piece_type |
| Element type. | |
| const Piece_type & | Piece () const |
| Return a read-only (constant) reference to the element. More... | |
| Piece_type & | Piece () |
| Return a read-write reference to the element. More... | |
| void | Piece (const Piece_type &x) |
| Set the element value. More... | |
| void | Piece (::std::unique_ptr< Piece_type > p) |
| Set the element value without copying. More... | |
Constructors | |
| UnstructuredGrid_t (const Piece_type &) | |
| Create an instance from the ultimate base and initializers for required elements and attributes. | |
| UnstructuredGrid_t (::std::unique_ptr< Piece_type >) | |
| Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
| UnstructuredGrid_t (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
| Create an instance from a DOM element. More... | |
| UnstructuredGrid_t (const UnstructuredGrid_t &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
| Copy constructor. More... | |
| virtual UnstructuredGrid_t * | _clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const |
| Copy the instance polymorphically. More... | |
| UnstructuredGrid_t & | operator= (const UnstructuredGrid_t &x) |
| Copy assignment operator. More... | |
| virtual | ~UnstructuredGrid_t () |
| Destructor. | |
Class corresponding to the UnstructuredGrid_t schema type.
| UnstructuredGrid_t::UnstructuredGrid_t | ( | ::std::unique_ptr< Piece_type > | Piece | ) |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version).
This constructor will try to use the passed values directly instead of making copies.
| UnstructuredGrid_t::UnstructuredGrid_t | ( | 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. |
| UnstructuredGrid_t::UnstructuredGrid_t | ( | const UnstructuredGrid_t & | 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.
| UnstructuredGrid_t & UnstructuredGrid_t::operator= | ( | const UnstructuredGrid_t & | x | ) |
Copy assignment operator.
| x | An instance to make a copy of. |
For polymorphic object models use the _clone function instead.
| UnstructuredGrid_t::Piece_type & UnstructuredGrid_t::Piece | ( | ) |
Return a read-write reference to the element.
| const UnstructuredGrid_t::Piece_type & UnstructuredGrid_t::Piece | ( | ) | const |
Return a read-only (constant) reference to the element.
| void UnstructuredGrid_t::Piece | ( | ::std::unique_ptr< Piece_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 UnstructuredGrid_t::Piece | ( | const Piece_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.