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

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

#include <vtk-unstructured.h>

Inheritance diagram for PointData:
Inheritance graph
Collaboration diagram for PointData:
Collaboration graph

DataArray

Accessor and modifier functions for the DataArray sequence element.

typedef ::DataArray_t DataArray_type
 Element type. More...
 
typedef ::xsd::cxx::tree::sequence< DataArray_typeDataArray_sequence
 Element sequence container type. More...
 
typedef DataArray_sequence::iterator DataArray_iterator
 Element iterator type. More...
 
typedef DataArray_sequence::const_iterator DataArray_const_iterator
 Element constant iterator type. More...
 
typedef ::xsd::cxx::tree::traits< DataArray_type, char > DataArray_traits
 Element traits type. More...
 
const DataArray_sequenceDataArray () const
 Return a read-only (constant) reference to the element sequence. More...
 
DataArray_sequenceDataArray ()
 Return a read-write reference to the element sequence. More...
 
void DataArray (const DataArray_sequence &s)
 Copy elements from a given sequence. More...
 

Constructors

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

Detailed Description

Class corresponding to the PointData schema type.

Member Typedef Documentation

◆ DataArray_const_iterator

typedef DataArray_sequence::const_iterator PointData::DataArray_const_iterator

Element constant iterator type.

◆ DataArray_iterator

typedef DataArray_sequence::iterator PointData::DataArray_iterator

Element iterator type.

◆ DataArray_sequence

typedef ::xsd::cxx::tree::sequence< DataArray_type > PointData::DataArray_sequence

Element sequence container type.

◆ DataArray_traits

typedef ::xsd::cxx::tree::traits< DataArray_type, char > PointData::DataArray_traits

Element traits type.

◆ DataArray_type

Element type.

Constructor & Destructor Documentation

◆ PointData() [1/3]

PointData::PointData ( )

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

◆ PointData() [2/3]

PointData::PointData ( 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.

◆ PointData() [3/3]

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

◆ ~PointData()

PointData::~PointData ( )
virtual

Destructor.

Member Function Documentation

◆ _clone()

PointData * PointData::_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.

◆ DataArray() [1/3]

PointData::DataArray_sequence & PointData::DataArray ( )

Return a read-write reference to the element sequence.

Returns
A reference to the sequence container.

◆ DataArray() [2/3]

const PointData::DataArray_sequence & PointData::DataArray ( ) const

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

Returns
A constant reference to the sequence container.
Here is the caller graph for this function:

◆ DataArray() [3/3]

void PointData::DataArray ( const DataArray_sequence s)

Copy elements from a given sequence.

Parameters
sA sequence to copy elements from.

For each element in s this function makes a copy and adds it to the sequence. Note that this operation completely changes the sequence and all old elements will be lost.

◆ operator=()

PointData & PointData::operator= ( const PointData 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: