mil::tatrc::physiology::datamodel::TestReportData Class Reference

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

#include <TestReport.hxx>

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

Public Member Functions

virtual ~TestReportData ()
 Destructor. More...
 

TestSuite

Accessor and modifier functions for the TestSuite sequence element.

typedef ::mil::tatrc::physiology::datamodel::TestSuite TestSuite_type
 Element type. More...
 
typedef ::xsd::cxx::tree::sequence< TestSuite_typeTestSuite_sequence
 Element sequence container type. More...
 
typedef TestSuite_sequence::iterator TestSuite_iterator
 Element iterator type. More...
 
typedef TestSuite_sequence::const_iterator TestSuite_const_iterator
 Element constant iterator type. More...
 
typedef ::xsd::cxx::tree::traits< TestSuite_type, char > TestSuite_traits
 Element traits type. More...
 
const TestSuite_sequenceTestSuite () const
 Return a read-only (constant) reference to the element sequence. More...
 
TestSuite_sequenceTestSuite ()
 Return a read-write reference to the element sequence. More...
 
void TestSuite (const TestSuite_sequence &s)
 Copy elements from a given sequence. More...
 

Constructors

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

Detailed Description

Class corresponding to the TestReportData schema type.

Member Typedef Documentation

Element constant iterator type.

Element iterator type.

Element sequence container type.

Element traits type.

Constructor & Destructor Documentation

mil::tatrc::physiology::datamodel::TestReportData::TestReportData ( )

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

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

Destructor.

Member Function Documentation

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

TestReportData & mil::tatrc::physiology::datamodel::TestReportData::operator= ( const TestReportData 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 TestReportData::TestSuite_sequence & mil::tatrc::physiology::datamodel::TestReportData::TestSuite ( ) const

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

Returns
A constant reference to the sequence container.
TestReportData::TestSuite_sequence & mil::tatrc::physiology::datamodel::TestReportData::TestSuite ( )

Return a read-write reference to the element sequence.

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