Index

DKCatalogDefQBIC

Purpose:

DKCatalogDefQBIC is used to represent a datastore definition object.

Class summary:

class DKCatalogDefQBIC : public dkEntityDef
{
  public:
   DKCatalogDefQBIC(dkDatastore *ds);
   DKCatalogDefQBIC(const DKCatalogDefQBIC& def);
   virtual ~DKCatalogDefQBIC();
   virtual dkAttrDef* createAttr();
   virtual dkAttrDef* getAttr(const char* attrName);
   virtual dkCollection* listAttrs();
   virtual DKString* listAttrNames(long& arraySize);
   virtual void add();
   virtual void del();
   virtual void add(dkAttrDef* attrDef);
   virtual void del(dkAttrDef* attrDef);
   virtual DKString getDatabaseName();
   virtual void setDatabaseName(const char* name);
}

Members:

Constructors and destructor
   DKCatalogDefQBIC(dkDatastore *ds);
   DKCatalogDefQBIC(const DKCatalogDefQBIC& def);
   virtual ~DKCatalogDefQBIC();

Member functions

createAttr
Creates a new attribute definition for this entity.
   virtual dkAttrDef* createAttr();

getAttr
Gets an attribute definition for this entity by name.
    virtual dkAttrDef* getAttr(const char* attrName);

listAttrs
Gets a list of attribute definitions for this entity.
   virtual dkCollection* listAttrs();

listAttrNames
Gets a list of attribute definition names for this entity.
   virtual DKString* listAttrNames(long& arraySize);

add
Adds this entity definition to the datastore.
   virtual void add();

del
Deletes this entity definition from the datastore.
   virtual void del();

add
Adds the attribute definition for this entity to the datastore.
   virtual void add(dkAttrDef* attrDef);

del
Deletes the attribute definition for this entity from the datastore.
   virtual void del(dkAttrDef* attrDef);

getDatabaseName
Gets the database name that this catalog belongs to.
   virtual DKString getDatabaseName();

setDatabaseName
Sets the database name that this catalog belongs to.
   virtual void setDatabaseName(const char* name);

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