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

rwsf::TypeManager

Group:  Type Manager


Does not inherit

Local Index

Members

Header File

#include rwsf/tm/TypeManager.h

Description

Class TypeManager loads and stores all types used by the Agent. A type manager initializes itself based on an init file and loads up the types, marshallers, and dependencies for each type specified. This information can then be retrieved later during message creation, parsing, etc. to retrieve variables and other type information.

Public Constructors

TypeManager();

Public Destructors

~TypeManager();

Public Member Functions

void
addDependency(const std::string & fileName,
    const std::string & libName,
    const rwsf::XmlName & type);
void
addMarshaller(const rwsf::XmlName & type,
    rwsf::Marshaller * marshaller);
void
addMessageType(const rwsf::ServiceIdentifier & operation,
    const rwsf::XmlName & varType);
void
addReferencedMarshaller(const rwsf::XmlName & type,
    rwsf::Marshaller * marshaller);
rwsf::Logger
getLogger() const;
rwsf::Marshaller *
getMarshaller(const rwsf::XmlName & type) const;
rwsf::XmlName
getMessageType(const rwsf::ServiceIdentifier & operation);
void
initialize(rwsf::ConfigurationManager * cm);
void
loadSimpleTypes();
void
loadTypes(const std::string & fileName,
    const std::string & libDir);
ServiceVariablePtr
newInstance(const rwsf::XmlName & type) const;
MessageServiceVariablePtr
newMessage(const rwsf::XmlName & type) const;
void
parseString(const std::string & stringData,
    const std::string & libDir,
    const std::string & fileName);
void
setLogger(const rwsf::Logger & logger);
void
unloadTypes(const std::string & fileName);


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.