Index

DKAnnotationV4

Purpose:

A wrapper class for the VisualInfo for AS/400 ANNOTATIONSTRUCT. This data structure provides information about an annotation affiliated with an object.

Heirarchy:

   DkAnnotation

Class summary:

class DKAnnotationV4: public dkAnnotationExt
{
  public:
 
   DKAnnotationV4();
   DKAnnotationV4(long partId, long pageNumber,
                  short Xcoordinate, short Ycoordinate);
   DKAnnotationV4(const DKAnnotationV4& aAnnot);
   virtual ~DKAnnotationV4();
   DKAnnotationV4&  operator=(const DKAnnotationV4& aAnnot);
   DKBoolean      operator==(const DKAnnotationV4& aAnnot) const;
   void           setPart(unsigned long aPartNumber);
   unsigned long  getPart();
};

Members:

Constructors and destructor
Constructs a new DKAnnotationV4 object with input parameters. The third form is a copy constructor.
   DKAnnotationV4();
   DKAnnotationV4(long partId, long pageNumber,
                  short Xcoordinate, short Ycoordinate);
   DKAnnotationV4(const DKAnnotationV4& aAnnot);
   virtual ~DKAnnotationV4();
 

Member functions

operator=
Assignment operator.
   DKAnnotationV4&  operator=(const DKAnnotationV4& aAnnot);
 

operator==
Compares this object with the specified object. Returns true if both objects have the same value for each data member. (Returns false otherwise.)
   DKBoolean operator==(const DKAnnotationV4& aAnnot) const;
 

setPart
Sets the part ID of the associated object. Only positive values are valid.
   void setPart(unsigned long aPartNumber);
 

getPart
Gets the part ID of the associated object.
   unsigned long  getPart();
 

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