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

rwsf::ConfigBinding

Group:  Configuration Manager


rwsf::ConfigBindingrwsf::HandleBase

Local Index

Members

Header File

#include rwsf/cm/ConfigBinding.h

Description

Class ConfigBinding represents a configuration binding containing three sets of information:

The first structure is used to store the actual data in the ConfigBinding tree. These are simple string values, keyed on names. They are used in the Configuration Manager to store WSDL binding information (input types, SOAP locations, and so on), among other things. They are accessed through the "simple" commands in the API.

The second structure is used to store nested children, which represent "branches" in the ConfigBinding tree. These are used in the Configuration Manager to categorize WSDL binding information (input vs. output types, operation 1's data vs. operation 2's data, and so on), among other things. They are accessed through the "nested" commands in the API.

The third structure is used to store a list of bindings which can take the place of a parent and give a third dimension to the ConfigBinding tree. Different bindings can be used to take the place of a particular node, depending on the circumstance. These are used in the ConfigurationManager to allow for multiple bindings for a particular operation (where only one is applicable, depending on the situation). They are also used by the failover mechanism to persist a list of nodes, messages, etc., where each binding has equal value, but they still must be stored in order, which a map cannot accomplish. They are accessed through the "multi" commands in the API.

Public Constructors

ConfigBinding();
ConfigBinding(const ConfigBinding & cb);
ConfigBinding(ConfigBindingImp * imp);

Public Destructors

~ConfigBinding();

Public Static Member Functions

ConfigBinding
make();
ConfigBinding
make(const std::string & type);

Public Member Functions

void
addMultiBinding(const ConfigBinding & binding);
void
clear();
void
clearMultiBindings();
void
clearNestedBindings();
void
clearSimpleBindings();
ConfigBinding
getMultiBinding(unsigned int i) const;
int
getMultiBindingSize() const;
ConfigBinding
getNestedBinding(const std::string & key) const;
std::list< std::string >
getNestedKeyNames() const;
std::list< std::string >
getSimpleKeyNames() const;
std::string
getSimpleValue(const std::string & key) const;
std::string
getType() const;
void
removeMultiBinding(unsigned int i);
void
removeNestedBinding(const std::string & key);
void
removeSimpleValue(const std::string & key);
void
setMultiBinding(unsigned int i,
    const ConfigBinding & binding);
void
setNestedBinding(const std::string & key,
    const ConfigBinding & binding);
void
setSimpleValue(const std::string & key,
    const std::string & value);
void
setType(const std::string &);

Public Operators

ConfigBinding &
operator=(const ConfigBinding & cb);


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.