00001 #ifndef CDBBDBSHARED_ORIGIN_COLLECTION_P_HH 00002 #define CDBBDBSHARED_ORIGIN_COLLECTION_P_HH 00003 00004 // File and Version Information: 00005 // $Id: CdbBdbSOriginCollectionP.ddl,v 1.7 2004/12/08 09:26:54 gapon Exp $ 00006 00007 #include "CdbBdbShared/CdbBdbSCollectionP.hh" 00008 00009 /// Persistent collection of persistent "origins" 00010 /** 00011 */ 00012 class CdbBdbSOriginCollectionP : public CdbBdbSCollectionP { 00013 00014 public: 00015 00016 // Bring the type definitions from the base class into the scope 00017 // of the current one 00018 00019 // using CdbBdbSCollectionP::IteratorOfNames; 00020 // using CdbBdbSCollectionP::IteratorOfIdentifiers; 00021 00022 public: 00023 00024 /// Default constructor 00025 /** 00026 * Initializes empty collection. 00027 */ 00028 CdbBdbSOriginCollectionP( ); 00029 00030 /// Destructor 00031 00032 virtual ~CdbBdbSOriginCollectionP( ); 00033 00034 /// Insert an element 00035 /** 00036 * Override the method of the base class to perform additional tests 00037 * which are important in the current context. 00038 * 00039 * @see CdbBdbSCollectionP::insert() 00040 */ 00041 virtual CdbStatus insert( const BdbRef( CdbBdbSCollectionElementP )& theRef ); 00042 }; 00043 00044 #endif /* CDBBDBSHARED_ORIGIN_COLLECTION_P_HH */
1.3-rc3