ls1-MarDyn
ls1-MarDyn molecular dynamics code
|
Class corresponding to the PUnstructuredGrid_t schema type. More...
#include <vtk-punstructured.h>
PPointData | |
Accessor and modifier functions for the PPointData required element. | |
typedef ::xsd::cxx::tree::traits< PPointData_type, char > | PPointData_traits |
Element traits type. | |
typedef::PPointData | PPointData_type |
Element type. | |
const PPointData_type & | PPointData () const |
Return a read-only (constant) reference to the element. More... | |
PPointData_type & | PPointData () |
Return a read-write reference to the element. More... | |
void | PPointData (const PPointData_type &x) |
Set the element value. More... | |
void | PPointData (::std::unique_ptr< PPointData_type > p) |
Set the element value without copying. More... | |
PCellData | |
Accessor and modifier functions for the PCellData required element. | |
typedef ::xsd::cxx::tree::traits< PCellData_type, char > | PCellData_traits |
Element traits type. | |
typedef::PCellData | PCellData_type |
Element type. | |
const PCellData_type & | PCellData () const |
Return a read-only (constant) reference to the element. More... | |
PCellData_type & | PCellData () |
Return a read-write reference to the element. More... | |
void | PCellData (const PCellData_type &x) |
Set the element value. More... | |
void | PCellData (::std::unique_ptr< PCellData_type > p) |
Set the element value without copying. More... | |
PPoints | |
Accessor and modifier functions for the PPoints required element. | |
typedef ::xsd::cxx::tree::traits< PPoints_type, char > | PPoints_traits |
Element traits type. | |
typedef::PPoints | PPoints_type |
Element type. | |
const PPoints_type & | PPoints () const |
Return a read-only (constant) reference to the element. More... | |
PPoints_type & | PPoints () |
Return a read-write reference to the element. More... | |
void | PPoints (const PPoints_type &x) |
Set the element value. More... | |
void | PPoints (::std::unique_ptr< PPoints_type > p) |
Set the element value without copying. More... | |
PCells | |
Accessor and modifier functions for the PCells required element. | |
typedef ::xsd::cxx::tree::traits< PCells_type, char > | PCells_traits |
Element traits type. | |
typedef::PCells | PCells_type |
Element type. | |
const PCells_type & | PCells () const |
Return a read-only (constant) reference to the element. More... | |
PCells_type & | PCells () |
Return a read-write reference to the element. More... | |
void | PCells (const PCells_type &x) |
Set the element value. More... | |
void | PCells (::std::unique_ptr< PCells_type > p) |
Set the element value without copying. More... | |
Piece | |
Accessor and modifier functions for the Piece sequence element. | |
typedef ::xsd::cxx::tree::sequence< Piece_type > | Piece_sequence |
Element sequence container type. | |
typedef Piece_sequence::iterator | Piece_iterator |
Element iterator type. | |
typedef Piece_sequence::const_iterator | Piece_const_iterator |
Element constant iterator type. | |
typedef ::xsd::cxx::tree::traits< Piece_type, char > | Piece_traits |
Element traits type. | |
typedef::Piece | Piece_type |
Element type. | |
const Piece_sequence & | Piece () const |
Return a read-only (constant) reference to the element sequence. More... | |
Piece_sequence & | Piece () |
Return a read-write reference to the element sequence. More... | |
void | Piece (const Piece_sequence &s) |
Copy elements from a given sequence. More... | |
GhostLevel | |
Accessor and modifier functions for the GhostLevel required attribute. | |
typedef ::xsd::cxx::tree::traits< GhostLevel_type, char > | GhostLevel_traits |
Attribute traits type. | |
typedef::xml_schema::integer | GhostLevel_type |
Attribute type. | |
const GhostLevel_type & | GhostLevel () const |
Return a read-only (constant) reference to the attribute. More... | |
static GhostLevel_type | GhostLevel_default_value () |
Return the default value for the attribute. More... | |
Constructors | |
PUnstructuredGrid_t (const PPointData_type &, const PCellData_type &, const PPoints_type &, const PCells_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. | |
PUnstructuredGrid_t (::std::unique_ptr< PPointData_type >, ::std::unique_ptr< PCellData_type >, ::std::unique_ptr< PPoints_type >, ::std::unique_ptr< PCells_type >) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
PUnstructuredGrid_t (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
PUnstructuredGrid_t (const PUnstructuredGrid_t &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual PUnstructuredGrid_t * | _clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
PUnstructuredGrid_t & | operator= (const PUnstructuredGrid_t &x) |
Copy assignment operator. More... | |
virtual | ~PUnstructuredGrid_t () |
Destructor. | |
Class corresponding to the PUnstructuredGrid_t schema type.
PUnstructuredGrid_t::PUnstructuredGrid_t | ( | ::std::unique_ptr< PPointData_type > | PPointData, |
::std::unique_ptr< PCellData_type > | PCellData, | ||
::std::unique_ptr< PPoints_type > | PPoints, | ||
::std::unique_ptr< PCells_type > | PCells | ||
) |
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.
PUnstructuredGrid_t::PUnstructuredGrid_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. |
PUnstructuredGrid_t::PUnstructuredGrid_t | ( | const PUnstructuredGrid_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.
const PUnstructuredGrid_t::GhostLevel_type & PUnstructuredGrid_t::GhostLevel | ( | ) | const |
Return a read-only (constant) reference to the attribute.
|
static |
Return the default value for the attribute.
PUnstructuredGrid_t & PUnstructuredGrid_t::operator= | ( | const PUnstructuredGrid_t & | x | ) |
Copy assignment operator.
x | An instance to make a copy of. |
For polymorphic object models use the _clone
function instead.
PUnstructuredGrid_t::PCellData_type & PUnstructuredGrid_t::PCellData | ( | ) |
Return a read-write reference to the element.
const PUnstructuredGrid_t::PCellData_type & PUnstructuredGrid_t::PCellData | ( | ) | const |
Return a read-only (constant) reference to the element.
void PUnstructuredGrid_t::PCellData | ( | ::std::unique_ptr< PCellData_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 PUnstructuredGrid_t::PCellData | ( | const PCellData_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.
PUnstructuredGrid_t::PCells_type & PUnstructuredGrid_t::PCells | ( | ) |
Return a read-write reference to the element.
const PUnstructuredGrid_t::PCells_type & PUnstructuredGrid_t::PCells | ( | ) | const |
Return a read-only (constant) reference to the element.
void PUnstructuredGrid_t::PCells | ( | ::std::unique_ptr< PCells_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 PUnstructuredGrid_t::PCells | ( | const PCells_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.
PUnstructuredGrid_t::Piece_sequence & PUnstructuredGrid_t::Piece | ( | ) |
Return a read-write reference to the element sequence.
const PUnstructuredGrid_t::Piece_sequence & PUnstructuredGrid_t::Piece | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
void PUnstructuredGrid_t::Piece | ( | const Piece_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.
PUnstructuredGrid_t::PPointData_type & PUnstructuredGrid_t::PPointData | ( | ) |
Return a read-write reference to the element.
const PUnstructuredGrid_t::PPointData_type & PUnstructuredGrid_t::PPointData | ( | ) | const |
Return a read-only (constant) reference to the element.
void PUnstructuredGrid_t::PPointData | ( | ::std::unique_ptr< PPointData_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 PUnstructuredGrid_t::PPointData | ( | const PPointData_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.
PUnstructuredGrid_t::PPoints_type & PUnstructuredGrid_t::PPoints | ( | ) |
Return a read-write reference to the element.
const PUnstructuredGrid_t::PPoints_type & PUnstructuredGrid_t::PPoints | ( | ) | const |
Return a read-only (constant) reference to the element.
void PUnstructuredGrid_t::PPoints | ( | ::std::unique_ptr< PPoints_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 PUnstructuredGrid_t::PPoints | ( | const PPoints_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.