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

rwsf::Config

Group:  Core Basic


rwsf::Configrwsf::HandleBase

Local Index

Members

Header File

#include rwsf/core/Config.h

Description

rwsf::Config is the base class for classes that encapsulate information from a deployment descriptor. Configuration information consists of a context object and a set of name/value pairs. The service implementation creates an instance of this class for each service instance. This class implements the handle/body idiom in which rwsf::ConfigImp is the body.

An instance of rwsf::Config contains the configuration information for each object created by the HydraSCA Agent. When the HydraSCA Agent starts up, it reads the objects.xml configuration file supplied for each service. This configuration file defines each object required by a service along with its initialization parameters. The HydraSCA Agent places these parameters into an rwsf::Config object which then gets passed to the init() method for the named object.

Public Constructors

Config();
Config(const Config & config);

Public Destructors

virtual
~Config();

Public Member Functions

bool
containsParameter(const std::string & name) const;
bool
getBoolInitParameter(const std::string & key,
    bool def = false) const;
std::string
getInitParameter(const std::string & name) const;
rwsf::Enumeration< std::string >
getInitParameterNames() const;
long
getLongInitParameter(const std::string & key,
    long def = 0) const;
void
setBoolInitParameter(const std::string & key,
    bool value);
void
setInitParameter(const std::string & key,
    const std::string & value);
void
setLongInitParameter(const std::string & key,
    long value);

Protected Member Functions

rwsf::ConfigImp &
body() const;

Public Operators

Config &
operator=(const Config & rhs);


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.