33#ifndef I_BESContainerStorageFile_h_
34#define I_BESContainerStorageFile_h_ 1
40#include "BESContainerStorage.h"
71 typedef struct _container {
72 std::string _symbolic_name;
73 std::string _real_name;
74 std::string _container_type;
76 std::map<std::string, BESContainerStorageFile::container *> _container_list;
77 typedef std::map<std::string, BESContainerStorageFile::container *>::const_iterator Container_citer;
78 typedef std::map<std::string, BESContainerStorageFile::container *>::iterator Container_iter;
85 virtual void add_container(
const std::string &sym_name,
const std::string &real_name,
const std::string &type);
90 virtual bool isData(
const std::string &inQuestion, std::list<std::string> &provides);
94 virtual void dump(std::ostream &strm)
const;
virtual void show_containers(BESInfo &info)
show information for each container in this persistent store
virtual void add_container(const std::string &sym_name, const std::string &real_name, const std::string &type)
adds a container with the provided information
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
virtual BESContainer * look_for(const std::string &sym_name)
looks for the specified container in the list of containers loaded from the file.
virtual bool del_container(const std::string &s_name)
removes a container with the given symbolic name
BESContainerStorageFile(const std::string &n)
pull container information from the specified file
virtual bool del_containers()
removes all containers
virtual void dump(std::ostream &strm) const
dumps information about this object
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