rwsf::SDOServiceVariablerwsf::ServiceVariable
clone() doMarshal() |
doUnmarshal() equals() |
getData() SDOServiceVariable() |
setData() ~SDOServiceVariable() |
#include rwsf/service_variable/SDOServiceVariable.h
Class SDOServiceVariable stores complex types as an SDO. Access this SDO via the "getData" function.
SDOServiceVariable();
Default constructor. Creates a variable with no type.
SDOServiceVariable(const rwsf::XmlName & type);
Constructor that creates a variable with a type.
~SDOServiceVariable();
Destructor.
rwsf::ServiceVariablePtr clone() const;
Implements method in rwsf::ServiceVariable
Base class documentation:
Clones the object so it can be manipulated independently of the original
Implementation documentation:
Clones the contained SDO.
bool equals(rwsf::ServiceVariablePtr b) const;
Implements method in rwsf::ServiceVariable
Base class documentation:
Pure virtual function that will return true when two ServiceVariables compare equal
Implementation documentation:
Returns true if the sdoCompare returns true.
rwsf::sdo::DataObjectPtr getData() const;
Retrieves the SDO data as a DataObjectPtr. Manipulation of the variable data can be done directly on this SDO.
void setData(const rwsf::sdo::DataObjectPtr & data);
Sets the data from an SDO. This will NOT be a copy, but a new reference, so any alterations to the passed in parameter after this call will result in changes to this variables stored data!
std::string doMarshal(const rwsf::XmlName & rootElement) const;
Implements method in rwsf::ServiceVariable
Base class documentation:
Override this to perform the implementation specific marshalling
Implementation documentation:
Call sdoMarshal on the stored SDO and strip off the containing XML element.
void doUnmarshal(const std::string & data);
Implements method in rwsf::ServiceVariable
Base class documentation:
Override this to perform the implementation specific unmarshalling
Implementation documentation:
Use sdoUnmarshal to the stored SDO.
© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.