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;
virtual BESContainer * look_for(const std::string &sym_name)
looks for the specified container using the symbolic name passed
virtual void show_containers(BESInfo &info)
show information for each container in this persistent store
virtual bool del_container(const std::string &s_name)
removes a container with the given symbolic name from the list and deletes it.
virtual bool isData(const std::string &inQuestion, std::list< std::string > &provides)
determine if the given container is data and what services are available for it
BESContainerStorageVolatile(const std::string &n)
create an instance of this persistent store with the given name.
virtual bool del_containers()
removes all 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
BESContainerStorage(const std::string &name)
create an instance of BESContainerStorage with the given name.
A container is something that holds data. E.G., a netcdf file or a database entry.
informational response object