User Manual, Developers Guide and API Documentation

wns::probe::bus::IContext Class Reference

Interface for the Context Container. More...

#include <probe/bus/Context.hpp>

Inheritance diagram for wns::probe::bus::IContext:

Inheritance graph
[legend]
Collaboration diagram for wns::probe::bus::IContext:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual int getInt (const std::string &key) const =0
 get integer value stored under 'key'
virtual std::string getString (const std::string &key) const =0
 get string value stored under 'key'
virtual void insert (const std::string &key, const std::string &)=0
virtual void insert (const std::string &key, int value)=0
virtual void insertInt (const std::string &key, int value)=0
 inserts an integer value under the given key (thereby checking that no duplicates exist)
virtual void insertString (const std::string &key, const std::string &value)=0
 inserts a string value under the given key (thereby checking that no duplicates exist)
virtual bool isInt (const std::string &key) const =0
 Test if value stored under 'key' is of type integer.
virtual bool isString (const std::string &key) const =0
 Test if value stored under 'key' is of type integer.
virtual bool knows (const std::string &key) const =0
 returns whether an element with the given key exists in the Context
virtual ~IContext ()


Detailed Description

Todo:
pab: Add setter/getter methods for other PODs (i.e. double and bool)

Definition at line 83 of file Context.hpp.


Constructor & Destructor Documentation

virtual wns::probe::bus::IContext::~IContext (  )  [inline, virtual]

Definition at line 87 of file Context.hpp.


Member Function Documentation

virtual int wns::probe::bus::IContext::getInt ( const std::string &  key  )  const [pure virtual]

Implemented in wns::probe::bus::Context.

virtual std::string wns::probe::bus::IContext::getString ( const std::string &  key  )  const [pure virtual]

Implemented in wns::probe::bus::Context.

virtual void wns::probe::bus::IContext::insert ( const std::string &  key,
const std::string &   
) [pure virtual]

Implemented in wns::probe::bus::Context.

virtual void wns::probe::bus::IContext::insert ( const std::string &  key,
int  value 
) [pure virtual]

Implemented in wns::probe::bus::Context.

virtual void wns::probe::bus::IContext::insertInt ( const std::string &  key,
int  value 
) [pure virtual]

Implemented in wns::probe::bus::Context.

virtual void wns::probe::bus::IContext::insertString ( const std::string &  key,
const std::string &  value 
) [pure virtual]

Implemented in wns::probe::bus::Context.

virtual bool wns::probe::bus::IContext::isInt ( const std::string &  key  )  const [pure virtual]

Implemented in wns::probe::bus::Context.

virtual bool wns::probe::bus::IContext::isString ( const std::string &  key  )  const [pure virtual]

Implemented in wns::probe::bus::Context.

virtual bool wns::probe::bus::IContext::knows ( const std::string &  key  )  const [pure virtual]

Implemented in wns::probe::bus::Context.


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

Generated on Sun May 27 03:33:01 2012 for openWNS by  doxygen 1.5.5