MolSim
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
ParallelType Class Reference

Enumeration class corresponding to the parallelType schema type. More...

#include <SimulationXSD.h>

Inheritance diagram for ParallelType:

Public Types

enum  Value { coarse , fine }
 Underlying enum type. More...
 

Public Member Functions

 ParallelType (Value v)
 Create an instance from the underlying enum value.
 
 ParallelType (const char *v)
 Create an instance from a C string.
 
 ParallelType (const ::std::string &v)
 Create an instance from a string.
 
 ParallelType (const ::xml_schema::String &v)
 Create an instance from the base value.
 
 ParallelType (const ::xercesc::DOMElement &e, ::xml_schema::Flags f=0, ::xml_schema::Container *c=0)
 Create an instance from a DOM element.
 
 ParallelType (const ::xercesc::DOMAttr &a, ::xml_schema::Flags f=0, ::xml_schema::Container *c=0)
 Create an instance from a DOM attribute.
 
 ParallelType (const ::std::string &s, const ::xercesc::DOMElement *e, ::xml_schema::Flags f=0, ::xml_schema::Container *c=0)
 Create an instance from a string fragment.
 
 ParallelType (const ParallelType &x, ::xml_schema::Flags f=0, ::xml_schema::Container *c=0)
 Copy constructor.
 
ParallelTypeoperator= (const ParallelType &)=default
 
virtual ParallelType_clone (::xml_schema::Flags f=0, ::xml_schema::Container *c=0) const
 Copy the instance polymorphically.
 
ParallelTypeoperator= (Value v)
 Assign the underlying enum value.
 
virtual operator Value () const
 Implicit conversion operator to the underlying enum value.
 

Detailed Description

Enumeration class corresponding to the parallelType schema type.

Member Enumeration Documentation

◆ Value

Underlying enum type.

Enumerator
coarse 
fine 

Constructor & Destructor Documentation

◆ ParallelType() [1/8]

ParallelType::ParallelType ( Value  v)

Create an instance from the underlying enum value.

Parameters
vA enum value.

◆ ParallelType() [2/8]

ParallelType::ParallelType ( const char *  v)

Create an instance from a C string.

Parameters
vA string value.

◆ ParallelType() [3/8]

ParallelType::ParallelType ( const ::std::string &  v)

Create an instance from a string.

Parameters
vA string value.

◆ ParallelType() [4/8]

ParallelType::ParallelType ( const ::xml_schema::String v)

Create an instance from the base value.

Parameters
vA base value.

◆ ParallelType() [5/8]

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

◆ ParallelType() [6/8]

ParallelType::ParallelType ( const ::xercesc::DOMAttr &  a,
::xml_schema::Flags  f = 0,
::xml_schema::Container c = 0 
)

Create an instance from a DOM attribute.

Parameters
aA DOM attribute to extract the data from.
fFlags to create the new instance with.
cA pointer to the object that will contain the new instance.

◆ ParallelType() [7/8]

ParallelType::ParallelType ( const ::std::string &  s,
const ::xercesc::DOMElement *  e,
::xml_schema::Flags  f = 0,
::xml_schema::Container c = 0 
)

Create an instance from a string fragment.

Parameters
sA string fragment to extract the data from.
eA pointer to DOM element containing the string fragment.
fFlags to create the new instance with.
cA pointer to the object that will contain the new instance.

◆ ParallelType() [8/8]

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

Member Function Documentation

◆ _clone()

virtual ParallelType * ParallelType::_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 Value()

virtual ParallelType::operator Value ( ) const
inlinevirtual

Implicit conversion operator to the underlying enum value.

Returns
A enum value.

◆ operator=() [1/2]

ParallelType & ParallelType::operator= ( const ParallelType )
default

◆ operator=() [2/2]

ParallelType & ParallelType::operator= ( Value  v)

Assign the underlying enum value.

Parameters
vA enum value.
Returns
A refernce to the instance.

The documentation for this class was generated from the following file: