Introduction
Not all available classes of GlobalObjects are important to every GlobalObjects user. This chapter lists the most important GlobalObjects classes with their most important methods that the user of GlobalObjects will encounter.
Class glo::Persistent
glo::Persistent is the class from which all persistent classes must be derived. The most important methods are listed below:
Class glo::Base
glo::Base is the interface to the object database of GlobalObjects. Here operations in the object database can be done. The most important methods are listed below:
Repair methods:
Class glo::TAllSet
With the glo::TAllSet (template class) all stored objects of a class in the object database can be accessed.
-
glo::TAllSet( glo::Base &rBase )
-
int glo::TAllSet::get( T *&prRetVal, glo::EnSeekMode eMode )
-
int glo::TAllSet::get( std::shared_ptr<T> & rRetVal, glo::EnSeekMode eMode )
-
int glo::TAllSet::get( glo::ObjID &rObjID, T *&prRetVal, glo::EnSeekMode eMode )
-
int glo::TAllSet::get( glo::ObjID & rObjID, std::shared_ptr<T> & rRetVal, glo::EnSeekMode eMode )
-
int glo::TAllSet::get(T *&prRetVal, const glo::ObjID &rObjID )
-
int glo::TAllSet::get( std::shared_ptr<T> & rRetVal, const glo::ObjID & rObjID )
-
int glo::TAllSet::getOndemand( glo::TOndemand< T > *&prRetVal, glo::EnSeekMode eMode )
-
int glo::TAllSet::getOndemand( glo::TOndemand< T > &rRetVal, glo::EnSeekMode eMode )
-
int glo::TAllSet::getIndexedOndemands( std::vector< glo::TOndemand<T> > & rOndemandVector, const std::string & rsIndex, glo::EnQueryType eQuerryType )
-
int glo::TAllSet::getIndexedOndemands( std::vector< glo::TOndemand<T> > & rOndemandVector, const std::string & rsIndex, glo::EnComparisionOp eComparisionOp )
-
int glo::TAllSet::getIndexedOndemands( std::vector< glo::TOndemand<T> > & rOndemandVector, const std::string & rsRangeStartIndex, const std::string & rsRangeEndIndex )
-
virtual int glo::TAllSet::setWatch( glo::TdWatchNotifyMode iWatchMode, glo::CallBack *pCallBack )
-
virtual int glo::TAllSet::unsetWatch( glo::TdWatchNotifyMode iWatchMode, glo::CallBack *pCallBack )
Class glo::CallBack
A strong feature of GlobalObjects is the ability to have objects observed and let call a self-defined method when changes are made. This is possible in single and multi-user operation. This can easily be realized by a derived class of glo::CallBack. See also Watching / Notifying Persistent Objects.
- See also
- Example class derived from glo::CallBack.
The authoritative method to override is glo::CallBack::notify( glo::NotifyNote & rNote ).