37 #define BES_DEFAULT_INFO_TYPE "txt"
53 BESInfoList::Info_citer i ;
54 i = _info_list.find( info_type ) ;
55 if( i == _info_list.end() )
57 _info_list[info_type] = info_builder ;
66 BESInfoList::Info_iter i ;
67 i = _info_list.find( info_type ) ;
68 if( i != _info_list.end() )
70 _info_list.erase( i ) ;
79 string info_type =
"" ;
83 if( !found || info_type ==
"" )
86 BESInfoList::Info_citer i ;
87 i = _info_list.find( info_type ) ;
88 if( i != _info_list.end() )
93 return p( info_type ) ;
110 << (
void *)
this <<
")" << endl ;
112 if( _info_list.size() )
116 BESInfoList::Info_citer i = _info_list.begin() ;
117 BESInfoList::Info_citer ie = _info_list.end() ;
118 for( ; i != ie; i++ )
virtual BESInfo * build_info()
static BESInfoList * TheList()
virtual bool rem_info_builder(const string &info_type)
virtual void dump(ostream &strm) const
Displays debug information about this object.
virtual void dump(ostream &strm) const
dumps information about this object
informational response object
static ostream & LMarg(ostream &strm)
BESInfo *(* p_info_builder)(const string &info_type)
#define BES_DEFAULT_INFO_TYPE
virtual bool add_info_builder(const string &info_type, p_info_builder info_builder)
virtual ~BESInfoList(void)
void get_value(const string &s, string &val, bool &found)
Retrieve the value of a given key, if set.
static BESKeys * TheKeys()