![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <probe/bus/Context.hpp>


Public Member Functions | |
| Context () | |
| virtual int | getInt (const std::string &key) const |
| get integer value stored under 'key' | |
| virtual std::string | getString (const std::string &key) const |
| get string value stored under 'key' | |
| virtual void | insert (const std::string &key, const std::string &) |
| virtual void | insert (const std::string &key, int value) |
| virtual void | insertInt (const std::string &key, int value) |
| 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) |
| inserts a string value under the given key (thereby checking that no duplicates exist) | |
| virtual bool | isInt (const std::string &key) const |
| Test if value stored under 'key' is of type integer. | |
| virtual bool | isString (const std::string &key) const |
| Test if value stored under 'key' is of type integer. | |
| virtual bool | knows (const std::string &key) const |
| returns whether an element with the given key exists in the Context | |
| ~Context () | |
Private Member Functions | |
| virtual std::string | doToString () const |
| Overload to customize the representation of your class. | |
Private Attributes | |
| wns::pyconfig::Object | pyDict_ |
Friends | |
| class | PythonProbeBus |
Definition at line 141 of file Context.hpp.
| Context::Context | ( | ) |
Definition at line 37 of file Context.cpp.
| Context::~Context | ( | ) |
Definition at line 45 of file Context.cpp.
| std::string Context::doToString | ( | ) | const [private, virtual] |
| int Context::getInt | ( | const std::string & | key | ) | const [virtual] |
| std::string Context::getString | ( | const std::string & | key | ) | const [virtual] |
| void Context::insert | ( | const std::string & | key, | |
| const std::string & | value | |||
| ) | [virtual] |
| void Context::insert | ( | const std::string & | key, | |
| int | value | |||
| ) | [virtual] |
| void Context::insertInt | ( | const std::string & | key, | |
| int | value | |||
| ) | [virtual] |
| void Context::insertString | ( | const std::string & | key, | |
| const std::string & | value | |||
| ) | [virtual] |
| bool Context::isInt | ( | const std::string & | key | ) | const [virtual] |
| bool Context::isString | ( | const std::string & | key | ) | const [virtual] |
| bool Context::knows | ( | const std::string & | key | ) | const [virtual] |
friend class PythonProbeBus [friend] |
Definition at line 145 of file Context.hpp.
Definition at line 182 of file Context.hpp.
1.5.5