mil::tatrc::physiology::datamodel::DiabetesType1Data Class Reference

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

#include <PatientConditions.hxx>

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

Public Member Functions

virtual ~DiabetesType1Data ()
 Destructor. More...
 
- Public Member Functions inherited from mil::tatrc::physiology::datamodel::PatientConditionData
virtual ~PatientConditionData ()
 Destructor. More...
 
 PatientConditionData ()
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 PatientConditionData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 PatientConditionData (const PatientConditionData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
- Public Member Functions inherited from mil::tatrc::physiology::datamodel::ConditionData
virtual ~ConditionData ()
 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...
 
 ConditionData ()
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 ConditionData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 ConditionData (const ConditionData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
ConditionDataoperator= (const ConditionData &x)
 Copy assignment operator. More...
 

InsulinProductionSeverity

Accessor and modifier functions for the InsulinProductionSeverity required element.

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

Constructors

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

Additional Inherited Members

- Public Types inherited from mil::tatrc::physiology::datamodel::ConditionData
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...
 

Detailed Description

Class corresponding to the DiabetesType1Data schema type.

Member Typedef Documentation

Constructor & Destructor Documentation

mil::tatrc::physiology::datamodel::DiabetesType1Data::DiabetesType1Data ( )

Default constructor.

Note that this constructor leaves required elements and attributes uninitialized.

mil::tatrc::physiology::datamodel::DiabetesType1Data::DiabetesType1Data ( const InsulinProductionSeverity_type InsulinProductionSeverity)

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

mil::tatrc::physiology::datamodel::DiabetesType1Data::DiabetesType1Data ( ::std::unique_ptr< InsulinProductionSeverity_type InsulinProductionSeverity)

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::DiabetesType1Data::DiabetesType1Data ( 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::DiabetesType1Data::DiabetesType1Data ( const DiabetesType1Data 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::DiabetesType1Data::~DiabetesType1Data ( )
virtual

Destructor.

Member Function Documentation

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

const DiabetesType1Data::InsulinProductionSeverity_type & mil::tatrc::physiology::datamodel::DiabetesType1Data::InsulinProductionSeverity ( ) const

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

Returns
A constant reference to the element.
DiabetesType1Data::InsulinProductionSeverity_type & mil::tatrc::physiology::datamodel::DiabetesType1Data::InsulinProductionSeverity ( )

Return a read-write reference to the element.

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

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