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

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

#include <vtk-unstructured.h>

Inheritance diagram for PieceUnstructuredGrid_t:

PointData

Accessor and modifier functions for the PointData required element.

typedef ::xsd::cxx::tree::traits< PointData_type, char > PointData_traits
 Element traits type.
 
typedef::PointData PointData_type
 Element type.
 
const PointData_typePointData () const
 Return a read-only (constant) reference to the element. More...
 
PointData_typePointData ()
 Return a read-write reference to the element. More...
 
void PointData (const PointData_type &x)
 Set the element value. More...
 
void PointData (::std::unique_ptr< PointData_type > p)
 Set the element value without copying. More...
 

CellData

Accessor and modifier functions for the CellData required element.

typedef ::xsd::cxx::tree::traits< CellData_type, char > CellData_traits
 Element traits type.
 
typedef::CellData CellData_type
 Element type.
 
const CellData_typeCellData () const
 Return a read-only (constant) reference to the element. More...
 
CellData_typeCellData ()
 Return a read-write reference to the element. More...
 
void CellData (const CellData_type &x)
 Set the element value. More...
 
void CellData (::std::unique_ptr< CellData_type > p)
 Set the element value without copying. More...
 

Points

Accessor and modifier functions for the Points required element.

typedef ::xsd::cxx::tree::traits< Points_type, char > Points_traits
 Element traits type.
 
typedef::Points Points_type
 Element type.
 
const Points_typePoints () const
 Return a read-only (constant) reference to the element. More...
 
Points_typePoints ()
 Return a read-write reference to the element. More...
 
void Points (const Points_type &x)
 Set the element value. More...
 
void Points (::std::unique_ptr< Points_type > p)
 Set the element value without copying. More...
 

Cells

Accessor and modifier functions for the Cells required element.

typedef ::xsd::cxx::tree::traits< Cells_type, char > Cells_traits
 Element traits type.
 
typedef::Cells Cells_type
 Element type.
 
const Cells_typeCells () const
 Return a read-only (constant) reference to the element. More...
 
Cells_typeCells ()
 Return a read-write reference to the element. More...
 
void Cells (const Cells_type &x)
 Set the element value. More...
 
void Cells (::std::unique_ptr< Cells_type > p)
 Set the element value without copying. More...
 

NumberOfPoints

Accessor and modifier functions for the NumberOfPoints required attribute.

typedef ::xsd::cxx::tree::traits< NumberOfPoints_type, char > NumberOfPoints_traits
 Attribute traits type.
 
typedef::xml_schema::integer NumberOfPoints_type
 Attribute type.
 
const NumberOfPoints_typeNumberOfPoints () const
 Return a read-only (constant) reference to the attribute. More...
 
NumberOfPoints_typeNumberOfPoints ()
 Return a read-write reference to the attribute. More...
 
void NumberOfPoints (const NumberOfPoints_type &x)
 Set the attribute value. More...
 

NumberOfCells

Accessor and modifier functions for the NumberOfCells required attribute.

typedef ::xsd::cxx::tree::traits< NumberOfCells_type, char > NumberOfCells_traits
 Attribute traits type.
 
typedef::xml_schema::integer NumberOfCells_type
 Attribute type.
 
const NumberOfCells_typeNumberOfCells () const
 Return a read-only (constant) reference to the attribute. More...
 
NumberOfCells_typeNumberOfCells ()
 Return a read-write reference to the attribute. More...
 
void NumberOfCells (const NumberOfCells_type &x)
 Set the attribute value. More...
 

Constructors

 PieceUnstructuredGrid_t (const PointData_type &, const CellData_type &, const Points_type &, const Cells_type &, const NumberOfPoints_type &, const NumberOfCells_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes.
 
 PieceUnstructuredGrid_t (::std::unique_ptr< PointData_type >, ::std::unique_ptr< CellData_type >, ::std::unique_ptr< Points_type >, ::std::unique_ptr< Cells_type >, const NumberOfPoints_type &, const NumberOfCells_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More...
 
 PieceUnstructuredGrid_t (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 PieceUnstructuredGrid_t (const PieceUnstructuredGrid_t &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual PieceUnstructuredGrid_t_clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
PieceUnstructuredGrid_toperator= (const PieceUnstructuredGrid_t &x)
 Copy assignment operator. More...
 
virtual ~PieceUnstructuredGrid_t ()
 Destructor.
 

Detailed Description

Class corresponding to the PieceUnstructuredGrid_t schema type.

Constructor & Destructor Documentation

◆ PieceUnstructuredGrid_t() [1/3]

PieceUnstructuredGrid_t::PieceUnstructuredGrid_t ( ::std::unique_ptr< PointData_type PointData,
::std::unique_ptr< CellData_type CellData,
::std::unique_ptr< Points_type Points,
::std::unique_ptr< Cells_type Cells,
const NumberOfPoints_type NumberOfPoints,
const NumberOfCells_type NumberOfCells 
)

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.

◆ PieceUnstructuredGrid_t() [2/3]

PieceUnstructuredGrid_t::PieceUnstructuredGrid_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.

◆ PieceUnstructuredGrid_t() [3/3]

PieceUnstructuredGrid_t::PieceUnstructuredGrid_t ( const PieceUnstructuredGrid_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()

PieceUnstructuredGrid_t * PieceUnstructuredGrid_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.

◆ CellData() [1/4]

PieceUnstructuredGrid_t::CellData_type & PieceUnstructuredGrid_t::CellData ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ CellData() [2/4]

const PieceUnstructuredGrid_t::CellData_type & PieceUnstructuredGrid_t::CellData ( ) const

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

Returns
A constant reference to the element.

◆ CellData() [3/4]

void PieceUnstructuredGrid_t::CellData ( ::std::unique_ptr< CellData_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.

◆ CellData() [4/4]

void PieceUnstructuredGrid_t::CellData ( const CellData_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.

◆ Cells() [1/4]

PieceUnstructuredGrid_t::Cells_type & PieceUnstructuredGrid_t::Cells ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ Cells() [2/4]

const PieceUnstructuredGrid_t::Cells_type & PieceUnstructuredGrid_t::Cells ( ) const

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

Returns
A constant reference to the element.

◆ Cells() [3/4]

void PieceUnstructuredGrid_t::Cells ( ::std::unique_ptr< Cells_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.

◆ Cells() [4/4]

void PieceUnstructuredGrid_t::Cells ( const Cells_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.

◆ NumberOfCells() [1/3]

PieceUnstructuredGrid_t::NumberOfCells_type & PieceUnstructuredGrid_t::NumberOfCells ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

◆ NumberOfCells() [2/3]

const PieceUnstructuredGrid_t::NumberOfCells_type & PieceUnstructuredGrid_t::NumberOfCells ( ) const

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

Returns
A constant reference to the attribute.

◆ NumberOfCells() [3/3]

void PieceUnstructuredGrid_t::NumberOfCells ( const NumberOfCells_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.

◆ NumberOfPoints() [1/3]

PieceUnstructuredGrid_t::NumberOfPoints_type & PieceUnstructuredGrid_t::NumberOfPoints ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

◆ NumberOfPoints() [2/3]

const PieceUnstructuredGrid_t::NumberOfPoints_type & PieceUnstructuredGrid_t::NumberOfPoints ( ) const

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

Returns
A constant reference to the attribute.

◆ NumberOfPoints() [3/3]

void PieceUnstructuredGrid_t::NumberOfPoints ( const NumberOfPoints_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=()

PieceUnstructuredGrid_t & PieceUnstructuredGrid_t::operator= ( const PieceUnstructuredGrid_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.

◆ PointData() [1/4]

PieceUnstructuredGrid_t::PointData_type & PieceUnstructuredGrid_t::PointData ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ PointData() [2/4]

const PieceUnstructuredGrid_t::PointData_type & PieceUnstructuredGrid_t::PointData ( ) const

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

Returns
A constant reference to the element.

◆ PointData() [3/4]

void PieceUnstructuredGrid_t::PointData ( ::std::unique_ptr< PointData_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.

◆ PointData() [4/4]

void PieceUnstructuredGrid_t::PointData ( const PointData_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.

◆ Points() [1/4]

PieceUnstructuredGrid_t::Points_type & PieceUnstructuredGrid_t::Points ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ Points() [2/4]

const PieceUnstructuredGrid_t::Points_type & PieceUnstructuredGrid_t::Points ( ) const

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

Returns
A constant reference to the element.

◆ Points() [3/4]

void PieceUnstructuredGrid_t::Points ( ::std::unique_ptr< Points_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.

◆ Points() [4/4]

void PieceUnstructuredGrid_t::Points ( const Points_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.


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