bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
|
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 std::string &def_name, BESDefine *d) |
adds a given definition to this volatile storage | |
BESDefinitionStorageVolatile (const std::string &name) | |
create an instance of BESDefinitionStorageVolatile with the give name. | |
virtual bool | del_definition (const std::string &def_name) |
deletes a defintion with the given name from this volatile store | |
virtual bool | del_definitions () |
deletes all defintions from the definition store | |
virtual void | dump (std::ostream &strm) const |
dumps information about this object | |
virtual const std::string & | get_name () const |
retrieve the name of this persistent store | |
virtual BESDefine * | look_for (const std::string &def_name) |
looks for a definition in this volatile store with the given name | |
virtual void | show_definitions (BESInfo &info) |
show the definitions stored in this store | |
Protected Attributes | |
std::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 55 of file BESDefinitionStorageVolatile.h.
|
inline |
create an instance of BESDefinitionStorageVolatile with the give name.
name | name of this persistence store |
Definition at line 66 of file BESDefinitionStorageVolatile.h.
|
virtual |
Definition at line 41 of file BESDefinitionStorageVolatile.cc.
|
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 70 of file BESDefinitionStorageVolatile.cc.
|
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 87 of file BESDefinitionStorageVolatile.cc.
|
virtual |
deletes all defintions from the definition store
Implements BESDefinitionStorage.
Definition at line 105 of file BESDefinitionStorageVolatile.cc.
|
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 187 of file BESDefinitionStorageVolatile.cc.
|
inlinevirtualinherited |
retrieve the name of this persistent store
Definition at line 82 of file BESDefinitionStorage.h.
|
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 53 of file BESDefinitionStorageVolatile.cc.
|
virtual |
show the definitions stored in this store
Add information to the passed information object about each of the definitions stored within this definition 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 128 of file BESDefinitionStorageVolatile.cc.
|
protectedinherited |
Definition at line 65 of file BESDefinitionStorage.h.