33 #ifndef BESContainer_h_ 34 #define BESContainer_h_ 1 63 string _symbolic_name ;
65 string _container_type ;
79 const string &real_name,
81 : _symbolic_name( sym_name ),
82 _real_name( real_name ),
83 _container_type( type )
114 _real_name = real_name ;
124 _container_type = type ;
133 _attributes = attrs ;
161 return _symbolic_name ;
172 return _container_type ;
195 virtual string access() = 0 ;
198 virtual void dump( ostream &strm )
const ;
201 #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
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 _duplicate(BESContainer ©_to)
duplicate this instance into the passed container
void set_attributes(const string &attrs)
set desired attributes for this container
string get_constraint() const
retrieve the constraint expression for this container
string get_real_name() const
retreive 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.
string get_attributes() const
retrieve the attributes desired from 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