bes
Updated for version 3.20.5
|
33 #ifndef BESContainer_h_
34 #define BESContainer_h_ 1
70 string d_symbolic_name;
72 string d_relative_name;
73 string d_container_type;
76 string d_dap4_constraint;
77 string d_dap4_function;
97 BESContainer(
const string &sym_name,
const string &real_name,
const string &type) :
98 d_symbolic_name(sym_name), d_real_name(real_name), d_relative_name(
""), d_container_type(type),
99 d_constraint(
""), d_dap4_constraint(
""), d_dap4_function(
""), d_attributes(
"")
132 d_dap4_constraint = s;
151 d_real_name = real_name;
156 d_relative_name = relative;
166 d_container_type = type;
175 d_attributes = attrs;
190 return d_relative_name;
208 return d_dap4_constraint;
217 return d_dap4_function;
226 return d_symbolic_name;
237 return d_container_type;
261 virtual string access() = 0;
262 virtual bool release() = 0;
264 virtual void dump(ostream &strm)
const;
267 #endif // BESContainer_h_
string get_dap4_function() const
retrieve the constraint expression for this container
string get_symbolic_name() const
retrieve the symbolic name for this container
virtual BESContainer * ptr_duplicate()=0
pure abstract method to duplicate this instances of BESContainer
virtual string access()=0
returns the true name of this container
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.
std::string get_relative_name() const
Get the relative name of the object in this container.
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
void set_dap4_constraint(const string &s)
set the constraint for this container
string get_dap4_constraint() const
retrieve the constraint expression for this container
void set_attributes(const string &attrs)
set desired attributes for 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.
string get_constraint() const
retrieve the constraint expression for this container
string get_container_type() const
retrieve the type of data this container holds, such as cedar or netcdf.
string get_attributes() const
retrieve the attributes desired from this container
A container is something that holds data. E.G., a netcdf file or a database entry.
void set_constraint(const string &s)
set the constraint for this container
void set_relative_name(const std::string &relative)
Set the relative name of the object in this container.
void set_dap4_function(const string &s)
set the constraint for this container
void _duplicate(BESContainer ©_to)
duplicate this instance into the passed container
string get_real_name() const
retrieve the real name for this container, such as a file name.