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

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

#include <SimulationXSD.h>

Inheritance diagram for CuboidType:

position

Accessor and modifier functions for the position required element.

typedef ::PositionType PositionType
 Element type.
 
typedef ::xsd::cxx::tree::traits< PositionType, char > PositionTraits
 Element traits type.
 
const PositionTypeposition () const
 Return a read-only (constant) reference to the element.
 
PositionTypeposition ()
 Return a read-write reference to the element.
 
void position (const PositionType &x)
 Set the element value.
 
void position (::std::unique_ptr< PositionType > p)
 Set the element value without copying.
 

velocity

Accessor and modifier functions for the velocity required element.

typedef ::VelocityType VelocityType
 Element type.
 
typedef ::xsd::cxx::tree::traits< VelocityType, char > VelocityTraits
 Element traits type.
 
const VelocityTypevelocity () const
 Return a read-only (constant) reference to the element.
 
VelocityTypevelocity ()
 Return a read-write reference to the element.
 
void velocity (const VelocityType &x)
 Set the element value.
 
void velocity (::std::unique_ptr< VelocityType > p)
 Set the element value without copying.
 

size

Accessor and modifier functions for the size required element.

typedef ::SizeType SizeType
 Element type.
 
typedef ::xsd::cxx::tree::traits< SizeType, char > SizeTraits
 Element traits type.
 
const SizeTypesize () const
 Return a read-only (constant) reference to the element.
 
SizeTypesize ()
 Return a read-write reference to the element.
 
void size (const SizeType &x)
 Set the element value.
 
void size (::std::unique_ptr< SizeType > p)
 Set the element value without copying.
 

distance

Accessor and modifier functions for the distance required element.

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

mass

Accessor and modifier functions for the mass required element.

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

type

Accessor and modifier functions for the type optional element.

typedef ::xml_schema::Int TypeType
 Element type.
 
typedef ::xsd::cxx::tree::optional< TypeTypeTypeOptional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< TypeType, char > TypeTraits
 Element traits type.
 
const TypeOptionaltype () const
 Return a read-only (constant) reference to the element container.
 
TypeOptionaltype ()
 Return a read-write reference to the element container.
 
void type (const TypeType &x)
 Set the element value.
 
void type (const TypeOptional &x)
 Set the element value.
 

epsilon

Accessor and modifier functions for the epsilon optional element.

typedef ::xml_schema::Double EpsilonType
 Element type.
 
typedef ::xsd::cxx::tree::optional< EpsilonTypeEpsilonOptional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< EpsilonType, char, ::xsd::cxx::tree::schema_type::double_ > EpsilonTraits
 Element traits type.
 
const EpsilonOptionalepsilon () const
 Return a read-only (constant) reference to the element container.
 
EpsilonOptionalepsilon ()
 Return a read-write reference to the element container.
 
void epsilon (const EpsilonType &x)
 Set the element value.
 
void epsilon (const EpsilonOptional &x)
 Set the element value.
 

sigma

Accessor and modifier functions for the sigma optional element.

typedef ::xml_schema::Double SigmaType
 Element type.
 
typedef ::xsd::cxx::tree::optional< SigmaTypeSigmaOptional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< SigmaType, char, ::xsd::cxx::tree::schema_type::double_ > SigmaTraits
 Element traits type.
 
const SigmaOptionalsigma () const
 Return a read-only (constant) reference to the element container.
 
SigmaOptionalsigma ()
 Return a read-write reference to the element container.
 
void sigma (const SigmaType &x)
 Set the element value.
 
void sigma (const SigmaOptional &x)
 Set the element value.
 

Constructors

 CuboidType (const PositionType &, const VelocityType &, const SizeType &, const DistanceType &, const MassType &)
 Create an instance from the ultimate base and initializers for required elements and attributes.
 
 CuboidType (::std::unique_ptr< PositionType >, ::std::unique_ptr< VelocityType >, ::std::unique_ptr< SizeType >, const DistanceType &, const MassType &)
 Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version).
 
 CuboidType (const ::xercesc::DOMElement &e, ::xml_schema::Flags f=0, ::xml_schema::Container *c=0)
 Create an instance from a DOM element.
 
 CuboidType (const CuboidType &x, ::xml_schema::Flags f=0, ::xml_schema::Container *c=0)
 Copy constructor.
 
virtual CuboidType_clone (::xml_schema::Flags f=0, ::xml_schema::Container *c=0) const
 Copy the instance polymorphically.
 
CuboidTypeoperator= (const CuboidType &x)
 Copy assignment operator.
 
virtual ~CuboidType ()
 Destructor.
 

Detailed Description

Class corresponding to the cuboidType schema type.

Member Typedef Documentation

◆ DistanceTraits

typedef ::xsd::cxx::tree::traits<DistanceType, char, ::xsd::cxx::tree::schema_type::double_> CuboidType::DistanceTraits

Element traits type.

◆ DistanceType

Element type.

◆ EpsilonOptional

typedef ::xsd::cxx::tree::optional<EpsilonType> CuboidType::EpsilonOptional

Element optional container type.

◆ EpsilonTraits

typedef ::xsd::cxx::tree::traits<EpsilonType, char, ::xsd::cxx::tree::schema_type::double_> CuboidType::EpsilonTraits

Element traits type.

◆ EpsilonType

Element type.

◆ MassTraits

typedef ::xsd::cxx::tree::traits<MassType, char, ::xsd::cxx::tree::schema_type::double_> CuboidType::MassTraits

Element traits type.

◆ MassType

Element type.

◆ PositionTraits

typedef ::xsd::cxx::tree::traits<PositionType, char> CuboidType::PositionTraits

Element traits type.

◆ PositionType

Element type.

◆ SigmaOptional

typedef ::xsd::cxx::tree::optional<SigmaType> CuboidType::SigmaOptional

Element optional container type.

◆ SigmaTraits

typedef ::xsd::cxx::tree::traits<SigmaType, char, ::xsd::cxx::tree::schema_type::double_> CuboidType::SigmaTraits

Element traits type.

◆ SigmaType

Element type.

◆ SizeTraits

typedef ::xsd::cxx::tree::traits<SizeType, char> CuboidType::SizeTraits

Element traits type.

◆ SizeType

Element type.

◆ TypeOptional

typedef ::xsd::cxx::tree::optional<TypeType> CuboidType::TypeOptional

Element optional container type.

◆ TypeTraits

typedef ::xsd::cxx::tree::traits<TypeType, char> CuboidType::TypeTraits

Element traits type.

◆ TypeType

Element type.

◆ VelocityTraits

typedef ::xsd::cxx::tree::traits<VelocityType, char> CuboidType::VelocityTraits

Element traits type.

◆ VelocityType

Element type.

Constructor & Destructor Documentation

◆ CuboidType() [1/4]

CuboidType::CuboidType ( const PositionType ,
const VelocityType ,
const SizeType ,
const DistanceType ,
const MassType  
)

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

◆ CuboidType() [2/4]

CuboidType::CuboidType ( ::std::unique_ptr< PositionType ,
::std::unique_ptr< VelocityType ,
::std::unique_ptr< SizeType ,
const DistanceType ,
const MassType  
)

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.

◆ CuboidType() [3/4]

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

◆ CuboidType() [4/4]

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

◆ ~CuboidType()

virtual CuboidType::~CuboidType ( )
virtual

Destructor.

Member Function Documentation

◆ _clone()

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

◆ distance() [1/3]

DistanceType & CuboidType::distance ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ distance() [2/3]

const DistanceType & CuboidType::distance ( ) const

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

Returns
A constant reference to the element.

◆ distance() [3/3]

void CuboidType::distance ( const DistanceType 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.

◆ epsilon() [1/4]

EpsilonOptional & CuboidType::epsilon ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.

◆ epsilon() [2/4]

const EpsilonOptional & CuboidType::epsilon ( ) const

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

Returns
A constant reference to the optional container.

◆ epsilon() [3/4]

void CuboidType::epsilon ( const EpsilonOptional x)

Set the element value.

Parameters
xAn optional container with the new value to set.

If the value is present in x then this function makes a copy of this value and sets it as the new value of the element. Otherwise the element container is set the 'not present' state.

◆ epsilon() [4/4]

void CuboidType::epsilon ( const EpsilonType 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.

◆ mass() [1/3]

MassType & CuboidType::mass ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ mass() [2/3]

const MassType & CuboidType::mass ( ) const

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

Returns
A constant reference to the element.

◆ mass() [3/3]

void CuboidType::mass ( const MassType 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=()

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

◆ position() [1/4]

PositionType & CuboidType::position ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ position() [2/4]

const PositionType & CuboidType::position ( ) const

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

Returns
A constant reference to the element.

◆ position() [3/4]

void CuboidType::position ( ::std::unique_ptr< PositionType 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.

◆ position() [4/4]

void CuboidType::position ( const PositionType 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.

◆ sigma() [1/4]

SigmaOptional & CuboidType::sigma ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.

◆ sigma() [2/4]

const SigmaOptional & CuboidType::sigma ( ) const

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

Returns
A constant reference to the optional container.

◆ sigma() [3/4]

void CuboidType::sigma ( const SigmaOptional x)

Set the element value.

Parameters
xAn optional container with the new value to set.

If the value is present in x then this function makes a copy of this value and sets it as the new value of the element. Otherwise the element container is set the 'not present' state.

◆ sigma() [4/4]

void CuboidType::sigma ( const SigmaType 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.

◆ size() [1/4]

SizeType & CuboidType::size ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ size() [2/4]

const SizeType & CuboidType::size ( ) const

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

Returns
A constant reference to the element.

◆ size() [3/4]

void CuboidType::size ( ::std::unique_ptr< SizeType 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.

◆ size() [4/4]

void CuboidType::size ( const SizeType 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.

◆ type() [1/4]

TypeOptional & CuboidType::type ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.

◆ type() [2/4]

const TypeOptional & CuboidType::type ( ) const

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

Returns
A constant reference to the optional container.

◆ type() [3/4]

void CuboidType::type ( const TypeOptional x)

Set the element value.

Parameters
xAn optional container with the new value to set.

If the value is present in x then this function makes a copy of this value and sets it as the new value of the element. Otherwise the element container is set the 'not present' state.

◆ type() [4/4]

void CuboidType::type ( const TypeType 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.

◆ velocity() [1/4]

VelocityType & CuboidType::velocity ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ velocity() [2/4]

const VelocityType & CuboidType::velocity ( ) const

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

Returns
A constant reference to the element.

◆ velocity() [3/4]

void CuboidType::velocity ( ::std::unique_ptr< VelocityType 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.

◆ velocity() [4/4]

void CuboidType::velocity ( const VelocityType 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: