10 #include <framework/database/DBAccessorBase.h> 
   31     explicit DBObjPtr(
const std::string& name = 
"", 
bool required = 
true):
 
   34     inline const T& 
operator *()
  const {
return *getObject<T>(); }  
 
Base class for DBObjPtr and DBArray for easier common treatment.
Class for accessing objects in the database.
const T & operator*() const
Imitate pointer functionality.
const T * operator->() const
Imitate pointer functionality.
DBObjPtr(const std::string &name="", bool required=true)
Constructor to access an object in the DBStore.
Singleton class to cache database objects.
Optional DBObjPtr: This class behaves the same as the DBObjPtr except that it will not raise errors w...
OptionalDBObjPtr(const std::string &name="")
Construct a new Array with a given name or with the default name which is identical to the class name...
Abstract base class for different kinds of events.