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

rwsf::GenericServiceVariable

Group:  Service Variable


rwsf::GenericServiceVariablerwsf::ServiceVariable

Local Index

Members

Header File

#include rwsf/service_variable/GenericServiceVariable.h

Description

Class GenericServiceVariable holds a generic pointer to a void type. This allows any type to be stored and then cast out later. The pointer and the size of the data being pointed to are all that are needed. The marshal for this type will print out XML with a CDATA block which cotnains the binary string for this object. Note that this string can contain embedded nulls.

Public Constructors

GenericServiceVariable(void * object,
    long size);
GenericServiceVariable(const rwsf::XmlName & type,
    void * object,
    long size);

Public Destructors

~GenericServiceVariable();

Public Member Functions

rwsf::ServiceVariablePtr
clone() const;
bool
equals(rwsf::ServiceVariablePtr b) const;
void *
getObject() const;
long
getSize() const;

Protected Member Functions

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


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.