Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress C++ API Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::ServiceVariable

Group:  Service Variable


Does not inherit

Local Index

Members

Header File

#include rwsf/service_variable/ServiceVariable.h

Description

Class ServiceVariable is an interface for all specific variable implementations. It is what is stored and passed around in the agent and can be introspected by casting it to an appropriate type and checking for null. It has an interface for types and formats, but leaves any further interfaces to the more specific implementations.

Public Constructors

ServiceVariable();
ServiceVariable(const rwsf::XmlName & type);

Public Destructors

virtual
~ServiceVariable();

Public Member Functions

rwsf::ServiceVariablePtr
clone() const = 0;
bool
equals(rwsf::ServiceVariablePtr b) const = 0;
rwsf::XmlName
getType() const;
std::string
marshal() const;
std::string
marshal(const std::string & elementName) const;
std::string
marshal(const rwsf::XmlName & rootElement) const;
void
unmarshal(const std::string & data);

Protected Member Functions

std::string
doMarshal(const rwsf::XmlName & rootElement) const = 0;
void
doUnmarshal(const std::string & data) = 0;

Public Operators

bool
operator!=(rwsf::ServiceVariablePtr b) const;
bool
operator==(rwsf::ServiceVariablePtr b) const;


Previous fileTop of DocumentContentsIndex pageNext file

© 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.