mil::tatrc::physiology::datamodel::CellRegulation Class Reference

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

#include <Substance.hxx>

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

Public Member Functions

virtual ~CellRegulation ()
 Destructor. More...
 

CellDeathRate

Accessor and modifier functions for the CellDeathRate required element.

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

CellBirthRate

Accessor and modifier functions for the CellBirthRate required element.

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

Constructors

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

Detailed Description

Class corresponding to the CellRegulation schema type.

Member Typedef Documentation

Element traits type.

Element traits type.

Constructor & Destructor Documentation

mil::tatrc::physiology::datamodel::CellRegulation::CellRegulation ( )

Default constructor.

Note that this constructor leaves required elements and attributes uninitialized.

mil::tatrc::physiology::datamodel::CellRegulation::CellRegulation ( const CellDeathRate_type CellDeathRate,
const CellBirthRate_type CellBirthRate 
)

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

mil::tatrc::physiology::datamodel::CellRegulation::CellRegulation ( ::std::unique_ptr< CellDeathRate_type CellDeathRate,
::std::unique_ptr< CellBirthRate_type CellBirthRate 
)

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

Destructor.

Member Function Documentation

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

const CellRegulation::CellBirthRate_type & mil::tatrc::physiology::datamodel::CellRegulation::CellBirthRate ( ) const

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

Returns
A constant reference to the element.
CellRegulation::CellBirthRate_type & mil::tatrc::physiology::datamodel::CellRegulation::CellBirthRate ( )

Return a read-write reference to the element.

Returns
A reference to the element.
void mil::tatrc::physiology::datamodel::CellRegulation::CellBirthRate ( const CellBirthRate_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::CellRegulation::CellBirthRate ( ::std::unique_ptr< CellBirthRate_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 CellRegulation::CellDeathRate_type & mil::tatrc::physiology::datamodel::CellRegulation::CellDeathRate ( ) const

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

Returns
A constant reference to the element.
CellRegulation::CellDeathRate_type & mil::tatrc::physiology::datamodel::CellRegulation::CellDeathRate ( )

Return a read-write reference to the element.

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

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