WT_Macro_Definition Class Reference

Inheritance diagram for WT_Macro_Definition:

Inheritance graph
[legend]
Collaboration diagram for WT_Macro_Definition:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 30 of file macro_definition.h.

Public Member Functions

 WT_Macro_Definition ()
 Constructors and destructor.
const WT_Unsigned_Integer16index () const
WT_Unsigned_Integer16index ()
const WT_Integer32scale_units () const
 the scale units for this macro
WT_Integer32scale_units ()
virtual WT_Logical_Box bounds ()
 the extents of the drawables held by this macro_definition
WT_Result add (const WT_Drawable &)
WT_Type object_type () const
 Implementation of the WT_Object interface.
WT_ID object_id () const
 Returns the WT_ID for this object.
WT_Result materialize (WT_Opcode const &opcode, WT_File &file)
 Provided to implement WT_Object, but not used (returns WT_Result::Toolkit_Usage_Error).
WT_Result process (WT_File &file)
 Calls the configured action handler for this object (passes in the file reference.).
WT_Result serialize (WT_File &file) const
 Causes the serialization of the object to the file.

Static Public Member Functions

static WT_Result default_process (WT_Macro_Definition &, WT_File &)

Friends

class WT_W2D_Class_Factory
class WT_Opcode


Member Function Documentation

WT_Result WT_Macro_Definition::add const WT_Drawable  ) 
 

Add a drawable to this macro. Note: it must be created on the heap as this method will take ownership

static WT_Result WT_Macro_Definition::default_process WT_Macro_Definition ,
WT_File
[static]
 

Warning:
This is used by the framework and should not be called by client code.

const WT_Unsigned_Integer16& WT_Macro_Definition::index  )  const [inline]
 

Operations The index under which this macro is listed

Definition at line 54 of file macro_definition.h.

WT_Result WT_Macro_Definition::process WT_File file  )  [virtual]
 

Calls the configured action handler for this object (passes in the file reference.).

Warning:
This is used by the framework and should not be called by client code.

Reimplemented from WT_Object_Stream.

WT_Result WT_Macro_Definition::serialize WT_File file  )  const [virtual]
 

Causes the serialization of the object to the file.

If this is a WT_Drawable derived object, this method may cause the object to be delayed (in case a coincident like-object follows) and/or merged (in case a coincident like-object preceeded) so as to optimize the output.

Return values:
WT_Result::Success The operation was successful.

Reimplemented from WT_Object_Stream.


The documentation for this class was generated from the following file:
Generated on Tue Jan 6 22:41:21 2009 for Autodesk DWF Whip 2D Toolkit by  doxygen 1.4.5