| 
    BankAndCustomer
    
   | 
 
The base class for container with persistent objects. More...
#include <GloAbstractBaseLot.h>


Public Member Functions | |
| AbstractBaseLot () | |
| virtual | ~AbstractBaseLot () | 
| virtual std::size_t | size () const =0 | 
| virtual bool | inLot (const ObjID &rObjID) const =0 | 
| virtual int | getPersistent (BasePersistent *&prRetVal, const ObjID &prObjID)=0 | 
| virtual int | getPersistent (std::shared_ptr< BasePersistent > &rRetVal, const ObjID &rObjID) | 
| virtual int | setCurrentObject (const BasePersistent &rObject) | 
| virtual int | setCurrentObject (const ObjID &rObjID)=0 | 
| virtual int | setPosition (std::size_t nPosition)=0 | 
  Public Member Functions inherited from glo::CallBack | |
| CallBack () | |
| virtual | ~CallBack () | 
| virtual int | setBase (Base *pBase) | 
| virtual Base * | getBase () const | 
| virtual void | notify (NotifyNote &rNote) | 
| virtual int | getTypeAsString (std::string &rsTypeName) | 
| CallBack & | operator= (const CallBack &rT) | 
| bool | operator== (const CallBack &rT) const | 
| Comparison operator, all attributes are compared.   | |
| bool | operator!= (const CallBack &rT) const | 
| Comparison operator, all attributes are compared.   | |
Private Member Functions | |
| AbstractBaseLot (const AbstractBaseLot &) | |
| AbstractBaseLot & | operator= (const AbstractBaseLot &) | 
Additional Inherited Members | |
  Public Attributes inherited from glo::CallBack | |
| std::string | m_strDebugInfo | 
  Protected Member Functions inherited from glo::CallBack | |
| CallBack (const CallBack &rT) | |
| void | init () | 
| void | deinit () | 
The base class for container with persistent objects.
| glo::AbstractBaseLot::AbstractBaseLot | ( | ) | 
Standard constructor.
      
  | 
  virtual | 
Destructor.
      
  | 
  private | 
The copy constructor is not available.
      
  | 
  pure virtual | 
Returns an object with passed object ID from the container.
| [in,out] | prRetVal | If no error, the fetched object. | 
| [in] | prObjID | The object ID. | 
Implemented in glo::TAllSet< T >, and glo::TAllSet< BankAccount >.
      
  | 
  virtual | 
Returns an object with passed object ID from the container.
| [in,out] | rRetVal | If no error, the fetched object. | 
| [in] | rObjID | The object ID. | 
Reimplemented in glo::TAllSet< T >, and glo::TAllSet< BankAccount >.
      
  | 
  pure virtual | 
Checks in subclasses whether the passed object ID respectively an object with the passed object ID is in the container.
Implemented in glo::BaseAllSet.
      
  | 
  private | 
The assignment operator is not available.
      
  | 
  virtual | 
Sets the internal iterator to the first position of the passed object if in the container.
| [in] | rObject | The current object to be set. | 
      
  | 
  pure virtual | 
Sets the internal iterator to the first position of the object with passed ObjID, if in container.
| [in] | rObjID | The current object ID to be set. | 
Implemented in glo::BaseAllSet.
      
  | 
  pure virtual | 
Sets the internal iterator to the passed position.
| [in] | nPosition | The position to be set. | 
Implemented in glo::BaseAllSet.
      
  | 
  pure virtual | 
Returns in subclasses the number of objects in the container.
Implemented in glo::BaseAllSet.