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

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

#include <ConfigurationFile.h>

Inheritance diagram for BoundaryCondition:
Inheritance graph
Collaboration diagram for BoundaryCondition:
Collaboration graph

boundaries

Accessor and modifier functions for the boundaries required element.

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

Constructors

 BoundaryCondition (const boundaries_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 BoundaryCondition (::std::unique_ptr< boundaries_type >)
 Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More...
 
 BoundaryCondition (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 BoundaryCondition (const BoundaryCondition &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual BoundaryCondition_clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
BoundaryConditionoperator= (const BoundaryCondition &x)
 Copy assignment operator. More...
 
virtual ~BoundaryCondition ()
 Destructor. More...
 

Detailed Description

Class corresponding to the BoundaryCondition schema type.

Member Typedef Documentation

◆ boundaries_traits

typedef ::xsd::cxx::tree::traits< boundaries_type, char > BoundaryCondition::boundaries_traits

Element traits type.

◆ boundaries_type

Element type.

Constructor & Destructor Documentation

◆ BoundaryCondition() [1/4]

BoundaryCondition::BoundaryCondition ( const boundaries_type )

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

◆ BoundaryCondition() [2/4]

BoundaryCondition::BoundaryCondition ( ::std::unique_ptr< boundaries_type )

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.

◆ BoundaryCondition() [3/4]

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

◆ BoundaryCondition() [4/4]

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

◆ ~BoundaryCondition()

virtual BoundaryCondition::~BoundaryCondition ( )
virtual

Destructor.

Member Function Documentation

◆ _clone()

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

◆ boundaries() [1/4]

boundaries_type& BoundaryCondition::boundaries ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ boundaries() [2/4]

const boundaries_type& BoundaryCondition::boundaries ( ) 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:

◆ boundaries() [3/4]

void BoundaryCondition::boundaries ( ::std::unique_ptr< boundaries_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.

◆ boundaries() [4/4]

void BoundaryCondition::boundaries ( const boundaries_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.

◆ operator=()

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