mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData Class Reference

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

#include <Scenario.hxx>

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

Public Member Functions

virtual ~ScenarioAutoSerializationData ()
 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...
 

Directory

Accessor and modifier functions for the Directory required element.

typedef ::xml_schema::string Directory_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< Directory_type, char > Directory_traits
 Element traits type. More...
 
const Directory_typeDirectory () const
 Return a read-only (constant) reference to the element. More...
 
Directory_typeDirectory ()
 Return a read-write reference to the element. More...
 
void Directory (const Directory_type &x)
 Set the element value. More...
 
void Directory (::std::unique_ptr< Directory_type > p)
 Set the element value without copying. More...
 

FileName

Accessor and modifier functions for the FileName required element.

typedef ::xml_schema::string FileName_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< FileName_type, char > FileName_traits
 Element traits type. More...
 
const FileName_typeFileName () const
 Return a read-only (constant) reference to the element. More...
 
FileName_typeFileName ()
 Return a read-write reference to the element. More...
 
void FileName (const FileName_type &x)
 Set the element value. More...
 
void FileName (::std::unique_ptr< FileName_type > p)
 Set the element value without copying. More...
 

AfterActions

Accessor and modifier functions for the AfterActions required element.

typedef ::mil::tatrc::physiology::datamodel::enumOnOff AfterActions_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< AfterActions_type, char > AfterActions_traits
 Element traits type. More...
 
const AfterActions_typeAfterActions () const
 Return a read-only (constant) reference to the element. More...
 
AfterActions_typeAfterActions ()
 Return a read-write reference to the element. More...
 
void AfterActions (const AfterActions_type &x)
 Set the element value. More...
 
void AfterActions (::std::unique_ptr< AfterActions_type > p)
 Set the element value without copying. More...
 

Period

Accessor and modifier functions for the Period required element.

typedef ::mil::tatrc::physiology::datamodel::ScalarTimeData Period_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< Period_type, char > Period_traits
 Element traits type. More...
 
const Period_typePeriod () const
 Return a read-only (constant) reference to the element. More...
 
Period_typePeriod ()
 Return a read-write reference to the element. More...
 
void Period (const Period_type &x)
 Set the element value. More...
 
void Period (::std::unique_ptr< Period_type > p)
 Set the element value without copying. More...
 

PeriodTimeStamps

Accessor and modifier functions for the PeriodTimeStamps required element.

typedef ::mil::tatrc::physiology::datamodel::enumOnOff PeriodTimeStamps_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< PeriodTimeStamps_type, char > PeriodTimeStamps_traits
 Element traits type. More...
 
const PeriodTimeStamps_typePeriodTimeStamps () const
 Return a read-only (constant) reference to the element. More...
 
PeriodTimeStamps_typePeriodTimeStamps ()
 Return a read-write reference to the element. More...
 
void PeriodTimeStamps (const PeriodTimeStamps_type &x)
 Set the element value. More...
 
void PeriodTimeStamps (::std::unique_ptr< PeriodTimeStamps_type > p)
 Set the element value without copying. More...
 

ReloadState

Accessor and modifier functions for the ReloadState required element.

typedef ::mil::tatrc::physiology::datamodel::enumOnOff ReloadState_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< ReloadState_type, char > ReloadState_traits
 Element traits type. More...
 
const ReloadState_typeReloadState () const
 Return a read-only (constant) reference to the element. More...
 
ReloadState_typeReloadState ()
 Return a read-write reference to the element. More...
 
void ReloadState (const ReloadState_type &x)
 Set the element value. More...
 
void ReloadState (::std::unique_ptr< ReloadState_type > p)
 Set the element value without copying. More...
 

Constructors

 ScenarioAutoSerializationData ()
 Default constructor. More...
 
 ScenarioAutoSerializationData (const Directory_type &, const FileName_type &, const AfterActions_type &, const Period_type &, const PeriodTimeStamps_type &, const ReloadState_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 ScenarioAutoSerializationData (const Directory_type &, const FileName_type &, const AfterActions_type &,::std::unique_ptr< Period_type >, const PeriodTimeStamps_type &, const ReloadState_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More...
 
 ScenarioAutoSerializationData (::std::unique_ptr< Directory_type >,::std::unique_ptr< FileName_type >,::std::unique_ptr< AfterActions_type >,::std::unique_ptr< Period_type >,::std::unique_ptr< PeriodTimeStamps_type >,::std::unique_ptr< ReloadState_type >)
 Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More...
 
 ScenarioAutoSerializationData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 ScenarioAutoSerializationData (const ScenarioAutoSerializationData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual ScenarioAutoSerializationData_clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
ScenarioAutoSerializationDataoperator= (const ScenarioAutoSerializationData &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 ScenarioAutoSerializationData schema type.

Member Typedef Documentation

Element traits type.

Element traits type.

Element traits type.

Constructor & Destructor Documentation

mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::ScenarioAutoSerializationData ( )

Default constructor.

Note that this constructor leaves required elements and attributes uninitialized.

mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::ScenarioAutoSerializationData ( const Directory_type Directory,
const FileName_type FileName,
const AfterActions_type AfterActions,
const Period_type Period,
const PeriodTimeStamps_type PeriodTimeStamps,
const ReloadState_type ReloadState 
)

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

mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::ScenarioAutoSerializationData ( const Directory_type Directory,
const FileName_type FileName,
const AfterActions_type AfterActions,
::std::unique_ptr< Period_type Period,
const PeriodTimeStamps_type PeriodTimeStamps,
const ReloadState_type ReloadState 
)

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.

mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::ScenarioAutoSerializationData ( ::std::unique_ptr< Directory_type Directory,
::std::unique_ptr< FileName_type FileName,
::std::unique_ptr< AfterActions_type AfterActions,
::std::unique_ptr< Period_type Period,
::std::unique_ptr< PeriodTimeStamps_type PeriodTimeStamps,
::std::unique_ptr< ReloadState_type ReloadState 
)

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.

mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::ScenarioAutoSerializationData ( 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::ScenarioAutoSerializationData::ScenarioAutoSerializationData ( const ScenarioAutoSerializationData 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::ScenarioAutoSerializationData::~ScenarioAutoSerializationData ( )
virtual

Destructor.

Member Function Documentation

ScenarioAutoSerializationData * mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::_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 ScenarioAutoSerializationData::AfterActions_type & mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::AfterActions ( ) const

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

Returns
A constant reference to the element.
ScenarioAutoSerializationData::AfterActions_type & mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::AfterActions ( )

Return a read-write reference to the element.

Returns
A reference to the element.
void mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::AfterActions ( const AfterActions_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::ScenarioAutoSerializationData::AfterActions ( ::std::unique_ptr< AfterActions_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 ScenarioAutoSerializationData::Directory_type & mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::Directory ( ) const

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

Returns
A constant reference to the element.
ScenarioAutoSerializationData::Directory_type & mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::Directory ( )

Return a read-write reference to the element.

Returns
A reference to the element.
void mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::Directory ( const Directory_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::ScenarioAutoSerializationData::Directory ( ::std::unique_ptr< Directory_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 ScenarioAutoSerializationData::FileName_type & mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::FileName ( ) const

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

Returns
A constant reference to the element.
ScenarioAutoSerializationData::FileName_type & mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::FileName ( )

Return a read-write reference to the element.

Returns
A reference to the element.
void mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::FileName ( const FileName_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::ScenarioAutoSerializationData::FileName ( ::std::unique_ptr< FileName_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.

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

const ScenarioAutoSerializationData::Period_type & mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::Period ( ) const

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

Returns
A constant reference to the element.
ScenarioAutoSerializationData::Period_type & mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::Period ( )

Return a read-write reference to the element.

Returns
A reference to the element.
void mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::Period ( const Period_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::ScenarioAutoSerializationData::Period ( ::std::unique_ptr< Period_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 ScenarioAutoSerializationData::PeriodTimeStamps_type & mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::PeriodTimeStamps ( ) const

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

Returns
A constant reference to the element.
ScenarioAutoSerializationData::PeriodTimeStamps_type & mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::PeriodTimeStamps ( )

Return a read-write reference to the element.

Returns
A reference to the element.
void mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::PeriodTimeStamps ( const PeriodTimeStamps_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::ScenarioAutoSerializationData::PeriodTimeStamps ( ::std::unique_ptr< PeriodTimeStamps_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 ScenarioAutoSerializationData::ReloadState_type & mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::ReloadState ( ) const

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

Returns
A constant reference to the element.
ScenarioAutoSerializationData::ReloadState_type & mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::ReloadState ( )

Return a read-write reference to the element.

Returns
A reference to the element.
void mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData::ReloadState ( const ReloadState_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::ScenarioAutoSerializationData::ReloadState ( ::std::unique_ptr< ReloadState_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.