#include <omglayer.h>
Inheritance diagram for OmgLayer:
Definition at line 29 of file omglayer.h.
Public Types | |
enum | LayerType { MASK, MAP, FORMAT } |
Public Member Functions | |
OmgLayer () | |
~OmgLayer () | |
OmgLayer (const OmgLayer &theLayer) | |
OmgLayer & | operator= (const OmgLayer &theLayer) |
QString | name () const |
bool | isCategorical () const |
LayerType | type () const |
void | setName (QString theName) |
void | setCategorical (bool theFlag) |
void | setType (LayerType theType) |
QString | toXml () const |
bool | fromXml (const QString theXml) |
Private Attributes | |
bool | mCategoricalFlag |
QString | mName |
LayerType | mType |
|
Enumeration of possible types a layer can be. Note that format is used when specifying the output cellsize and extents for a model. Definition at line 45 of file omglayer.h. |
|
Constructor . Definition at line 20 of file omglayer.cpp. |
|
Desctructor . Definition at line 24 of file omglayer.cpp. |
|
copy constructor Definition at line 29 of file omglayer.cpp. References mCategoricalFlag, mName, and mType. |
|
Read this object from xml and return result as true for success, false for failure.
Implements OmgSerialisable. Definition at line 87 of file omglayer.h. |
|
Whether this layer represents categorical data in discrete cless or a continuous surface Definition at line 57 of file omglayer.cpp. References mCategoricalFlag. Referenced by OmgLayerSetManager::selectLayerSet(). |
|
The name of this layer - usually a full pathname and file name though this may vary depending on the OmgModellerAdapter implementations Definition at line 47 of file omglayer.cpp. References mName. Referenced by OmgLayerSet::addLayer(), OmgLayerSet::maskName(), OmgLayerSet::nameList(), OmgModel::outputFormatLayerName(), OmgLayerSet::removeLayer(), OmgLayerSetManager::selectLayerSet(), OmgModel::toHtml(), OmgLayerSet::toHtml(), OmgModel::toModelProjectionXml(), OmgModel::toPrintHtml(), OmgModel::toString(), OmgLayerSet::toString(), and OmgLayerSet::toXml(). |
|
Assignement operator Definition at line 36 of file omglayer.cpp. References mCategoricalFlag, mName, and mType. |
|
Set the categorical flag
Definition at line 62 of file omglayer.cpp. References mCategoricalFlag. Referenced by OmgModel::fromXml(), OmgLayerSet::fromXml(), OmgLayerSetManager::on_pbnApply_clicked(), OmgModel::setCreationLayerNames(), OmgModel::setcreationMaskLayerName(), OmgModel::setOutputFormatLayerName(), OmgModel::setProjectionLayerNames(), and OmgModel::setProjectionMaskLayerName(). |
|
Set the layerName
Definition at line 52 of file omglayer.cpp. References mName. Referenced by OmgModel::fromXml(), OmgLayerSet::fromXml(), OmgLayerSetManager::on_pbnApply_clicked(), OmgModel::setCreationLayerNames(), OmgModel::setcreationMaskLayerName(), OmgModel::setOutputFormatLayerName(), OmgModel::setProjectionLayerNames(), and OmgModel::setProjectionMaskLayerName(). |
|
Set the layer type
Definition at line 72 of file omglayer.cpp. References mType. Referenced by OmgLayerSetManager::on_pbnApply_clicked(). |
|
Return an xml representation of this layer this class is not fully serialiseable (yet??) Implements OmgSerialisable. Definition at line 77 of file omglayer.cpp. References mCategoricalFlag, and mName. Referenced by OmgModel::toXml(), and OmgLayerSet::toXml(). |
|
The type of this layer. Note that type 'FORMAT' is used when specifying the output cellsize and extents for a model. Definition at line 67 of file omglayer.cpp. References mType. |
|
A flag to store whehter this layer contains categorical or continuous data Definition at line 87 of file omglayer.h. Referenced by isCategorical(), OmgLayer(), operator=(), setCategorical(), and toXml(). |
|
The name for this layer - usually a full path and filename Definition at line 92 of file omglayer.h. Referenced by name(), OmgLayer(), operator=(), setName(), and toXml(). |
|
The type / role of this layer - mask / map / output format specifier Definition at line 94 of file omglayer.h. Referenced by OmgLayer(), operator=(), setType(), and type(). |