33 #ifndef I_BESContainerStorageFile_h_ 34 #define I_BESContainerStorageFile_h_ 1 43 #include "BESContainerStorage.h" 74 typedef struct _container {
75 string _symbolic_name;
77 string _container_type;
79 map<string, BESContainerStorageFile::container *> _container_list;
80 typedef map<string, BESContainerStorageFile::container *>::const_iterator Container_citer;
81 typedef map<string, BESContainerStorageFile::container *>::iterator Container_iter;
88 virtual void add_container(
const string &sym_name,
const string &real_name,
const string &type);
93 virtual bool isData(
const string &inQuestion, std::list<string> &provides);
97 virtual void dump(ostream &strm)
const;
100 #endif // I_BESContainerStorageFile_h_ provides persistent storage for data storage information represented by a container.
virtual bool isData(const string &inQuestion, std::list< string > &provides)
determine if the given container is data and what servies are available for it
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. E.G., a netcdf file or a database entry.
BESContainerStorageFile(const string &n)
pull container information from the specified file