My Project
Public Member Functions | List of all members
resqml2_0_1::Activity Class Reference
Inheritance diagram for resqml2_0_1::Activity:
resqml2::Activity common::AbstractObject

Public Member Functions

 Activity (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
 Activity (resqml2::ActivityTemplate *activityTemplate, const std::string &guid, const std::string &title)
 
 Activity (gsoap_resqml2_0_1::_resqml2__Activity *fromGsoap)
 
void pushBackParameter (const std::string title, const double &value, const gsoap_resqml2_0_1::resqml2__ResqmlUom &uom=gsoap_resqml2_0_1::resqml2__ResqmlUom__Euc)
 
void pushBackParameter (const std::string title, const std::string &value)
 
void pushBackParameter (const std::string title, const LONG64 &value)
 
void pushBackParameter (const std::string title, AbstractObject *resqmlObject)
 
unsigned int getParameterCount () const
 
unsigned int getParameterCount (const std::string &paramTitle) const
 
const std::string & getParameterTitle (const unsigned int &index) const
 
std::vector< unsigned int > getParameterIndexOfTitle (const std::string &paramTitle) const
 
bool isAFloatingPointQuantityParameter (const std::string &paramTitle) const
 
bool isAFloatingPointQuantityParameter (const unsigned int &index) const
 
std::vector< double > getFloatingPointQuantityParameterValue (const std::string &paramTitle) const
 
double getFloatingPointQuantityParameterValue (const unsigned int &index) const
 
std::vector< gsoap_resqml2_0_1::resqml2__ResqmlUom > getFloatingPointQuantityParameterUom (const std::string &paramTitle) const
 
gsoap_resqml2_0_1::resqml2__ResqmlUom getFloatingPointQuantityParameterUom (const unsigned int &index) const
 
bool isAnIntegerQuantityParameter (const std::string &paramTitle) const
 
bool isAnIntegerQuantityParameter (const unsigned int &index) const
 
std::vector< LONG64 > getIntegerQuantityParameterValue (const std::string &paramTitle) const
 
LONG64 getIntegerQuantityParameterValue (const unsigned int &index) const
 
bool isAStringParameter (const std::string &paramTitle) const
 
bool isAStringParameter (const unsigned int &index) const
 
std::vector< std::string > getStringParameterValue (const std::string &paramTitle) const
 
const std::string & getStringParameterValue (const unsigned int &index) const
 
bool isAResqmlObjectParameter (const std::string &paramTitle) const
 
bool isAResqmlObjectParameter (const unsigned int &index) const
 
std::vector< AbstractObject * > getResqmlObjectParameterValue (const std::string &paramTitle) const
 
AbstractObjectgetResqmlObjectParameterValue (const unsigned int &index) const
 
void setActivityTemplate (resqml2::ActivityTemplate *activityTemplate)
 
gsoap_resqml2_0_1::eml20__DataObjectReference * getActivityTemplateDor () const
 
std::string getResqmlVersion () const
 
- Public Member Functions inherited from resqml2::Activity
 Activity (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
class ActivityTemplategetActivityTemplate () const
 
std::vector< AbstractObject * > getResqmlObjectSet () const
 
std::string getXmlTag () const
 
- Public Member Functions inherited from common::AbstractObject
bool isPartial () const
 
std::string getUuid () const
 
std::string getTitle () const
 
std::string getEditor () const
 
time_t getCreation () const
 
std::string getOriginator () const
 
std::string getDescription () const
 
time_t getLastUpdate () const
 
std::string getFormat () const
 
std::string getDescriptiveKeywords () const
 
void setTitle (const std::string &title)
 
void setEditor (const std::string &editor)
 
void setCreation (const time_t &creation)
 
void setOriginator (const std::string &originator)
 
void setDescription (const std::string &description)
 
void setLastUpdate (const time_t &lastUpdate)
 
void setFormat (const std::string &format)
 
void setDescriptiveKeywords (const std::string &descriptiveKeywords)
 
void setMetadata (const std::string &title, const std::string &editor, const time_t &creation, const std::string &originator, const std::string &description, const time_t &lastUpdate, const std::string &format, const std::string &descriptiveKeywords)
 
void serializeIntoStream (std::ostream *stream)
 
gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * getGsoapProxy () const
 
soap * getGsoapContext () const
 
int getGsoapType () const
 
gsoap_resqml2_0_1::eml20__DataObjectReference * newResqmlReference () const
 
gsoap_eml2_1::eml21__DataObjectReference * newEmlReference () const
 
gsoap_resqml2_0_1::resqml2__ContactElementReference * newResqmlContactElementReference () const
 
common::EpcDocumentgetEpcDocument () const
 
virtual std::string getXmlNamespace () const
 
virtual std::string getContentType () const
 
virtual std::string getPartNameInEpcDocument () const
 
std::string serializeIntoString ()
 
void addAlias (const std::string &authority, const std::string &title)
 
unsigned int getAliasCount () const
 
std::string getAliasAuthorityAtIndex (const unsigned int &index) const
 
std::string getAliasTitleAtIndex (const unsigned int &index) const
 
const std::vector< resqml2::Activity * > & getActivitySet () const
 
unsigned int getActivityCount () const
 
resqml2::ActivitygetActivity (const unsigned int &index) const
 
void pushBackExtraMetadata (const std::string &key, const std::string &value)
 
std::tr1::unordered_map< std::string, std::string > getExtraMetadataSet () const
 
std::vector< std::string > getExtraMetadata (const std::string &key) const
 
unsigned int getExtraMetadataCount () const
 
std::string getExtraMetadataKeyAtIndex (const unsigned int &index) const
 
std::string getExtraMetadataStringValueAtIndex (const unsigned int &index) const
 

Additional Inherited Members

- Static Public Attributes inherited from resqml2::Activity
static const char * XML_TAG = "Activity"
 
- Protected Types inherited from common::AbstractObject
enum  EmlVersion { TWO_DOT_ZERO = 0, TWO_DOT_ONE = 1 }
 
- Protected Member Functions inherited from resqml2::Activity
 Activity (gsoap_resqml2_0_1::_resqml2__Activity *fromGsoap)
 
std::vector< epc::RelationshipgetAllEpcRelationships () const
 
- Protected Member Functions inherited from common::AbstractObject
 AbstractObject ()
 Indicate whether methods update the XML (gSoap) or only the C++ classes of the API.
 
 AbstractObject (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
 AbstractObject (gsoap_resqml2_0_1::eml20__AbstractCitedDataObject *proxy)
 
 AbstractObject (gsoap_eml2_1::eml21__AbstractObject *proxy)
 
void initMandatoryMetadata ()
 
void setMetadata (const std::string &guid, const std::string &title, const std::string &editor, const time_t &creation, const std::string &originator, const std::string &description, const time_t &lastUpdate, const std::string &format, const std::string &descriptiveKeywords)
 
void cannotBePartial () const
 
void changeToPartialObject ()
 
- Static Protected Member Functions inherited from common::AbstractObject
static void addActivityToResqmlObject (resqml2::Activity *activity, AbstractObject *resqmlObject)
 
- Protected Attributes inherited from common::AbstractObject
gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * gsoapProxy2_0_1
 
gsoap_eml2_1::eml21__AbstractObject * gsoapProxy2_1
 
common::EpcDocumentepcDocument
 
std::vector< resqml2::Activity * > activitySet
 
bool updateXml
 

Constructor & Destructor Documentation

resqml2_0_1::Activity::Activity ( gsoap_resqml2_0_1::eml20__DataObjectReference *  partialObject)
inline

Only to be used in partial transfer context

resqml2_0_1::Activity::Activity ( resqml2::ActivityTemplate activityTemplate,
const std::string &  guid,
const std::string &  title 
)

Creates an instance of this class in a gsoap context.

Parameters
guidThe guid to set to the boundary horizon. If empty then a new guid will be generated.
titleA title for the instance to create.

Member Function Documentation

gsoap_resqml2_0_1::eml20__DataObjectReference * Activity::getActivityTemplateDor ( ) const
virtual

Get the activity template dor of the activity

Implements resqml2::Activity.

unsigned int Activity::getParameterCount ( ) const
virtual

Get the count of all the parameters

Implements resqml2::Activity.

unsigned int Activity::getParameterCount ( const std::string &  paramTitle) const
virtual

Get the count of all the parameters which have got the same title.

Implements resqml2::Activity.

std::string Activity::getResqmlVersion ( ) const
virtual

Get the XML tag for the XML serialization of this instance

Reimplemented from common::AbstractObject.

void resqml2_0_1::Activity::pushBackParameter ( const std::string  title,
const double &  value,
const gsoap_resqml2_0_1::resqml2__ResqmlUom &  uom = gsoap_resqml2_0_1::resqml2__ResqmlUom__Euc 
)

Push back a double parameter in the instance. This parameter must exist in the associated activity template.

void Activity::pushBackParameter ( const std::string  title,
const std::string &  value 
)
virtual

Push back a string parameter in the instance. This parameter must exist in the associated activity template.

Implements resqml2::Activity.

void Activity::pushBackParameter ( const std::string  title,
const LONG64 &  value 
)
virtual

Push back an integer parameter in the instance. This parameter must exist in the associated activity template.

Implements resqml2::Activity.

void Activity::pushBackParameter ( const std::string  title,
AbstractObject resqmlObject 
)
virtual

Push back a resqml object parameter in the instance. This parameter must exist in the associated activity template.

Implements resqml2::Activity.

void Activity::setActivityTemplate ( resqml2::ActivityTemplate activityTemplate)
virtual

Set the activity template of the activity

Implements resqml2::Activity.


The documentation for this class was generated from the following files: