ls1-MarDyn
ls1-MarDyn molecular dynamics code
|
Class corresponding to the DataArray_t schema type. More...
#include <vtk-unstructured.h>
type | |
Accessor and modifier functions for the type required attribute. | |
typedef ::xsd::cxx::tree::traits< type_type, char > | type_traits |
Attribute traits type. | |
typedef::type | type_type |
Attribute type. | |
const type_type & | type () const |
Return a read-only (constant) reference to the attribute. More... | |
type_type & | type () |
Return a read-write reference to the attribute. More... | |
void | type (const type_type &x) |
Set the attribute value. More... | |
void | type (::std::unique_ptr< type_type > p) |
Set the attribute value without copying. More... | |
Name | |
Accessor and modifier functions for the Name required attribute. | |
typedef ::xsd::cxx::tree::traits< Name_type, char > | Name_traits |
Attribute traits type. | |
typedef::xml_schema::string | Name_type |
Attribute type. | |
const Name_type & | Name () const |
Return a read-only (constant) reference to the attribute. More... | |
Name_type & | Name () |
Return a read-write reference to the attribute. More... | |
void | Name (const Name_type &x) |
Set the attribute value. More... | |
void | Name (::std::unique_ptr< Name_type > p) |
Set the attribute value without copying. More... | |
NumberOfComponents | |
Accessor and modifier functions for the NumberOfComponents required attribute. | |
typedef ::xsd::cxx::tree::traits< NumberOfComponents_type, char > | NumberOfComponents_traits |
Attribute traits type. | |
typedef::xml_schema::integer | NumberOfComponents_type |
Attribute type. | |
const NumberOfComponents_type & | NumberOfComponents () const |
Return a read-only (constant) reference to the attribute. More... | |
NumberOfComponents_type & | NumberOfComponents () |
Return a read-write reference to the attribute. More... | |
void | NumberOfComponents (const NumberOfComponents_type &x) |
Set the attribute value. More... | |
format | |
Accessor and modifier functions for the format optional attribute with a default value. | |
typedef ::xsd::cxx::tree::traits< format_type, char > | format_traits |
Attribute traits type. | |
typedef::xml_schema::string | format_type |
Attribute type. | |
const format_type & | format () const |
Return a read-only (constant) reference to the attribute. More... | |
static const format_type & | format_default_value () |
Return the default value for the attribute. More... | |
offset | |
Accessor and modifier functions for the offset optional attribute. | |
typedef ::xsd::cxx::tree::optional< offset_type > | offset_optional |
Attribute optional container type. | |
typedef ::xsd::cxx::tree::traits< offset_type, char > | offset_traits |
Attribute traits type. | |
typedef::xml_schema::integer | offset_type |
Attribute type. | |
const offset_optional & | offset () const |
Return a read-only (constant) reference to the attribute container. More... | |
offset_optional & | offset () |
Return a read-write reference to the attribute container. More... | |
void | offset (const offset_type &x) |
Set the attribute value. More... | |
void | offset (const offset_optional &x) |
Set the attribute value. More... | |
Constructors | |
DataArray_t (const type_type &, const Name_type &, const NumberOfComponents_type &) | |
Create an instance from initializers for required elements and attributes. | |
DataArray_t (const ::DataArrayList_t &, const type_type &, const Name_type &, const NumberOfComponents_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. | |
DataArray_t (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
DataArray_t (const DataArray_t &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual DataArray_t * | _clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
DataArray_t & | operator= (const DataArray_t &x) |
Copy assignment operator. More... | |
virtual | ~DataArray_t () |
Destructor. | |
Additional Inherited Members | |
![]() | |
DataArrayList_t () | |
Default constructor. More... | |
DataArrayList_t (size_type n, const ::xml_schema::decimal &x) | |
Create a list with copies of the specified element. More... | |
template<typename I > | |
DataArrayList_t (const I &begin, const I &end) | |
Create a list from an iterator range. More... | |
DataArrayList_t (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
DataArrayList_t (const ::xercesc::DOMAttr &a, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Create an instance from a DOM attribute. More... | |
DataArrayList_t (const ::std::string &s, const ::xercesc::DOMElement *e, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Create an instance from a string fragment. More... | |
DataArrayList_t (const DataArrayList_t &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual | ~DataArrayList_t () |
Destructor. | |
Class corresponding to the DataArray_t schema type.
DataArray_t::DataArray_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. |
DataArray_t::DataArray_t | ( | const DataArray_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.
Reimplemented from DataArrayList_t.
const DataArray_t::format_type & DataArray_t::format | ( | ) | const |
Return a read-only (constant) reference to the attribute.
|
static |
Return the default value for the attribute.
DataArray_t::Name_type & DataArray_t::Name | ( | ) |
Return a read-write reference to the attribute.
const DataArray_t::Name_type & DataArray_t::Name | ( | ) | const |
Return a read-only (constant) reference to the attribute.
void DataArray_t::Name | ( | ::std::unique_ptr< Name_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 DataArray_t::Name | ( | const Name_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.
DataArray_t::NumberOfComponents_type & DataArray_t::NumberOfComponents | ( | ) |
Return a read-write reference to the attribute.
const DataArray_t::NumberOfComponents_type & DataArray_t::NumberOfComponents | ( | ) | const |
Return a read-only (constant) reference to the attribute.
void DataArray_t::NumberOfComponents | ( | const NumberOfComponents_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.
DataArray_t::offset_optional & DataArray_t::offset | ( | ) |
Return a read-write reference to the attribute container.
const DataArray_t::offset_optional & DataArray_t::offset | ( | ) | const |
Return a read-only (constant) reference to the attribute container.
void DataArray_t::offset | ( | const offset_optional & | x | ) |
Set the attribute value.
x | An optional container with the new value to set. |
If the value is present in x then this function makes a copy of this value and sets it as the new value of the attribute. Otherwise the attribute container is set the 'not present' state.
void DataArray_t::offset | ( | const offset_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.
DataArray_t & DataArray_t::operator= | ( | const DataArray_t & | x | ) |
Copy assignment operator.
x | An instance to make a copy of. |
For polymorphic object models use the _clone
function instead.
DataArray_t::type_type & DataArray_t::type | ( | ) |
Return a read-write reference to the attribute.
const DataArray_t::type_type & DataArray_t::type | ( | ) | const |
Return a read-only (constant) reference to the attribute.
void DataArray_t::type | ( | ::std::unique_ptr< type_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 DataArray_t::type | ( | const type_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.