MolSim
Loading...
Searching...
No Matches
List of all members
VelocityType Class Reference

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

#include <SimulationXSD.h>

Inheritance diagram for VelocityType:

x

Accessor and modifier functions for the x required element.

typedef ::xml_schema::Double XType
 Element type.
 
typedef ::xsd::cxx::tree::traits< XType, char, ::xsd::cxx::tree::schema_type::double_ > XTraits
 Element traits type.
 
const XTypex () const
 Return a read-only (constant) reference to the element.
 
XTypex ()
 Return a read-write reference to the element.
 
void x (const XType &x)
 Set the element value.
 

y

Accessor and modifier functions for the y required element.

typedef ::xml_schema::Double YType
 Element type.
 
typedef ::xsd::cxx::tree::traits< YType, char, ::xsd::cxx::tree::schema_type::double_ > YTraits
 Element traits type.
 
const YTypey () const
 Return a read-only (constant) reference to the element.
 
YTypey ()
 Return a read-write reference to the element.
 
void y (const YType &x)
 Set the element value.
 

z

Accessor and modifier functions for the z required element.

typedef ::xml_schema::Double ZType
 Element type.
 
typedef ::xsd::cxx::tree::traits< ZType, char, ::xsd::cxx::tree::schema_type::double_ > ZTraits
 Element traits type.
 
const ZTypez () const
 Return a read-only (constant) reference to the element.
 
ZTypez ()
 Return a read-write reference to the element.
 
void z (const ZType &x)
 Set the element value.
 

Constructors

 VelocityType (const XType &, const YType &, const ZType &)
 Create an instance from the ultimate base and initializers for required elements and attributes.
 
 VelocityType (const ::xercesc::DOMElement &e, ::xml_schema::Flags f=0, ::xml_schema::Container *c=0)
 Create an instance from a DOM element.
 
 VelocityType (const VelocityType &x, ::xml_schema::Flags f=0, ::xml_schema::Container *c=0)
 Copy constructor.
 
virtual VelocityType_clone (::xml_schema::Flags f=0, ::xml_schema::Container *c=0) const
 Copy the instance polymorphically.
 
VelocityTypeoperator= (const VelocityType &x)
 Copy assignment operator.
 
virtual ~VelocityType ()
 Destructor.
 

Detailed Description

Class corresponding to the velocityType schema type.

Member Typedef Documentation

◆ XTraits

typedef ::xsd::cxx::tree::traits<XType, char, ::xsd::cxx::tree::schema_type::double_> VelocityType::XTraits

Element traits type.

◆ XType

Element type.

◆ YTraits

typedef ::xsd::cxx::tree::traits<YType, char, ::xsd::cxx::tree::schema_type::double_> VelocityType::YTraits

Element traits type.

◆ YType

Element type.

◆ ZTraits

typedef ::xsd::cxx::tree::traits<ZType, char, ::xsd::cxx::tree::schema_type::double_> VelocityType::ZTraits

Element traits type.

◆ ZType

Element type.

Constructor & Destructor Documentation

◆ VelocityType() [1/3]

VelocityType::VelocityType ( const XType ,
const YType ,
const ZType  
)

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

◆ VelocityType() [2/3]

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

◆ VelocityType() [3/3]

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

◆ ~VelocityType()

virtual VelocityType::~VelocityType ( )
virtual

Destructor.

Member Function Documentation

◆ _clone()

virtual VelocityType * VelocityType::_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=()

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

◆ x() [1/3]

XType & VelocityType::x ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ x() [2/3]

const XType & VelocityType::x ( ) const

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

Returns
A constant reference to the element.

◆ x() [3/3]

void VelocityType::x ( const XType 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.

◆ y() [1/3]

YType & VelocityType::y ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ y() [2/3]

const YType & VelocityType::y ( ) const

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

Returns
A constant reference to the element.

◆ y() [3/3]

void VelocityType::y ( const YType 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.

◆ z() [1/3]

ZType & VelocityType::z ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ z() [2/3]

const ZType & VelocityType::z ( ) const

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

Returns
A constant reference to the element.

◆ z() [3/3]

void VelocityType::z ( const ZType 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 file: