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

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

#include <vtk-unstructured.h>

Inheritance diagram for PolyData_t:
Inheritance graph
Collaboration diagram for PolyData_t:
Collaboration graph

greeting

Accessor and modifier functions for the greeting required element.

typedef ::xml_schema::string greeting_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< greeting_type, char > greeting_traits
 Element traits type. More...
 
const greeting_typegreeting () const
 Return a read-only (constant) reference to the element. More...
 
greeting_typegreeting ()
 Return a read-write reference to the element. More...
 
void greeting (const greeting_type &x)
 Set the element value. More...
 
void greeting (::std::unique_ptr< greeting_type > p)
 Set the element value without copying. More...
 

Constructors

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

Detailed Description

Class corresponding to the PolyData_t schema type.

Member Typedef Documentation

◆ greeting_traits

typedef ::xsd::cxx::tree::traits< greeting_type, char > PolyData_t::greeting_traits

Element traits type.

◆ greeting_type

Element type.

Constructor & Destructor Documentation

◆ PolyData_t() [1/3]

PolyData_t::PolyData_t ( const greeting_type greeting)

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

◆ PolyData_t() [2/3]

PolyData_t::PolyData_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.

◆ PolyData_t() [3/3]

PolyData_t::PolyData_t ( const PolyData_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.

◆ ~PolyData_t()

PolyData_t::~PolyData_t ( )
virtual

Destructor.

Member Function Documentation

◆ _clone()

PolyData_t * PolyData_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.

◆ greeting() [1/4]

PolyData_t::greeting_type & PolyData_t::greeting ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ greeting() [2/4]

const PolyData_t::greeting_type & PolyData_t::greeting ( ) 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:

◆ greeting() [3/4]

void PolyData_t::greeting ( ::std::unique_ptr< greeting_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.

◆ greeting() [4/4]

void PolyData_t::greeting ( const greeting_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.

◆ operator=()

PolyData_t & PolyData_t::operator= ( const PolyData_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.


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