mil::tatrc::physiology::datamodel::InhalerActionData Class Reference

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

#include <InhalerActions.hxx>

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

Public Member Functions

virtual ~InhalerActionData ()
 Destructor. More...
 
- Public Member Functions inherited from mil::tatrc::physiology::datamodel::ActionData
virtual ~ActionData ()
 Destructor. More...
 
const Comment_optionalComment () const
 Return a read-only (constant) reference to the element container. More...
 
Comment_optionalComment ()
 Return a read-write reference to the element container. More...
 
void Comment (const Comment_type &x)
 Set the element value. More...
 
void Comment (const Comment_optional &x)
 Set the element value. More...
 
void Comment (::std::unique_ptr< Comment_type > p)
 Set the element value without copying. More...
 
const Occurs_optionalOccurs () const
 Return a read-only (constant) reference to the element container. More...
 
Occurs_optionalOccurs ()
 Return a read-write reference to the element container. More...
 
void Occurs (const Occurs_type &x)
 Set the element value. More...
 
void Occurs (const Occurs_optional &x)
 Set the element value. More...
 
const Duration_optionalDuration () const
 Return a read-only (constant) reference to the element container. More...
 
Duration_optionalDuration ()
 Return a read-write reference to the element container. More...
 
void Duration (const Duration_type &x)
 Set the element value. More...
 
void Duration (const Duration_optional &x)
 Set the element value. More...
 
 ActionData ()
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 ActionData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 ActionData (const ActionData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
ActionDataoperator= (const ActionData &x)
 Copy assignment operator. More...
 

Constructors

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

Additional Inherited Members

- Public Types inherited from mil::tatrc::physiology::datamodel::ActionData
typedef ::xml_schema::string Comment_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< Comment_typeComment_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< Comment_type, char > Comment_traits
 Element traits type. More...
 
typedef ::xml_schema::double_ Occurs_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< Occurs_typeOccurs_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< Occurs_type, char,::xsd::cxx::tree::schema_type::double_ > Occurs_traits
 Element traits type. More...
 
typedef ::xml_schema::double_ Duration_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< Duration_typeDuration_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< Duration_type, char,::xsd::cxx::tree::schema_type::double_ > Duration_traits
 Element traits type. More...
 

Detailed Description

Class corresponding to the InhalerActionData schema type.

Constructor & Destructor Documentation

mil::tatrc::physiology::datamodel::InhalerActionData::InhalerActionData ( )

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

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

Destructor.

Member Function Documentation

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

Reimplemented in mil::tatrc::physiology::datamodel::InhalerConfigurationData.