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

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

#include <vtk-punstructured.h>

Inheritance diagram for VTKFile_t:

PUnstructuredGrid

Accessor and modifier functions for the PUnstructuredGrid optional element.

typedef ::xsd::cxx::tree::optional< PUnstructuredGrid_typePUnstructuredGrid_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< PUnstructuredGrid_type, char > PUnstructuredGrid_traits
 Element traits type.
 
typedef::PUnstructuredGrid_t PUnstructuredGrid_type
 Element type.
 
const PUnstructuredGrid_optionalPUnstructuredGrid () const
 Return a read-only (constant) reference to the element container. More...
 
PUnstructuredGrid_optionalPUnstructuredGrid ()
 Return a read-write reference to the element container. More...
 
void PUnstructuredGrid (const PUnstructuredGrid_type &x)
 Set the element value. More...
 
void PUnstructuredGrid (const PUnstructuredGrid_optional &x)
 Set the element value. More...
 
void PUnstructuredGrid (::std::unique_ptr< PUnstructuredGrid_type > p)
 Set the element value without copying. More...
 

UnstructuredGrid

Accessor and modifier functions for the UnstructuredGrid optional element.

typedef ::xsd::cxx::tree::optional< UnstructuredGrid_typeUnstructuredGrid_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< UnstructuredGrid_type, char > UnstructuredGrid_traits
 Element traits type.
 
typedef::UnstructuredGrid_t UnstructuredGrid_type
 Element type.
 
const UnstructuredGrid_optionalUnstructuredGrid () const
 Return a read-only (constant) reference to the element container. More...
 
UnstructuredGrid_optionalUnstructuredGrid ()
 Return a read-write reference to the element container. More...
 
void UnstructuredGrid (const UnstructuredGrid_type &x)
 Set the element value. More...
 
void UnstructuredGrid (const UnstructuredGrid_optional &x)
 Set the element value. More...
 
void UnstructuredGrid (::std::unique_ptr< UnstructuredGrid_type > p)
 Set the element value without copying. More...
 

type

Accessor and modifier functions for the type required attribute.

typedef ::xsd::cxx::tree::traits< type_type, char > type_traits
 Attribute traits type.
 
typedef::xml_schema::string 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...
 

version

Accessor and modifier functions for the version required attribute.

typedef ::xsd::cxx::tree::traits< version_type, char > version_traits
 Attribute traits type.
 
typedef::xml_schema::string version_type
 Attribute type.
 
const version_typeversion () const
 Return a read-only (constant) reference to the attribute. More...
 
static const version_typeversion_default_value ()
 Return the default value for the attribute. More...
 

byte_order

Accessor and modifier functions for the byte_order required attribute.

typedef ::xsd::cxx::tree::traits< byte_order_type, char > byte_order_traits
 Attribute traits type.
 
typedef::xml_schema::string byte_order_type
 Attribute type.
 
const byte_order_typebyte_order () const
 Return a read-only (constant) reference to the attribute. More...
 
static const byte_order_typebyte_order_default_value ()
 Return the default value for the attribute. More...
 

Constructors

 VTKFile_t (const type_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes.
 
 VTKFile_t (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 VTKFile_t (const VTKFile_t &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual VTKFile_t_clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
VTKFile_toperator= (const VTKFile_t &x)
 Copy assignment operator. More...
 
virtual ~VTKFile_t ()
 Destructor.
 

Detailed Description

Class corresponding to the VTKFile_t schema type.

Constructor & Destructor Documentation

◆ VTKFile_t() [1/2]

VTKFile_t::VTKFile_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.

◆ VTKFile_t() [2/2]

VTKFile_t::VTKFile_t ( const VTKFile_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()

VTKFile_t * VTKFile_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.

◆ byte_order()

const VTKFile_t::byte_order_type & VTKFile_t::byte_order ( ) const

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

Returns
A constant reference to the attribute.

◆ byte_order_default_value()

const VTKFile_t::byte_order_type & VTKFile_t::byte_order_default_value ( )
static

Return the default value for the attribute.

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

◆ operator=()

VTKFile_t & VTKFile_t::operator= ( const VTKFile_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.

◆ PUnstructuredGrid() [1/5]

VTKFile_t::PUnstructuredGrid_optional & VTKFile_t::PUnstructuredGrid ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.

◆ PUnstructuredGrid() [2/5]

const VTKFile_t::PUnstructuredGrid_optional & VTKFile_t::PUnstructuredGrid ( ) const

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

Returns
A constant reference to the optional container.

◆ PUnstructuredGrid() [3/5]

void VTKFile_t::PUnstructuredGrid ( ::std::unique_ptr< PUnstructuredGrid_type p)

Set the element value without copying.

Parameters
pA new value to use.

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

◆ PUnstructuredGrid() [4/5]

void VTKFile_t::PUnstructuredGrid ( const PUnstructuredGrid_optional x)

Set the element 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 element. Otherwise the element container is set the 'not present' state.

◆ PUnstructuredGrid() [5/5]

void VTKFile_t::PUnstructuredGrid ( const PUnstructuredGrid_type x)

Set the element value.

Parameters
xA new value to set.

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

◆ type() [1/4]

VTKFile_t::type_type & VTKFile_t::type ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

◆ type() [2/4]

const VTKFile_t::type_type & VTKFile_t::type ( ) const

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

Returns
A constant reference to the attribute.

◆ type() [3/4]

void VTKFile_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 VTKFile_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.

◆ UnstructuredGrid() [1/5]

VTKFile_t::UnstructuredGrid_optional & VTKFile_t::UnstructuredGrid ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.

◆ UnstructuredGrid() [2/5]

const VTKFile_t::UnstructuredGrid_optional & VTKFile_t::UnstructuredGrid ( ) const

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

Returns
A constant reference to the optional container.

◆ UnstructuredGrid() [3/5]

void VTKFile_t::UnstructuredGrid ( ::std::unique_ptr< UnstructuredGrid_type p)

Set the element value without copying.

Parameters
pA new value to use.

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

◆ UnstructuredGrid() [4/5]

void VTKFile_t::UnstructuredGrid ( const UnstructuredGrid_optional x)

Set the element 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 element. Otherwise the element container is set the 'not present' state.

◆ UnstructuredGrid() [5/5]

void VTKFile_t::UnstructuredGrid ( const UnstructuredGrid_type x)

Set the element value.

Parameters
xA new value to set.

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

◆ version()

const VTKFile_t::version_type & VTKFile_t::version ( ) const

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

Returns
A constant reference to the attribute.

◆ version_default_value()

const VTKFile_t::version_type & VTKFile_t::version_default_value ( )
static

Return the default value for the attribute.

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

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