Molecular Dynamics  v0.4
Project for the Practical hosted by the Scientific Computing Chair
List of all members
UnstructuredGrid_t Class Reference

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

#include <vtk-unstructured.h>

Inheritance diagram for UnstructuredGrid_t:
Inheritance graph
Collaboration diagram for UnstructuredGrid_t:
Collaboration graph

Piece

Accessor and modifier functions for the Piece required element.

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

Constructors

 UnstructuredGrid_t (const Piece_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 UnstructuredGrid_t (::std::unique_ptr< Piece_type >)
 Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More...
 
 UnstructuredGrid_t (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 UnstructuredGrid_t (const UnstructuredGrid_t &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual UnstructuredGrid_t_clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
UnstructuredGrid_toperator= (const UnstructuredGrid_t &x)
 Copy assignment operator. More...
 
virtual ~UnstructuredGrid_t ()
 Destructor. More...
 

Detailed Description

Class corresponding to the UnstructuredGrid_t schema type.

Member Typedef Documentation

◆ Piece_traits

typedef ::xsd::cxx::tree::traits< Piece_type, char > UnstructuredGrid_t::Piece_traits

Element traits type.

◆ Piece_type

Element type.

Constructor & Destructor Documentation

◆ UnstructuredGrid_t() [1/4]

UnstructuredGrid_t::UnstructuredGrid_t ( const Piece_type Piece)

Create an instance from the ultimate base and initializers for required elements and attributes.

◆ UnstructuredGrid_t() [2/4]

UnstructuredGrid_t::UnstructuredGrid_t ( ::std::unique_ptr< Piece_type Piece)

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.

◆ UnstructuredGrid_t() [3/4]

UnstructuredGrid_t::UnstructuredGrid_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.

◆ UnstructuredGrid_t() [4/4]

UnstructuredGrid_t::UnstructuredGrid_t ( const UnstructuredGrid_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.

◆ ~UnstructuredGrid_t()

UnstructuredGrid_t::~UnstructuredGrid_t ( )
virtual

Destructor.

Member Function Documentation

◆ _clone()

UnstructuredGrid_t * UnstructuredGrid_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.

◆ operator=()

UnstructuredGrid_t & UnstructuredGrid_t::operator= ( const UnstructuredGrid_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.

◆ Piece() [1/4]

UnstructuredGrid_t::Piece_type & UnstructuredGrid_t::Piece ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ Piece() [2/4]

const UnstructuredGrid_t::Piece_type & UnstructuredGrid_t::Piece ( ) 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:

◆ Piece() [3/4]

void UnstructuredGrid_t::Piece ( ::std::unique_ptr< Piece_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.

◆ Piece() [4/4]

void UnstructuredGrid_t::Piece ( const Piece_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: