#include <gre/lrscript.h>
Inheritance diagram for GRE::LAYER_SCRIPT:

Public Member Functions | |
| double | ComputeScale () const |
| const DISPPARM & | GetDispParm () 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 |
Definition at line 37 of file lrscript.h.
| 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.
| 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.
| double GRE::LAYER_SCRIPT::ComputeScale | ( | ) | const |
| const DISPPARM& GRE::LAYER_SCRIPT::GetDispParm | ( | ) | const [inline] |
| virtual int GRE::LAYER_SCRIPT::OpenObject | ( | UINT32 | filemode = RVCFILE_ReadLock, |
|
| MDLGPARENT | dlgparent = 0 | |||
| ) | [virtual] |
Open object(s) for this layer.
| filemode | RVC file access mode |
| dlgparent | Parent for dialog |
Reimplemented from GRE::LAYER.
| static void GRE::LAYER_SCRIPT::RegisterType | ( | ) | [static] |
Register this layer type.
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.
| dispparm | Parameters to set |
DISPPARM GRE::LAYER_SCRIPT::m_dispparm [protected] |
1.5.2