Index

DKDatastoreDefIP

Purpose:

The DKDatastoreDefIP class stores the ImagePlus for OS/390 datastore metadata and provides methods to access this data. The metadata is represented as a collection of dkEntityDefs of type DKEntityDefIP. This class also provides methods to list entity definitions and to list entity attributes. The addition and deletion of entity definitions is not supported for ImagePlus for OS/390.

Class summary:

class DKDatastoreDefIP : public dkDatastoreDef
{
  public:
   DKDatastoreDefIP(dkDatastore *ds);
 
   virtual ~DKDatastoreDefIP();
 
   virtual dkEntityDef* createEntity();
   virtual dkEntityDef* getEntity(const char* entityName);
   virtual dkCollection* listEntities();
   virtual DKString* listEntityNames(long& arraySize);
   virtual dkCollection* listEntityAttrs(const char* entityName);
   virtual DKString* listEntityAttrNames(const char* entityName,
                                         long& arraySize);
   virtual dkDatastoreAdmin* datastoreAdmin();
};

Members:

Constructors and destructor
Constructs and initializes an ImagePlus for OS/390 datastore definition.
   DKDatastoreDefIP(dkDatastore *ds);
   virtual ~DKDatastoreDefIP();
 

Member functions

createEntity
Creates a proper type of entity for this datastore and returns a new dkEntityDef object. The entity definition must be deleted by the caller of this method.
   virtual dkEntityDef* createEntity();
 

getEntity
Returns the dkEntityDef object for the given entity name. The returned entity definition must be deleted by the caller of this method.
   virtual dkEntityDef* getEntity(const char* entityName);
 

listEntities
Gets a collection of entity definitions. The entity definitions and the collection itself must be deleted by the caller of this method.
   virtual dkCollection* listEntities();
 

listEntityNames
Returns a list of entity names for this datastore. The list itself must be deleted by the caller of this method. Upon return, arraySize contains the number of array elements in the list.
   virtual DKString* listEntityNames(long& arraySize);
 

listEntityAttrs
A collection of attribute definitions is constructed and returned. The attribute definitions and the collection itself must be deleted by the caller of this method.
   virtual dkCollection* listEntityAttrs(const char* entityName);
 

listEntityAttrNames
A list of attribute names is constructed and returned. The list itself must be deleted by the caller of this method. Upon return, arraySize contains the number of array elements in the list.
   virtual DKString* listEntityAttrNames(const char* entityName,
                                         long& arraySize);
 

datastoreAdmin
Gets a datastore administration object for the datastore.
   virtual dkDatastoreAdmin* datastoreAdmin();
 

(c) Copyright International Business Machines Corporation 1996, 2003. IBM Corp. All rights reserved.