RSC  0.17.1
rsc::config::PropertyHandler Class Reference

This implementation of the OptionHandler interface stores all options it receives into a runtime::Properties object. More...

#include <PropertyHandler.h>

Inheritance diagram for rsc::config::PropertyHandler:
Inheritance graph
Collaboration diagram for rsc::config::PropertyHandler:
Collaboration graph

Public Member Functions

void handleOption (const std::vector< std::string > &key, const std::string &value)
 This method is called once for each individual option available from a given ConfigSource. More...
 
const runtime::PropertiesgetProperties () const
 Returns the runtime::Properties object constructed by this handler. More...
 
- Public Member Functions inherited from rsc::config::OptionHandler
virtual ~OptionHandler ()
 

Private Attributes

runtime::Properties result
 

Detailed Description

This implementation of the OptionHandler interface stores all options it receives into a runtime::Properties object.

Author
jmoringe

Definition at line 42 of file PropertyHandler.h.

Member Function Documentation

const Properties & rsc::config::PropertyHandler::getProperties ( ) const

Returns the runtime::Properties object constructed by this handler.

Returns
A constant reference to the properties.

Definition at line 36 of file PropertyHandler.cpp.

void rsc::config::PropertyHandler::handleOption ( const std::vector< std::string > &  key,
const std::string &  value 
)
virtual

This method is called once for each individual option available from a given ConfigSource.

Parameters
keyA list of hierarchical key components that identify the option.
valueThe value of the option.

Implements rsc::config::OptionHandler.

Definition at line 40 of file PropertyHandler.cpp.

Member Data Documentation

runtime::Properties rsc::config::PropertyHandler::result
private

Definition at line 53 of file PropertyHandler.h.


The documentation for this class was generated from the following files: