Index

DKAttrDefV4

Purpose:

Provides methods to access attribute information as well as to create and delete attributes.

Class summary:

class DKAttrDefV4 : public dkAttrDef
{
  public:
   DKAttrDefV4();
   DKAttrDefV4(dkDatastore *ds);
   DKAttrDefV4(const DKAttrDefV4& def);
   virtual ~DKAttrDefV4();
   virtual void add();
   virtual void del();
};

Members:

Constructors and destructor
The first constructor is the default constructor. The second constructor takes a datastore reference.
   DKAttrDefV4();
   DKAttrDefV4(dkDatastore *ds);
   DKAttrDefV4(const DKAttrDefV4& def);
   virtual ~DKAttrDefV4();
 

Member functions

add
Adds this attribute to become a persistent part of the entity meta data it belongs to.
   virtual void add();
 

del
Removes this attribute from the persistent part of the entity meta data it belongs to. The in-memory copy of this attribute does not change. Any sub class needs to implement this method.
   virtual void del();
 

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