Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

IDbContainer Class Reference

Db objects: IDbContainer interface. More...

#include <IOODataBase.h>

Inheritance diagram for IDbContainer:

DbContainerImplementation List of all members.

Private Methods

virtual void release () = 0
 Release the technology specific implementation.

virtual long size () const = 0
 Access to container size.

virtual DbResult close () const = 0
 Close the container.

virtual DbResult open (const dbHandle<DbDataBase>& dbH, const std::string& name, const DbTypeInfo& info, DbAccessMode mode) const = 0
 Open the container.

virtual DbResult select (ISelectStatement* criteria) const = 0
 Define selection criteria.

virtual DbResult unselect () const = 0
 Reset selection.

virtual DbResult find (const dbHandle<DbContainer>& cntH, dbHandle<DbObject>& handle, const dbHandle<DbLink>& link) const = 0
 Find object within the container.

virtual DbResult addEntry (const dbHandle<DbObject>& handle) = 0
 Add object to the container.

virtual DbResult updateEntry (const dbHandle<DbObject>& handle) = 0
 Add object to the container.

virtual IDbCursormakeCursor () const = 0
 Create iterator cursor to loop over container elements.


Private Attributes

friend DbContainer
 Only the container can access this stuff. More...


Detailed Description

Db objects: IDbContainer interface.

Description: Interface to the implementation specific part of a container object objects.

Dependencies:

History :

    +---------+----------------------------------------------+--------+
    |    Date |                 Comment                      | Who    |
    +---------+----------------------------------------------+--------+
    | 21/09/99| Initial version.                             | MF     |
    +---------+----------------------------------------------+--------+
    
Author: M.Frank Version: 1.0

Definition at line 243 of file IOODataBase.h.


Member Function Documentation

DbResult IDbContainer::addEntry ( const dbHandle< DbObject >& handle ) [private, pure virtual]
 

Add object to the container.

Referenced by DbContainer::addEntry().

DbResult IDbContainer::close ( ) const [private, pure virtual]
 

Close the container.

DbResult IDbContainer::find ( const dbHandle< DbContainer >& cntH,
dbHandle< DbObject >& handle,
const dbHandle< DbLink >& link ) const [private, pure virtual]
 

Find object within the container.

IDbCursor * IDbContainer::makeCursor ( ) const [private, pure virtual]
 

Create iterator cursor to loop over container elements.

DbResult IDbContainer::open ( const dbHandle< DbDataBase >& dbH,
const std::string & name,
const DbTypeInfo & info,
DbAccessMode mode ) const [private, pure virtual]
 

Open the container.

void IDbContainer::release ( ) [private, pure virtual]
 

Release the technology specific implementation.

Reimplemented in DbContainerImplementation.

Referenced by DbContainer::~DbContainer().

DbResult IDbContainer::select ( ISelectStatement * criteria ) const [private, pure virtual]
 

Define selection criteria.

long IDbContainer::size ( ) const [private, pure virtual]
 

Access to container size.

DbResult IDbContainer::unselect ( ) const [private, pure virtual]
 

Reset selection.

DbResult IDbContainer::updateEntry ( const dbHandle< DbObject >& handle ) [private, pure virtual]
 

Add object to the container.

Referenced by DbContainer::updateEntry().


Member Data Documentation

DbContainer [private]
 

Only the container can access this stuff.

Definition at line 245 of file IOODataBase.h.


The documentation for this class was generated from the following file:
Generated at Wed Nov 21 12:22:23 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000