ls1-MarDyn
ls1-MarDyn molecular dynamics code
List of all members
DataArray_t Class Reference

Class corresponding to the DataArray_t schema type. More...

#include <vtk-unstructured.h>

Inheritance diagram for DataArray_t:
DataArrayList_t

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_typetype () const
 Return a read-only (constant) reference to the attribute. More...
 
type_typetype ()
 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_typeName () const
 Return a read-only (constant) reference to the attribute. More...
 
Name_typeName ()
 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_typeNumberOfComponents () const
 Return a read-only (constant) reference to the attribute. More...
 
NumberOfComponents_typeNumberOfComponents ()
 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_typeformat () const
 Return a read-only (constant) reference to the attribute. More...
 
static const format_typeformat_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_typeoffset_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_optionaloffset () const
 Return a read-only (constant) reference to the attribute container. More...
 
offset_optionaloffset ()
 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_toperator= (const DataArray_t &x)
 Copy assignment operator. More...
 
virtual ~DataArray_t ()
 Destructor.
 

Additional Inherited Members

- Public Member Functions inherited from DataArrayList_t
 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.
 

Detailed Description

Class corresponding to the DataArray_t schema type.

Constructor & Destructor Documentation

◆ DataArray_t() [1/2]

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.

Parameters
eA DOM element to extract the data from.
fFlags to create the new instance with.
cA pointer to the object that will contain the new instance.

◆ DataArray_t() [2/2]

DataArray_t::DataArray_t ( const DataArray_t x,
::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
)

Copy constructor.

Parameters
xAn instance to make a copy of.
fFlags to create the copy with.
cA pointer to the object that will contain the copy.

For polymorphic object models use the _clone function instead.

Member Function Documentation

◆ _clone()

DataArray_t * DataArray_t::_clone ( ::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
) const
virtual

Copy the instance polymorphically.

Parameters
fFlags to create the copy with.
cA pointer to the object that will contain the copy.
Returns
A pointer to the dynamically allocated 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.

◆ format()

const DataArray_t::format_type & DataArray_t::format ( ) const

Return a read-only (constant) reference to the attribute.

Returns
A constant reference to the attribute.

◆ format_default_value()

const DataArray_t::format_type & DataArray_t::format_default_value ( )
static

Return the default value for the attribute.

Returns
A read-only (constant) reference to the attribute's default value.

◆ Name() [1/4]

DataArray_t::Name_type & DataArray_t::Name ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

◆ Name() [2/4]

const DataArray_t::Name_type & DataArray_t::Name ( ) const

Return a read-only (constant) reference to the attribute.

Returns
A constant reference to the attribute.

◆ Name() [3/4]

void DataArray_t::Name ( ::std::unique_ptr< Name_type p)

Set the attribute value without copying.

Parameters
pA new value to use.

This function will try to use the passed value directly instead of making a copy.

◆ Name() [4/4]

void DataArray_t::Name ( const Name_type x)

Set the attribute value.

Parameters
xA new value to set.

This function makes a copy of its argument and sets it as the new value of the attribute.

◆ NumberOfComponents() [1/3]

DataArray_t::NumberOfComponents_type & DataArray_t::NumberOfComponents ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

◆ NumberOfComponents() [2/3]

const DataArray_t::NumberOfComponents_type & DataArray_t::NumberOfComponents ( ) const

Return a read-only (constant) reference to the attribute.

Returns
A constant reference to the attribute.

◆ NumberOfComponents() [3/3]

void DataArray_t::NumberOfComponents ( const NumberOfComponents_type x)

Set the attribute value.

Parameters
xA new value to set.

This function makes a copy of its argument and sets it as the new value of the attribute.

◆ offset() [1/4]

DataArray_t::offset_optional & DataArray_t::offset ( )

Return a read-write reference to the attribute container.

Returns
A reference to the optional container.

◆ offset() [2/4]

const DataArray_t::offset_optional & DataArray_t::offset ( ) const

Return a read-only (constant) reference to the attribute container.

Returns
A constant reference to the optional container.

◆ offset() [3/4]

void DataArray_t::offset ( const offset_optional x)

Set the attribute value.

Parameters
xAn 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.

◆ offset() [4/4]

void DataArray_t::offset ( const offset_type x)

Set the attribute value.

Parameters
xA new value to set.

This function makes a copy of its argument and sets it as the new value of the attribute.

◆ operator=()

DataArray_t & DataArray_t::operator= ( const DataArray_t x)

Copy assignment operator.

Parameters
xAn instance to make a copy of.
Returns
A reference to itself.

For polymorphic object models use the _clone function instead.

◆ type() [1/4]

DataArray_t::type_type & DataArray_t::type ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

◆ type() [2/4]

const DataArray_t::type_type & DataArray_t::type ( ) const

Return a read-only (constant) reference to the attribute.

Returns
A constant reference to the attribute.

◆ type() [3/4]

void DataArray_t::type ( ::std::unique_ptr< type_type p)

Set the attribute value without copying.

Parameters
pA new value to use.

This function will try to use the passed value directly instead of making a copy.

◆ type() [4/4]

void DataArray_t::type ( const type_type x)

Set the attribute value.

Parameters
xA new value to set.

This function makes a copy of its argument and sets it as the new value of the attribute.


The documentation for this class was generated from the following files: