33 #ifndef BESContainer_h_ 34 #define BESContainer_h_ 1 62 string _symbolic_name;
64 string _container_type;
66 string _dap4_constraint;
67 string _dap4_function;
81 BESContainer(
const string &sym_name,
const string &real_name,
const string &type) :
82 _symbolic_name(sym_name), _real_name(real_name), _container_type(type)
115 _dap4_constraint = s;
134 _real_name = real_name;
144 _container_type = type;
181 return _dap4_constraint;
190 return _dap4_function;
199 return _symbolic_name;
210 return _container_type;
233 virtual string access() = 0;
234 virtual bool release() = 0;
236 virtual void dump(ostream &strm)
const;
239 #endif // BESContainer_h_ void set_real_name(const string &real_name)
set the real name for this container, such as a file name if reading a data file.
BESContainer(const string &sym_name, const string &real_name, const string &type)
construct a container with the given symbolic name, real name and container type.
virtual void dump(ostream &strm) const
dumps information about this object
string get_dap4_constraint() const
retrieve the constraint expression for this container
virtual string access()=0
returns the true name of this container
Base object for bes objects.
void set_container_type(const string &type)
set the type of data that this container represents, such as cedar or netcdf.
void set_constraint(const string &s)
set the constraint for this container
void set_dap4_constraint(const string &s)
set the constraint for this container
void _duplicate(BESContainer ©_to)
duplicate this instance into the passed container
void set_attributes(const string &attrs)
set desired attributes for this container
void set_dap4_function(const string &s)
set the constraint for this container
string get_constraint() const
retrieve the constraint expression for this container
string get_real_name() const
retrieve the real name for this container, such as a file name.
string get_container_type() const
retrieve the type of data this container holds, such as cedar or netcdf.
A container is something that holds data. I.E. a netcdf file or a database entry.
string get_attributes() const
retrieve the attributes desired from this container
string get_dap4_function() const
retrieve the constraint expression for this container
virtual BESContainer * ptr_duplicate()=0
pure abstract method to duplicate this instances of BESContainer
string get_symbolic_name() const
retrieve the symbolic name for this container