Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 #ifndef BESContainerStorage_h_
00034 #define BESContainerStorage_h_ 1
00035
00036 #include <string>
00037
00038 using std::string ;
00039
00040 #include "BESObj.h"
00041
00042 class BESContainer ;
00043 class BESInfo ;
00044
00067 class BESContainerStorage : public BESObj
00068 {
00069 protected:
00070 string _my_name ;
00071 virtual void show_container( const string &sym_name,
00072 const string &real_name,
00073 const string &type,
00074 BESInfo &info ) ;
00075
00076 public:
00082 BESContainerStorage( const string &name )
00083 : _my_name( name ) {} ;
00084
00085 virtual ~BESContainerStorage() {} ;
00086
00091 virtual const string & get_name() const { return _my_name ; }
00092
00101 virtual BESContainer * look_for( const string &sym_name ) = 0 ;
00102
00112 virtual void add_container( const string &sym_name,
00113 const string &real_name,
00114 const string &type ) = 0 ;
00115
00124 virtual bool del_container( const string &s_name ) = 0 ;
00125
00133 virtual bool del_containers( ) = 0 ;
00134
00145 virtual void show_containers( BESInfo &info ) = 0 ;
00146
00151 virtual void dump( ostream &strm ) const = 0 ;
00152 };
00153
00154 #endif // BESContainerStorage_h_
00155