ls1-MarDyn
ls1-MarDyn molecular dynamics code
|
Class corresponding to the CellData schema type. More...
#include <vtk-unstructured.h>
DataArray | |
Accessor and modifier functions for the DataArray sequence element. | |
typedef ::xsd::cxx::tree::sequence< DataArray_type > | DataArray_sequence |
Element sequence container type. | |
typedef DataArray_sequence::iterator | DataArray_iterator |
Element iterator type. | |
typedef DataArray_sequence::const_iterator | DataArray_const_iterator |
Element constant iterator type. | |
typedef ::xsd::cxx::tree::traits< DataArray_type, char > | DataArray_traits |
Element traits type. | |
typedef::DataArray_t | DataArray_type |
Element type. | |
const DataArray_sequence & | DataArray () const |
Return a read-only (constant) reference to the element sequence. More... | |
DataArray_sequence & | DataArray () |
Return a read-write reference to the element sequence. More... | |
void | DataArray (const DataArray_sequence &s) |
Copy elements from a given sequence. More... | |
Constructors | |
CellData () | |
Create an instance from the ultimate base and initializers for required elements and attributes. | |
CellData (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
CellData (const CellData &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual CellData * | _clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
CellData & | operator= (const CellData &x) |
Copy assignment operator. More... | |
virtual | ~CellData () |
Destructor. | |
Class corresponding to the CellData schema type.
CellData::CellData | ( | 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. |
CellData::CellData | ( | const CellData & | 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.
CellData::DataArray_sequence & CellData::DataArray | ( | ) |
Return a read-write reference to the element sequence.
const CellData::DataArray_sequence & CellData::DataArray | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
void CellData::DataArray | ( | const DataArray_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.
Copy assignment operator.
x | An instance to make a copy of. |
For polymorphic object models use the _clone
function instead.