mil::tatrc::physiology::datamodel::ScenarioData Class Reference

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

#include <Scenario.hxx>

Inheritance diagram for mil::tatrc::physiology::datamodel::ScenarioData:

Public Member Functions

virtual ~ScenarioData ()
 Destructor. More...
 
- Public Member Functions inherited from mil::tatrc::physiology::datamodel::ObjectData
virtual ~ObjectData ()
 Destructor. More...
 
const contentVersion_optionalcontentVersion () const
 Return a read-only (constant) reference to the attribute container. More...
 
contentVersion_optionalcontentVersion ()
 Return a read-write reference to the attribute container. More...
 
void contentVersion (const contentVersion_type &x)
 Set the attribute value. More...
 
void contentVersion (const contentVersion_optional &x)
 Set the attribute value. More...
 
void contentVersion (::std::unique_ptr< contentVersion_type > p)
 Set the attribute value without copying. More...
 
 ObjectData ()
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 ObjectData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 ObjectData (const ObjectData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
ObjectDataoperator= (const ObjectData &x)
 Copy assignment operator. More...
 

Name

Accessor and modifier functions for the Name optional element.

typedef ::xml_schema::string Name_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< Name_typeName_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< Name_type, char > Name_traits
 Element traits type. More...
 
const Name_optionalName () const
 Return a read-only (constant) reference to the element container. More...
 
Name_optionalName ()
 Return a read-write reference to the element container. More...
 
void Name (const Name_type &x)
 Set the element value. More...
 
void Name (const Name_optional &x)
 Set the element value. More...
 
void Name (::std::unique_ptr< Name_type > p)
 Set the element value without copying. More...
 

Description

Accessor and modifier functions for the Description optional element.

typedef ::xml_schema::string Description_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< Description_typeDescription_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< Description_type, char > Description_traits
 Element traits type. More...
 
const Description_optionalDescription () const
 Return a read-only (constant) reference to the element container. More...
 
Description_optionalDescription ()
 Return a read-write reference to the element container. More...
 
void Description (const Description_type &x)
 Set the element value. More...
 
void Description (const Description_optional &x)
 Set the element value. More...
 
void Description (::std::unique_ptr< Description_type > p)
 Set the element value without copying. More...
 

EngineStateFile

Accessor and modifier functions for the EngineStateFile optional element.

typedef ::xml_schema::string EngineStateFile_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< EngineStateFile_typeEngineStateFile_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< EngineStateFile_type, char > EngineStateFile_traits
 Element traits type. More...
 
const EngineStateFile_optionalEngineStateFile () const
 Return a read-only (constant) reference to the element container. More...
 
EngineStateFile_optionalEngineStateFile ()
 Return a read-write reference to the element container. More...
 
void EngineStateFile (const EngineStateFile_type &x)
 Set the element value. More...
 
void EngineStateFile (const EngineStateFile_optional &x)
 Set the element value. More...
 
void EngineStateFile (::std::unique_ptr< EngineStateFile_type > p)
 Set the element value without copying. More...
 

InitialParameters

Accessor and modifier functions for the InitialParameters optional element.

typedef ::mil::tatrc::physiology::datamodel::ScenarioInitialParametersData InitialParameters_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< InitialParameters_typeInitialParameters_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< InitialParameters_type, char > InitialParameters_traits
 Element traits type. More...
 
const InitialParameters_optionalInitialParameters () const
 Return a read-only (constant) reference to the element container. More...
 
InitialParameters_optionalInitialParameters ()
 Return a read-write reference to the element container. More...
 
void InitialParameters (const InitialParameters_type &x)
 Set the element value. More...
 
void InitialParameters (const InitialParameters_optional &x)
 Set the element value. More...
 
void InitialParameters (::std::unique_ptr< InitialParameters_type > p)
 Set the element value without copying. More...
 

AutoSerialization

Accessor and modifier functions for the AutoSerialization optional element.

typedef ::mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData AutoSerialization_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< AutoSerialization_typeAutoSerialization_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< AutoSerialization_type, char > AutoSerialization_traits
 Element traits type. More...
 
const AutoSerialization_optionalAutoSerialization () const
 Return a read-only (constant) reference to the element container. More...
 
AutoSerialization_optionalAutoSerialization ()
 Return a read-write reference to the element container. More...
 
void AutoSerialization (const AutoSerialization_type &x)
 Set the element value. More...
 
void AutoSerialization (const AutoSerialization_optional &x)
 Set the element value. More...
 
void AutoSerialization (::std::unique_ptr< AutoSerialization_type > p)
 Set the element value without copying. More...
 

DataRequests

Accessor and modifier functions for the DataRequests optional element.

typedef ::mil::tatrc::physiology::datamodel::DataRequestsData DataRequests_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< DataRequests_typeDataRequests_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< DataRequests_type, char > DataRequests_traits
 Element traits type. More...
 
const DataRequests_optionalDataRequests () const
 Return a read-only (constant) reference to the element container. More...
 
DataRequests_optionalDataRequests ()
 Return a read-write reference to the element container. More...
 
void DataRequests (const DataRequests_type &x)
 Set the element value. More...
 
void DataRequests (const DataRequests_optional &x)
 Set the element value. More...
 
void DataRequests (::std::unique_ptr< DataRequests_type > p)
 Set the element value without copying. More...
 

Action

Accessor and modifier functions for the Action sequence element.

typedef ::mil::tatrc::physiology::datamodel::ActionData Action_type
 Element type. More...
 
typedef ::xsd::cxx::tree::sequence< Action_typeAction_sequence
 Element sequence container type. More...
 
typedef Action_sequence::iterator Action_iterator
 Element iterator type. More...
 
typedef Action_sequence::const_iterator Action_const_iterator
 Element constant iterator type. More...
 
typedef ::xsd::cxx::tree::traits< Action_type, char > Action_traits
 Element traits type. More...
 
const Action_sequenceAction () const
 Return a read-only (constant) reference to the element sequence. More...
 
Action_sequenceAction ()
 Return a read-write reference to the element sequence. More...
 
void Action (const Action_sequence &s)
 Copy elements from a given sequence. More...
 

Constructors

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

Additional Inherited Members

- Public Types inherited from mil::tatrc::physiology::datamodel::ObjectData
typedef ::xml_schema::string contentVersion_type
 Attribute type. More...
 
typedef ::xsd::cxx::tree::optional< contentVersion_typecontentVersion_optional
 Attribute optional container type. More...
 
typedef ::xsd::cxx::tree::traits< contentVersion_type, char > contentVersion_traits
 Attribute traits type. More...
 

Detailed Description

Class corresponding to the ScenarioData schema type.

Member Typedef Documentation

Element constant iterator type.

Element iterator type.

Element sequence container type.

Element traits type.

Element optional container type.

Element traits type.

Element optional container type.

Element traits type.

Element optional container type.

Element traits type.

Element optional container type.

Element traits type.

Element optional container type.

Element traits type.

Element optional container type.

Element traits type.

Constructor & Destructor Documentation

mil::tatrc::physiology::datamodel::ScenarioData::ScenarioData ( )

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

mil::tatrc::physiology::datamodel::ScenarioData::ScenarioData ( 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.
mil::tatrc::physiology::datamodel::ScenarioData::ScenarioData ( const ScenarioData 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.

mil::tatrc::physiology::datamodel::ScenarioData::~ScenarioData ( )
virtual

Destructor.

Member Function Documentation

ScenarioData * mil::tatrc::physiology::datamodel::ScenarioData::_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.

Reimplemented from mil::tatrc::physiology::datamodel::ObjectData.

const ScenarioData::Action_sequence & mil::tatrc::physiology::datamodel::ScenarioData::Action ( ) const

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

Returns
A constant reference to the sequence container.
ScenarioData::Action_sequence & mil::tatrc::physiology::datamodel::ScenarioData::Action ( )

Return a read-write reference to the element sequence.

Returns
A reference to the sequence container.
void mil::tatrc::physiology::datamodel::ScenarioData::Action ( const Action_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.

const ScenarioData::AutoSerialization_optional & mil::tatrc::physiology::datamodel::ScenarioData::AutoSerialization ( ) const

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

Returns
A constant reference to the optional container.
ScenarioData::AutoSerialization_optional & mil::tatrc::physiology::datamodel::ScenarioData::AutoSerialization ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void mil::tatrc::physiology::datamodel::ScenarioData::AutoSerialization ( const AutoSerialization_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.

void mil::tatrc::physiology::datamodel::ScenarioData::AutoSerialization ( const AutoSerialization_optional 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.

void mil::tatrc::physiology::datamodel::ScenarioData::AutoSerialization ( ::std::unique_ptr< AutoSerialization_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.

const ScenarioData::DataRequests_optional & mil::tatrc::physiology::datamodel::ScenarioData::DataRequests ( ) const

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

Returns
A constant reference to the optional container.
ScenarioData::DataRequests_optional & mil::tatrc::physiology::datamodel::ScenarioData::DataRequests ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void mil::tatrc::physiology::datamodel::ScenarioData::DataRequests ( const DataRequests_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.

void mil::tatrc::physiology::datamodel::ScenarioData::DataRequests ( const DataRequests_optional 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.

void mil::tatrc::physiology::datamodel::ScenarioData::DataRequests ( ::std::unique_ptr< DataRequests_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.

const ScenarioData::Description_optional & mil::tatrc::physiology::datamodel::ScenarioData::Description ( ) const

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

Returns
A constant reference to the optional container.
ScenarioData::Description_optional & mil::tatrc::physiology::datamodel::ScenarioData::Description ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void mil::tatrc::physiology::datamodel::ScenarioData::Description ( const Description_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.

void mil::tatrc::physiology::datamodel::ScenarioData::Description ( const Description_optional 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.

void mil::tatrc::physiology::datamodel::ScenarioData::Description ( ::std::unique_ptr< Description_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.

const ScenarioData::EngineStateFile_optional & mil::tatrc::physiology::datamodel::ScenarioData::EngineStateFile ( ) const

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

Returns
A constant reference to the optional container.
ScenarioData::EngineStateFile_optional & mil::tatrc::physiology::datamodel::ScenarioData::EngineStateFile ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void mil::tatrc::physiology::datamodel::ScenarioData::EngineStateFile ( const EngineStateFile_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.

void mil::tatrc::physiology::datamodel::ScenarioData::EngineStateFile ( const EngineStateFile_optional 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.

void mil::tatrc::physiology::datamodel::ScenarioData::EngineStateFile ( ::std::unique_ptr< EngineStateFile_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.

const ScenarioData::InitialParameters_optional & mil::tatrc::physiology::datamodel::ScenarioData::InitialParameters ( ) const

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

Returns
A constant reference to the optional container.
ScenarioData::InitialParameters_optional & mil::tatrc::physiology::datamodel::ScenarioData::InitialParameters ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void mil::tatrc::physiology::datamodel::ScenarioData::InitialParameters ( const InitialParameters_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.

void mil::tatrc::physiology::datamodel::ScenarioData::InitialParameters ( const InitialParameters_optional 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.

void mil::tatrc::physiology::datamodel::ScenarioData::InitialParameters ( ::std::unique_ptr< InitialParameters_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.

const ScenarioData::Name_optional & mil::tatrc::physiology::datamodel::ScenarioData::Name ( ) const

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

Returns
A constant reference to the optional container.
ScenarioData::Name_optional & mil::tatrc::physiology::datamodel::ScenarioData::Name ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void mil::tatrc::physiology::datamodel::ScenarioData::Name ( const Name_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.

void mil::tatrc::physiology::datamodel::ScenarioData::Name ( const Name_optional 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.

void mil::tatrc::physiology::datamodel::ScenarioData::Name ( ::std::unique_ptr< Name_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.

ScenarioData & mil::tatrc::physiology::datamodel::ScenarioData::operator= ( const ScenarioData 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.