34 #ifndef BESContainerStorageVolatile_h_ 35 #define BESContainerStorageVolatile_h_ 1 43 #include "BESContainerStorage.h" 60 map<string, BESContainer *> _container_list;
63 bool _follow_sym_links;
70 typedef map<string, BESContainer *>::const_iterator Container_citer;
71 typedef map<string, BESContainer *>::iterator Container_iter;
73 virtual void add_container(
const string &sym_name,
const string &real_name,
const string &type);
77 virtual bool isData(
const string &inQuestion, list<string> &provides);
81 virtual void dump(ostream &strm)
const;
84 #endif // BESContainerStorageVolatile_h_ provides persistent storage for data storage information represented by a container.
virtual BESContainer * look_for(const string &sym_name)
looks for the specified container using the symbolic name passed
implementation of BESContainerStorage that stores containers in memory for the duration of this proce...
virtual void dump(ostream &strm) const
dumps information about this object
virtual void add_container(BESContainer *c)
add the passed container to the list of containers in volatile storage
virtual void show_containers(BESInfo &info)
show information for each container in this persistent store
informational response object
virtual bool del_container(const string &s_name)
removes a container with the given symbolic name from the list and deletes it.
BESContainerStorageVolatile(const string &n)
create an instance of this persistent store with the given name.
virtual bool del_containers()
removes all container
A container is something that holds data. I.E. a netcdf file or a database entry.
virtual bool isData(const string &inQuestion, list< string > &provides)
determine if the given container is data and what servies are available for it