| 
    Fesapi 2.9.0.1
    
   This project provides C++ classes which allow an easy access in import and export to the Energistics standards. 
   | 
 
Instance of a given activity. More...
#include <Activity.h>
 Public Member Functions | |
| Activity (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject) | |
| virtual | ~Activity ()=default | 
| virtual void | pushBackParameter (const std::string &title, const std::string &value)=0 | 
| virtual void | pushBackParameter (const std::string &title, int64_t value)=0 | 
| virtual void | pushBackParameter (const std::string &title, AbstractObject *resqmlObject)=0 | 
| virtual uint64_t | getParameterCount () const =0 | 
| virtual uint64_t | getParameterCount (const std::string ¶mTitle) const =0 | 
| virtual const std::string & | getParameterTitle (unsigned int index) const =0 | 
| virtual std::vector< unsigned int > | getParameterIndexOfTitle (const std::string ¶mTitle) const =0 | 
| virtual bool | isAFloatingPointQuantityParameter (const std::string ¶mTitle) const =0 | 
| virtual bool | isAFloatingPointQuantityParameter (unsigned int index) const =0 | 
| virtual std::vector< double > | getFloatingPointQuantityParameterValue (const std::string ¶mTitle) const =0 | 
| virtual double | getFloatingPointQuantityParameterValue (unsigned int index) const =0 | 
| virtual bool | isAnIntegerQuantityParameter (const std::string ¶mTitle) const =0 | 
| virtual bool | isAnIntegerQuantityParameter (unsigned int index) const =0 | 
| virtual std::vector< int32_t > | getIntegerQuantityParameterValue (const std::string ¶mTitle) const =0 | 
| virtual int64_t | getIntegerQuantityParameterValue (unsigned int index) const =0 | 
| virtual bool | isAStringParameter (const std::string ¶mTitle) const =0 | 
| Queries if all of the parameters sharing a given title are string parameters.   | |
| virtual bool | isAStringParameter (unsigned int index) const =0 | 
| virtual std::vector< std::string > | getStringParameterValue (const std::string ¶mTitle) const =0 | 
| virtual const std::string & | getStringParameterValue (unsigned int index) const =0 | 
| virtual bool | isAResqmlObjectParameter (const std::string ¶mTitle) const =0 | 
| virtual bool | isAResqmlObjectParameter (unsigned int index) const =0 | 
| virtual std::vector< AbstractObject * > | getResqmlObjectParameterValue (const std::string ¶mTitle) const =0 | 
| virtual AbstractObject * | getResqmlObjectParameterValue (unsigned int index) const =0 | 
| virtual void | setActivityTemplate (ActivityTemplate *activityTemplate)=0 | 
| virtual common::DataObjectReference | getActivityTemplateDor () const =0 | 
| ActivityTemplate * | getActivityTemplate () const | 
| std::vector< AbstractObject * > | getResqmlObjectSet () const | 
| virtual std::string | getXmlTag () const final | 
Static Public Attributes | |
| static constexpr char const * | XML_TAG = "Activity" | 
Instance of a given activity.
      
  | 
  inline | 
Only to be used in partial transfer context
| [in] | partialObject | If non-null, the partial object. | 
      
  | 
  virtualdefault | 
Destructor does nothing since the memory is managed by the gSOAP context.
| ActivityTemplate * eml2::Activity::getActivityTemplate | ( | ) | const | 
Gets the activity template of this activity.
      
  | 
  pure virtual | 
Gets the data object reference of the activity template of this activity.
      
  | 
  pure virtual | 
Gets the values of all the floating point quantity parameters sharing a given title.
| std::invalid_argument | If there exists no paramTitle parameter in this activity.  | 
| std::invalid_argument | If one paramTitle parameter contains some non double values. | 
| paramTitle | The title of the floating point parameters we look for the value. | 
paramTitle floating point quantity parameters. 
      
  | 
  pure virtual | 
Gets the floating point quantity value of a given parameter.
| std::out_of_range | If index is not in the parameter range.  | 
| std::invalid_argument | If the parameter at index is not a floating point quantity parameter. | 
| index | Zero-based index of the parameter we look for the value. This index is taken in the set of all parameters of this activity. | 
index. 
      
  | 
  pure virtual | 
Gets the values of all the integer quantity parameters sharing a given title.
| std::invalid_argument | If there exists no paramTitle parameter in this activity.  | 
| std::invalid_argument | If one paramTitle parameter contains some non integer values. | 
| paramTitle | The title of the integer parameters we look for the value. | 
paramTitle integer quantity parameters. 
      
  | 
  pure virtual | 
Gets the integer quantity value of a given parameter.
| std::out_of_range | If index is not in the parameter range.  | 
| std::invalid_argument | If the parameter at index is not an integer quantity parameter. | 
| index | Zero-based index of the parameter we look for the value. This index is taken in the set of all parameters of this activity. | 
index. 
      
  | 
  pure virtual | 
Get the count of all the parameters
      
  | 
  pure virtual | 
Gets the count of all the parameters which have the same title.
| paramTitle | The title of the parameters we look for. | 
      
  | 
  pure virtual | 
Gets the indices of all the parameters sharing a given title.
| paramTitle | The title of the parameters we look for. | 
      
  | 
  pure virtual | 
Gets the title of a given parameter
| std::out_of_range | If index is not in the parameter range. | 
| index | Zero-based index of the parameter for which we look for the title. | 
      
  | 
  pure virtual | 
Gets the values of all the RESQML object parameters sharing a given title.
| std::invalid_argument | If there exists no paramTitle parameter in this activity.  | 
| std::invalid_argument | If one paramTitle parameter contains some non RESQML object values. | 
| paramTitle | The title of the RESQML object parameters we look for the value. | 
paramTitle RESQML object parameters. 
      
  | 
  pure virtual | 
Gets the RESQML object value of a given parameter.
| std::out_of_range | If index is not in the parameter range.  | 
| std::invalid_argument | If the parameter at index is not an RESQML object parameter. | 
| index | Zero-based index of the parameter we look for the value. This index is taken in the set of all parameters of this activity. | 
index. | std::vector< AbstractObject * > eml2::Activity::getResqmlObjectSet | ( | ) | const | 
Gets all the RESQML objects which are either input or output of this activity. That is to say all of the values of the RESQML object parameters of this activity.
      
  | 
  pure virtual | 
Gets the values of all the string parameters sharing a given title.
| std::invalid_argument | If there exists no paramTitle parameter in this activity.  | 
| std::invalid_argument | If one paramTitle parameter contains some non string values. | 
| paramTitle | The title of the string parameters we look for the value. | 
paramTitle string parameters. 
      
  | 
  pure virtual | 
Gets the string value of a given parameter.
| std::out_of_range | If index is not in the parameter range.  | 
| std::invalid_argument | If the parameter at index is not an string parameter. | 
| index | Zero-based index of the parameter we look for the value. This index is taken in the set of all parameters of this activity. | 
index. 
      
  | 
  pure virtual | 
Queries if all of the parameters sharing a given title are floating point quantity parameters.
| std::invalid_argument | If there exists no paramTitle parameter in this activity. | 
| paramTitle | The title of the parameters we want to test the datatype. | 
paramTitle parameters are floating point quantity parameters, false if not. 
      
  | 
  pure virtual | 
Queries if a given parameter is a floating point quantity parameter.
| std::out_of_range | If index is not in the parameter range. | 
| index | Zero-based index of the parameter we want to test the datatype. | 
index is a floating point quantity parameter, false if not. 
      
  | 
  pure virtual | 
Queries if all of the parameters sharing a given title are integer quantity parameters.
| std::invalid_argument | If there exists no paramTitle parameter in this activity. | 
| paramTitle | The title of the parameters we want to test the datatype. | 
paramTitle parameters are integer quantity parameters, false if not. 
      
  | 
  pure virtual | 
Queries if a given parameter is an integer quantity parameter.
| std::out_of_range | If index is not in the parameter range. | 
| index | Zero-based index of the parameter we want to test the datatype. | 
index is an integer quantity parameter, false if not. 
      
  | 
  pure virtual | 
Queries if all of the parameters sharing a given title are RESQML object parameters.
| std::invalid_argument | If there exists no paramTitle parameter in this activity. | 
| paramTitle | The title of the parameters we want to test the datatype. | 
paramTitle parameters are RESQML object parameters, false if not. 
      
  | 
  pure virtual | 
Queries if a given parameter is a RESQML object parameter.
| std::out_of_range | If index is not in the parameter range. | 
| index | Zero-based index of the parameter we want to test the datatype. | 
index is a RESQML object parameter, false if not. 
      
  | 
  pure virtual | 
Queries if all of the parameters sharing a given title are string parameters.
| std::invalid_argument | If there exists no paramTitle parameter in this activity. | 
| paramTitle | The title of the parameters we want to test the datatype. | 
paramTitle parameters are string parameters, false if not. 
      
  | 
  pure virtual | 
Queries if a given parameter is a string parameter.
| std::out_of_range | If index is not in the parameter range. | 
| index | Zero-based index of the parameter we want to test the datatype. | 
index is a string parameter, false if not. 
      
  | 
  pure virtual | 
Pushes back a RESQML object parameter in this instance. This parameter must exist in the associated activity template.
| std::invalid_argument | If resqmlObject is null. | 
| std::invalid_argument | If the parameter title does not exist in the associated activity template.  | 
| std::invalid_argument | If the maximum number of occurrences has already been reached for parameter title.  | 
| std::invalid_argument | If The parameter template title does not allow a a data object datatype. | 
| title | The title of the parameter to push back. | |
| [in] | resqmlObject | The RESQML object, value of the parameter to push back. | 
      
  | 
  pure virtual | 
Pushes back a string parameter in this instance. This parameter must exist in the associated activity template.
| std::invalid_argument | If the parameter title does not exist in the associated activity template.  | 
| std::invalid_argument | If the maximum number of occurrences has already been reached for parameter title.  | 
| std::invalid_argument | If The parameter template title does not allow a string datatype. | 
| title | The title of the parameter to push back. | 
| value | The value of the parameter to push back. | 
      
  | 
  pure virtual | 
Pushes back an integer parameter in this instance. This parameter must exist in the associated activity template.
| std::invalid_argument | If the parameter title does not exist in the associated activity template.  | 
| std::invalid_argument | If the maximum number of occurrences has already been reached for parameter title.  | 
| std::invalid_argument | If The parameter template title does not allow a an integer datatype. | 
| title | The title of the parameter to push back. | 
| value | The value of the parameter to push back. | 
      
  | 
  pure virtual | 
Sets the activity template of this activity.
| [in] | activityTemplate | If non-null, the activity template. | 
      
  | 
  staticconstexpr | 
The standard XML tag without XML namespace for serializing this data object