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

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

#include <ConfigurationFile.h>

Inheritance diagram for Cuboids:
Inheritance graph
Collaboration diagram for Cuboids:
Collaboration graph

Size

Accessor and modifier functions for the Size required element.

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

Cuboid

Accessor and modifier functions for the Cuboid sequence element.

typedef ::Cuboid Cuboid_type
 Element type. More...
 
typedef ::xsd::cxx::tree::sequence< Cuboid_typeCuboid_sequence
 Element sequence container type. More...
 
typedef Cuboid_sequence::iterator Cuboid_iterator
 Element iterator type. More...
 
typedef Cuboid_sequence::const_iterator Cuboid_const_iterator
 Element constant iterator type. More...
 
typedef ::xsd::cxx::tree::traits< Cuboid_type, char > Cuboid_traits
 Element traits type. More...
 
const Cuboid_sequenceCuboid () const
 Return a read-only (constant) reference to the element sequence. More...
 
Cuboid_sequenceCuboid ()
 Return a read-write reference to the element sequence. More...
 
void Cuboid (const Cuboid_sequence &s)
 Copy elements from a given sequence. More...
 

Constructors

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

Detailed Description

Class corresponding to the Cuboids schema type.

Member Typedef Documentation

◆ Cuboid_const_iterator

typedef Cuboid_sequence::const_iterator Cuboids::Cuboid_const_iterator

Element constant iterator type.

◆ Cuboid_iterator

typedef Cuboid_sequence::iterator Cuboids::Cuboid_iterator

Element iterator type.

◆ Cuboid_sequence

typedef ::xsd::cxx::tree::sequence< Cuboid_type > Cuboids::Cuboid_sequence

Element sequence container type.

◆ Cuboid_traits

typedef ::xsd::cxx::tree::traits< Cuboid_type, char > Cuboids::Cuboid_traits

Element traits type.

◆ Cuboid_type

Element type.

◆ Size_traits

typedef ::xsd::cxx::tree::traits< Size_type, char > Cuboids::Size_traits

Element traits type.

◆ Size_type

Element type.

Constructor & Destructor Documentation

◆ Cuboids() [1/3]

Cuboids::Cuboids ( const Size_type Size)

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

◆ Cuboids() [2/3]

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

◆ Cuboids() [3/3]

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

◆ ~Cuboids()

Cuboids::~Cuboids ( )
virtual

Destructor.

Member Function Documentation

◆ _clone()

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

◆ Cuboid() [1/3]

Cuboids::Cuboid_sequence & Cuboids::Cuboid ( )

Return a read-write reference to the element sequence.

Returns
A reference to the sequence container.

◆ Cuboid() [2/3]

const Cuboids::Cuboid_sequence & Cuboids::Cuboid ( ) 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:

◆ Cuboid() [3/3]

void Cuboids::Cuboid ( const Cuboid_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=()

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

◆ Size() [1/4]

Cuboids::Size_type & Cuboids::Size ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ Size() [2/4]

const Cuboids::Size_type & Cuboids::Size ( ) 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:

◆ Size() [3/4]

void Cuboids::Size ( ::std::unique_ptr< Size_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.

◆ Size() [4/4]

void Cuboids::Size ( const Size_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: