GRE::LAYER_SCRIPT Class Reference

#include <gre/lrscript.h>

Inheritance diagram for GRE::LAYER_SCRIPT:

Inheritance graph
GRE::LAYERGRE::OBJECT
[legend]
List of all members.

Public Member Functions

double ComputeScale () const
const DISPPARMGetDispParm () const
 LAYER_SCRIPT (GRE::GROUP *group, CREATEFLAGS createflags=CREATEFLAG_None, GRE::LISTPOS listpos=GRE::LISTPOS_Last, GRE::LAYER *reflayer=0)
virtual int OpenObject (UINT32 filemode=RVCFILE_ReadLock, MDLGPARENT dlgparent=0)
ERRVALUE SetDispParm (const DISPPARM &dispparm)
virtual ~LAYER_SCRIPT ()

Static Public Member Functions

static void RegisterType ()

Protected Attributes

DISPPARM m_dispparm

Classes

class  DISPPARM

Detailed Description

Definition at line 37 of file lrscript.h.


Constructor & Destructor Documentation

GRE::LAYER_SCRIPT::LAYER_SCRIPT ( GRE::GROUP group,
CREATEFLAGS  createflags = CREATEFLAG_None,
GRE::LISTPOS  listpos = GRE::LISTPOS_Last,
GRE::LAYER reflayer = 0 
) [explicit]

Construct layer and insert into list.

Parameters:
group  Group to contain layer
createflags  Creation flags
listpos  Position in list
reflayer  Reference layer for insertion

virtual GRE::LAYER_SCRIPT::~LAYER_SCRIPT (  )  [virtual]

Destructor.


Member Function Documentation

double GRE::LAYER_SCRIPT::ComputeScale (  )  const

const DISPPARM& GRE::LAYER_SCRIPT::GetDispParm (  )  const [inline]

Retrieve layer-specific display parameters.

Definition at line 114 of file lrscript.h.

virtual int GRE::LAYER_SCRIPT::OpenObject ( UINT32  filemode = RVCFILE_ReadLock,
MDLGPARENT  dlgparent = 0 
) [virtual]

Open object(s) for this layer.

Returns:
TRUE if was opened, FALSE if open already, < 0 if error
Parameters:
filemode  RVC file access mode
dlgparent  Parent for dialog

Reimplemented from GRE::LAYER.

static void GRE::LAYER_SCRIPT::RegisterType (  )  [static]

Register this layer type.

ERRVALUE GRE::LAYER_SCRIPT::SetDispParm ( const DISPPARM dispparm  ) 

Set layer-specific display parameters.

This is the recommended method for changing how an existing layer is to be rendered. Validation will be performed on the specified parameters and adjustments made to the layer's copy if necessary. Use of this method usually result in a ChangeBegin / ChangeEnd message pair, and will also generate a ChangeObject message if the spatial object used in the layer is changed.

Parameters:
dispparm  Parameters to set


Member Data Documentation

DISPPARM GRE::LAYER_SCRIPT::m_dispparm [protected]

Layer-specific display parameters.

Definition at line 139 of file lrscript.h.


The documentation for this class was generated from the following file:
Generated on Thu Apr 26 04:48:02 2007 for TNTsdk by  doxygen 1.5.2