Index

DKIndexClassDefDL

Purpose:

DKIndexClassDefDL is used to represent a datastore definition object.

Class summary:

 class DKIndexClassDefDL : public dkEntityDef
 {
   public:
      DKIndexClassDefDL(dkDatastore *ds);
      DKIndexClassDefDL(const DKIndexClassDefDL& def);
      virtual ~DKIndexClassDefDL();
      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);
 }

Members:

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

Member functions

createAttr
Creates new dkAttrDef and returns it to caller.
virtual dkAttrDef* createAttr();

getAttr
Gets the attribute definition by attribute name.
virtual dkAttrDef* getAttr(const char* attrName);

listAttrs
Lists attributes for this entity.
virtual dkCollection* listAttrs();

listAttrNames
Lists attribute names for this entity.
  virtual DKString* listAttrNames(long& arraySize);

add
The first form adds this entity definition to the datastore. The second form adds the given attribute defintion for this entity definition to the datastore.
virtual void add();
virtual void add(dkAttrDef* attrDef);

del
The first form deletes this entity definition from the datastore. The second form deletes the given attribute defintion for this entity definition to the datastore.
virtual void del();
virtual void del(dkAttrDef* attrDef);

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