Molecular Dynamics  v0.4
Project for the Practical hosted by the Scientific Computing Chair
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:
Inheritance graph
Collaboration diagram for PieceUnstructuredGrid_t:
Collaboration graph

PointData

Accessor and modifier functions for the PointData required element.

typedef ::PointData PointData_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< PointData_type, char > PointData_traits
 Element traits type. More...
 
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 ::CellData CellData_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< CellData_type, char > CellData_traits
 Element traits type. More...
 
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 ::Points Points_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< Points_type, char > Points_traits
 Element traits type. More...
 
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 ::Cells Cells_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< Cells_type, char > Cells_traits
 Element traits type. More...
 
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 ::xml_schema::integer NumberOfPoints_type
 Attribute type. More...
 
typedef ::xsd::cxx::tree::traits< NumberOfPoints_type, char > NumberOfPoints_traits
 Attribute traits type. More...
 
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 ::xml_schema::integer NumberOfCells_type
 Attribute type. More...
 
typedef ::xsd::cxx::tree::traits< NumberOfCells_type, char > NumberOfCells_traits
 Attribute traits type. More...
 
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. More...
 
 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. More...
 

Detailed Description

Class corresponding to the PieceUnstructuredGrid_t schema type.

Member Typedef Documentation

◆ CellData_traits

typedef ::xsd::cxx::tree::traits< CellData_type, char > PieceUnstructuredGrid_t::CellData_traits

Element traits type.

◆ CellData_type

Element type.

◆ Cells_traits

typedef ::xsd::cxx::tree::traits< Cells_type, char > PieceUnstructuredGrid_t::Cells_traits

Element traits type.

◆ Cells_type

Element type.

◆ NumberOfCells_traits

typedef ::xsd::cxx::tree::traits< NumberOfCells_type, char > PieceUnstructuredGrid_t::NumberOfCells_traits

Attribute traits type.

◆ NumberOfCells_type

Attribute type.

◆ NumberOfPoints_traits

typedef ::xsd::cxx::tree::traits< NumberOfPoints_type, char > PieceUnstructuredGrid_t::NumberOfPoints_traits

Attribute traits type.

◆ NumberOfPoints_type

Attribute type.

◆ PointData_traits

typedef ::xsd::cxx::tree::traits< PointData_type, char > PieceUnstructuredGrid_t::PointData_traits

Element traits type.

◆ PointData_type

Element type.

◆ Points_traits

typedef ::xsd::cxx::tree::traits< Points_type, char > PieceUnstructuredGrid_t::Points_traits

Element traits type.

◆ Points_type

Element type.

Constructor & Destructor Documentation

◆ PieceUnstructuredGrid_t() [1/4]

PieceUnstructuredGrid_t::PieceUnstructuredGrid_t ( const PointData_type PointData,
const CellData_type CellData,
const Points_type Points,
const 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.

◆ PieceUnstructuredGrid_t() [2/4]

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() [3/4]

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() [4/4]

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.

◆ ~PieceUnstructuredGrid_t()

PieceUnstructuredGrid_t::~PieceUnstructuredGrid_t ( )
virtual

Destructor.

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.
Here is the caller graph for this function:

◆ 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.
Here is the caller graph for this function:

◆ 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.
Here is the caller graph for this function:

◆ 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.
Here is the caller graph for this function:

◆ 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.
Here is the caller graph for this function:

◆ 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.
Here is the caller graph for this function:

◆ 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: