GRE_LAYER_SCRIPT Class Reference

#include <mi32/mdisp.h>

Inheritance diagram for GRE_LAYER_SCRIPT:

Inheritance graph
[legend]
List of all members.

Public Member Functions

double ComputeScale () const
const DISPPARMGetDispParm () const
 GRE_LAYER_SCRIPT (GRE_GROUP *group, GRE_LAYER *reflayer=0, UINT32 flags=MDISPCREATE_InsertAfter)
virtual int OpenObject (UINT32 filemode=RVCFILE_ReadLock, MDLGPARENT dlgparent=0)
ERRVALUE SetDispParm (const DISPPARM &dispparm)
virtual ~GRE_LAYER_SCRIPT ()

Static Public Member Functions

int Construct (GRE_GROUP *group, GRE_LAYER **retlayer, GRE_LAYER *reflayer, UINT32 flags)
void RegisterType ()

Protected Attributes

DISPPARM m_dispparm

Constructor & Destructor Documentation

GRE_LAYER_SCRIPT::GRE_LAYER_SCRIPT GRE_GROUP group,
GRE_LAYER reflayer = 0,
UINT32  flags = MDISPCREATE_InsertAfter
[explicit]
 

Construct layer and insert into list.

Parameters:
group  Group to contain layer
reflayer  Reference layer for insertion
flags  MDISPCREATE flags

virtual GRE_LAYER_SCRIPT::~GRE_LAYER_SCRIPT  )  [virtual]
 

Destructor.


Member Function Documentation

double GRE_LAYER_SCRIPT::ComputeScale  )  const
 

int GRE_LAYER_SCRIPT::Construct GRE_GROUP group,
GRE_LAYER **  retlayer,
GRE_LAYER reflayer,
UINT32  flags
[static]
 

Construct instance of this layer type.

Parameters:
group  Group to contain layer
retlayer  Layer returned
reflayer  Reference layer for insertion
flags  Creation flags

const DISPPARM& GRE_LAYER_SCRIPT::GetDispParm  )  const [inline]
 

Retrieve layer-specific display parameters.

Definition at line 2115 of file mdisp.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.

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 2140 of file mdisp.h.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:19:51 2004 for TNTsdk by  doxygen 1.3.8-20040913