46 _context_list[name] = value ;
57 _context_list.erase(name);
75 i = _context_list.find(name);
76 if (i != _context_list.end()) {
91 map<string,string> props ;
99 props[
"name"] = name ;
100 info.
add_tag(
"context", value, &props ) ;
115 << (
void *)
this <<
")" << endl ;
117 if( _context_list.size() )
123 for( ; i != ie; i++ )
map< string, string >::const_iterator Context_citer
maintains the list of registered request handlers for this server
virtual void dump(ostream &strm) const
dumps information about this object
virtual void set_context(const string &name, const string &value)
set context in the BES
virtual void add_tag(const string &tag_name, const string &tag_data, map< string, string > *attrs=0)=0
virtual string get_context(const string &name, bool &found)
retrieve the value of the specified context from the BES
map< string, string >::iterator Context_iter
informational response object
virtual void list_context(BESInfo &info)
Adds all context and their values to the given informational object.
static ostream & LMarg(ostream &strm)
virtual void unset_context(const string &name)
set context in the BES
static BESContextManager * TheManager()