33 #ifndef I_BESContainerStorageFile_h_
34 #define I_BESContainerStorageFile_h_ 1
73 typedef struct _container {
74 string _symbolic_name;
76 string _container_type;
78 map<string, BESContainerStorageFile::container *> _container_list;
79 typedef map<string, BESContainerStorageFile::container *>::const_iterator Container_citer;
80 typedef map<string, BESContainerStorageFile::container *>::iterator Container_iter;
87 virtual void add_container(
const string &sym_name,
const string &real_name,
const string &type);
91 virtual bool isData(
const string &inQuestion, list<string> &provides);
95 virtual void dump(ostream &strm)
const;
98 #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
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 bool isData(const string &inQuestion, list< string > &provides)
determine if the given container is data and what servies are available for it
virtual BESContainer * look_for(const string &sym_name)
looks for the specified container in the list of containers loaded from the file. ...
virtual void dump(ostream &strm) const
dumps information about this object
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