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

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

#include <ConfigurationFile.h>

Inheritance diagram for Velocity:
Inheritance graph
Collaboration diagram for Velocity:
Collaboration graph

X

Accessor and modifier functions for the X required element.

typedef ::xml_schema::decimal X_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< X_type, char, ::xsd::cxx::tree::schema_type::decimal > X_traits
 Element traits type. More...
 
const X_typeX () const
 Return a read-only (constant) reference to the element. More...
 
X_typeX ()
 Return a read-write reference to the element. More...
 
void X (const X_type &x)
 Set the element value. More...
 

Y

Accessor and modifier functions for the Y required element.

typedef ::xml_schema::decimal Y_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< Y_type, char, ::xsd::cxx::tree::schema_type::decimal > Y_traits
 Element traits type. More...
 
const Y_typeY () const
 Return a read-only (constant) reference to the element. More...
 
Y_typeY ()
 Return a read-write reference to the element. More...
 
void Y (const Y_type &x)
 Set the element value. More...
 

Z

Accessor and modifier functions for the Z required element.

typedef ::xml_schema::decimal Z_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< Z_type, char, ::xsd::cxx::tree::schema_type::decimal > Z_traits
 Element traits type. More...
 
const Z_typeZ () const
 Return a read-only (constant) reference to the element. More...
 
Z_typeZ ()
 Return a read-write reference to the element. More...
 
void Z (const Z_type &x)
 Set the element value. More...
 

Constructors

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

Detailed Description

Class corresponding to the Velocity schema type.

Member Typedef Documentation

◆ X_traits

typedef ::xsd::cxx::tree::traits< X_type, char, ::xsd::cxx::tree::schema_type::decimal > Velocity::X_traits

Element traits type.

◆ X_type

Element type.

◆ Y_traits

typedef ::xsd::cxx::tree::traits< Y_type, char, ::xsd::cxx::tree::schema_type::decimal > Velocity::Y_traits

Element traits type.

◆ Y_type

Element type.

◆ Z_traits

typedef ::xsd::cxx::tree::traits< Z_type, char, ::xsd::cxx::tree::schema_type::decimal > Velocity::Z_traits

Element traits type.

◆ Z_type

Element type.

Constructor & Destructor Documentation

◆ Velocity() [1/3]

Velocity::Velocity ( const X_type X,
const Y_type Y,
const Z_type Z 
)

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

◆ Velocity() [2/3]

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

◆ Velocity() [3/3]

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

◆ ~Velocity()

Velocity::~Velocity ( )
virtual

Destructor.

Member Function Documentation

◆ _clone()

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

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

Velocity::X_type & Velocity::X ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ X() [2/3]

const Velocity::X_type & Velocity::X ( ) 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:

◆ X() [3/3]

void Velocity::X ( const X_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.

◆ Y() [1/3]

Velocity::Y_type & Velocity::Y ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ Y() [2/3]

const Velocity::Y_type & Velocity::Y ( ) 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:

◆ Y() [3/3]

void Velocity::Y ( const Y_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.

◆ Z() [1/3]

Velocity::Z_type & Velocity::Z ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ Z() [2/3]

const Velocity::Z_type & Velocity::Z ( ) 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:

◆ Z() [3/3]

void Velocity::Z ( const Z_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: