Persistent object list manager class template manager class support for classes derived from <Class>DataId
template < class classType >
Inherited from:
IBase
|
+----IVBase
|
+----INotifier
|
+----IStandardNotifier
|
+----IDAManager
|
+----<Class>DataIdManagerBase
|
+----<Class>DataIdManagerTemplate
Inherited by:
<Class>DataIdManagerTemplate | +----<Class>DataIdManager
Public Methods by Category
public: <Class>DataIdManagerTemplate(const INumber i=100) : <Class>DataIdManagerBase( 0, new classType, (_seqType*) new sequenceType(i) ); <Class>DataIdManagerTemplate(const <Class>DataIdManagerTemplate < classType >& aManager, const INumber i=100 ) : <Class>DataIdManagerBase( aManager, new classType(*(aManager.element())), (_seqType*) new sequenceType(i) ); <Class>DataIdManagerTemplate( IDatastorexxx* dsm, const INumber i = 100 ) : <Class>DataIdManagerBase(dsm, new classType, (_seqType*) new sequenceType(i) );
Supported Platforms Windows OS/2 AIX Y Y Y
public: virtual ~<Class>DataIdManagerTemplate();
Supported Platforms Windows OS/2 AIX Y Y Y
public: virtual unsigned append(unsigned Number = 0); virtual unsigned append(IACollection<elementType> *aCollection, unsigned Number=0)
Use this method to append the passed-in number of rows from the cursor's current position to the internal collection that was created by the last fill call. In order to use this method, a cursor must be open and the fill method must have been used to create an internal collection. If you pass in 0 (zero), it will append all remaining rows to the collection. This method returns an unsigned integer value indicating the number of rows fetched. Each time you call the append method, it adds more rows to the end of the internal collection.
If you pass in a collection object, the rows will be appended to that collection.
Supported Platforms Windows OS/2 AIX Y Y Y
public: virtual classType* element() const;
This method returns a pointer to the currently-fetched object.
Supported Platforms Windows OS/2 AIX Y Y Y
public: virtual sequenceType* items() const;
Use this method to retrieve a pointer to the collection of objects retrieved by the manager.
Supported Platforms Windows OS/2 AIX Y Y Y
public: virtual managerCursor cursorFor() const;
Use this method to return a cursor for the internal collection. Use this method after you have used the select method to retrieve rows to use cursor methods such as fetchNext.
Supported Platforms Windows OS/2 AIX Y Y Y
Public Operators
public: <Class>DataIdManagerTemplate< classType >& operator= (const <Class>DataIdManagerTemplate< classType >& aManager);
Supported Platforms Windows OS/2 AIX Y Y Y
Public Types
public: typedef IVSequence<classType*> sequenceType;This type represents a sequence of objects from the generated class, <class>, or if you are deriving another class from <class>, then it is a sequence of objects from the derived class.
Supported Platforms Windows OS/2 AIX Y Y Y
public: typedef sequenceType::Cursor managerCursor;This is a cursor for sequenceType.
Supported Platforms Windows OS/2 AIX Y Y Y
Protected Functions
protected: virtual void postAddProcess( classType* obj );
Override this method to add behavior to each derived object after it is retrieved from the datastore by the <Class>DataIdManagerTemplate.
Supported Platforms Windows OS/2 AIX Y Y Y
Protected Types
protected: typedef IMngElemPointer < classType > elementType;This is an element of sequenceType.
Supported Platforms Windows OS/2 AIX Y Y Y
Inherited from IDAManager:
Public Functions
Public Data
Inherited from <Class>DataIdManagerBase:
Public Functions
Public Data
Protected Functions
