33 #ifndef I_BESContainerStorageFile_h_ 34 #define I_BESContainerStorageFile_h_ 1 74 typedef struct _container
76 string _symbolic_name ;
78 string _container_type ;
80 map< string, BESContainerStorageFile::container * > _container_list ;
81 typedef map< string, BESContainerStorageFile::container * >::const_iterator Container_citer ;
82 typedef map< string, BESContainerStorageFile::container * >::iterator Container_iter ;
90 const string &real_name,
91 const string &type ) ;
97 virtual void dump( ostream &strm )
const ;
100 #endif // I_BESContainerStorageFile_h_ virtual ~BESContainerStorageFile()
provides persistent storage for data storage information represented by a container.
virtual bool del_container(const string &s_name)
removes a container with the given symbolic name
virtual void show_containers(BESInfo &info)
show information for each container in this persistent store
virtual void dump(ostream &strm) const
dumps information about this object
informational response object
virtual void add_container(const string &sym_name, const string &real_name, const string &type)
adds a container with the provided information
implementation of BESContainerStorage that represents a way to read container information from a file...
virtual BESContainer * look_for(const string &sym_name)
looks for the specified container in the list of containers loaded from the file. ...
virtual bool del_containers()
removes all containers
A container is something that holds data.
BESContainerStorageFile(const string &n)
pull container information from the specified file