bes
Updated for version 3.20.6
|
34 #ifndef BESContainerStorageVolatile_h_
35 #define BESContainerStorageVolatile_h_ 1
42 #include "BESContainerStorage.h"
59 std::map<std::string, BESContainer *> _container_list;
62 std::string _root_dir;
63 bool _follow_sym_links;
70 typedef std::map<std::string, BESContainer *>::const_iterator Container_citer;
71 typedef std::map<std::string, BESContainer *>::iterator Container_iter;
74 virtual void add_container(
const std::string &sym_name,
const std::string &real_name,
const std::string &type);
78 virtual bool isData(
const std::string &inQuestion, std::list<std::string> &provides);
82 virtual void dump(std::ostream &strm)
const;
85 #endif // BESContainerStorageVolatile_h_
virtual bool isData(const std::string &inQuestion, std::list< std::string > &provides)
determine if the given container is data and what servies are available for it
provides persistent storage for data storage information represented by a container.
virtual void dump(std::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
informational response object
virtual BESContainer * look_for(const std::string &sym_name)
looks for the specified container using the symbolic name passed
virtual bool del_containers()
removes all container
implementation of BESContainerStorage that stores containers in memory for the duration of this proce...
BESContainerStorageVolatile(const std::string &n)
create an instance of this persistent store with the given name.
virtual void show_containers(BESInfo &info)
show information for each container in this persistent store
A container is something that holds data. E.G., a netcdf file or a database entry.
virtual bool del_container(const std::string &s_name)
removes a container with the given symbolic name from the list and deletes it.