>  Docs Center  >  Libraries  >  CATALYST  >  CATTOOL__DEFINE
Libraries

CATTOOL__DEFINE

CATTOOL__DEFINE

Name


      CATTOOL

Purpose



      This object implements a tool object class. It contains a storage pointer for
      the data before the tool is applied. This is so the result of the tool can be
      undone later. And it contains a target field so it knows what object was the
      target of the tool. The tool applies an operation to the target object.

Authors



        FANNING SOFTWARE CONSULTING BURRIDGE COMPUTING
        1645 Sheely Drive 18 The Green South
        Fort Collins Warborough, Oxon
        CO 80526 USA OX10 7DN, ENGLAND
        Phone: 970-221-0438 Phone: +44 (0)1865 858279
        E-mail: davidf@dfanning.com E-mail: davidb@burridgecomputing.co.uk

Superclasses



      CATATOM
      CATCONTAINER
      IDL_CONTAINER

Syntax



      toolObject = OBJ_NEW ('CATTOOL')

Class Structure



  class = { CATTOOL, $ ; The object class name.
            INHERITS CATATOM, $ ; Inherits CATATOM
            _theCache: Ptr_New(), $ ; The pre-tool data location.
            _noCache: 0L $ ; A flag that indicates the input data is not to be cached or stored.
            _theTarget: Obj_New(), $ ; The tool target. The tool is APPLIED to the data in this object.
          }

Modification History



      Written by: David Fanning, 3 April 2003.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us