OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
provides volatile storage for a specific definition/view of different containers including contraints and aggregation. More...
#include <BESDefinitionStorageVolatile.h>
Public Member Functions | |
virtual bool | add_definition (const string &def_name, BESDefine *d) |
adds a given definition to this volatile storage More... | |
BESDefinitionStorageVolatile (const string &name) | |
create an instance of BESDefinitionStorageVolatile with the give name. More... | |
virtual bool | del_definition (const string &def_name) |
deletes a defintion with the given name from this volatile store More... | |
virtual bool | del_definitions () |
deletes all defintions from the definition store More... | |
virtual void | dump (ostream &strm) const |
dumps information about this object More... | |
virtual const string & | get_name () const |
retrieve the name of this persistent store More... | |
virtual BESDefine * | look_for (const string &def_name) |
looks for a definition in this volatile store with the given name More... | |
virtual void | show_definitions (BESInfo &info) |
show the defintions stored in this store More... | |
virtual | ~BESDefinitionStorageVolatile () |
Protected Attributes | |
string | _my_name |
provides volatile storage for a specific definition/view of different containers including contraints and aggregation.
An implementation of the abstract interface BESDefinitionStorage provides volatile storage for a definition, or view, of a set of data including possibly constraints on each of those containers and possibly aggregation of those containers.
Definition at line 58 of file BESDefinitionStorageVolatile.h.
|
inline |
create an instance of BESDefinitionStorageVolatile with the give name.
name | name of this persistence store |
Definition at line 70 of file BESDefinitionStorageVolatile.h.
|
virtual |
Definition at line 37 of file BESDefinitionStorageVolatile.cc.
References del_definitions().
|
virtual |
adds a given definition to this volatile storage
This method adds a definition to the definition store
def_name | name of the definition to add |
d | definition to add |
Implements BESDefinitionStorage.
Definition at line 68 of file BESDefinitionStorageVolatile.cc.
References look_for().
|
virtual |
deletes a defintion with the given name from this volatile store
This method deletes a definition from the definition store with the given name.
def_name | name of the defintion to delete |
Implements BESDefinitionStorage.
Definition at line 88 of file BESDefinitionStorageVolatile.cc.
|
virtual |
deletes all defintions from the definition store
Implements BESDefinitionStorage.
Definition at line 108 of file BESDefinitionStorageVolatile.cc.
Referenced by ~BESDefinitionStorageVolatile().
|
virtual |
dumps information about this object
Displays the pointer value of this instance along with all the definition stored in this instance.
strm | C++ i/o stream to dump the information to |
Implements BESDefinitionStorage.
Definition at line 193 of file BESDefinitionStorageVolatile.cc.
References BESDefinitionStorage::get_name(), BESIndent::Indent(), BESIndent::LMarg(), and BESIndent::UnIndent().
|
inlinevirtualinherited |
retrieve the name of this persistent store
Definition at line 84 of file BESDefinitionStorage.h.
References BESDefinitionStorage::_my_name.
Referenced by BESDefinitionStorageList::add_persistence(), and dump().
|
virtual |
looks for a definition in this volatile store with the given name
def_name | name of the definition to look for |
Implements BESDefinitionStorage.
Definition at line 49 of file BESDefinitionStorageVolatile.cc.
Referenced by add_definition().
|
virtual |
show the defintions stored in this store
Add information to the passed information object about each of the defintions stored within this defintion store. The information added to the passed information objects includes the name of this persistent store on the first line followed by the information for each definition on the following lines, one per line.
info | information object to store the information in |
Implements BESDefinitionStorage.
Definition at line 134 of file BESDefinitionStorageVolatile.cc.
References BESInfo::add_tag(), BESInfo::begin_tag(), BESDefine::end_container(), BESInfo::end_tag(), BESDefine::first_container(), BESDefine::get_agg_cmd(), and BESDefine::get_agg_handler().
|
protectedinherited |
Definition at line 67 of file BESDefinitionStorage.h.
Referenced by BESDefinitionStorage::get_name().