CGXAbstractUserAttribute::Clone

virtual CGXAbstractUserAttribute* Clone() const;

Return Value

Returns a user attribute of the same class type as this object.

Remarks

Clones this object. If you derive from CGXAbstractUserAttribute you have to provide this method.

Example:

   // Copying attribute (e.g. from one style object to another)
   CGXAbstractUserAttribute* CGXUserAttribute::Clone() const
   {
      return new CGXUserAttribute(*this);
   }

CGXAbstractUserAttribute

 Class Overview |  Class Members