|
ToolMap
|
Storing object of layer type. More...
#include <tmlayerproperties.h>
Public Member Functions | |
| long | GetLayerParentId () const |
| void | SetLayerParentId (long mLayerParentId) |
| bool | InitFromArray (const wxArrayString &array, bool userelativepath, const wxString &prjpath) |
| Init from a string array. | |
| void | InitSymbology (const wxString &itemBinSymbology) |
| bool | InitFromPathAndName (const wxString &path, const wxString &nameext, const wxArrayString &supportedext) |
| Init name, path and type member. | |
| wxString | GetNameDisplay () |
| Return the display name for using in the TOC. | |
| wxFileName | GetName () |
| void | SetName (const wxFileName &filename) |
| const long | GetID () const |
| void | SetID (long value) |
| const TM_GIS_SPATIAL_TYPES | GetSpatialType () const |
| void | SetSpatialType (TM_GIS_SPATIAL_TYPES value) |
| const bool | IsVisible () const |
| void | SetVisible (bool value) |
| const TOC_GENERIC_NAME | GetType () const |
| void | SetType (TOC_GENERIC_NAME value) |
| const int | GetVertexFlags () const |
| void | SetVertexFlags (int value) |
| const bool | IsEditing () const |
| void | SetEditing (bool value) |
| void | SetLabelVisible (bool value) |
| bool | IsLabelVisible () |
| void | SetLabelDefinition (const wxString &value) |
| wxString | GetLabelDefinition () |
| tmSymbol * | GetSymbolRef () |
| void | SetSymbolDirectly (tmSymbol *value) |
| tmSymbolRuleManager * | GetSymbolRuleManagerRef () |
| tmLayerProperties (tmLayerProperties &layerprop) | |
| Copy constructor. | |
Storing object of layer type.
| tmLayerProperties::tmLayerProperties | ( | tmLayerProperties & | layerprop | ) |
Copy constructor.
| wxString tmLayerProperties::GetNameDisplay | ( | ) |
Return the display name for using in the TOC.
Because in some case file name isn't very explicit we sould use this function for getting a good display name (exemple is ESRI binary grid)
| bool tmLayerProperties::InitFromArray | ( | const wxArrayString & | array, |
| bool | userelativepath, | ||
| const wxString & | prjpath ) |
Init from a string array.
This may be used for initing an tmLayerProperties object from a string array. No verifications are made on the array size
| array | string array containing 6 values |
| bool tmLayerProperties::InitFromPathAndName | ( | const wxString & | path, |
| const wxString & | nameext, | ||
| const wxArrayString & | supportedext ) |
Init name, path and type member.
Init member based on path, name (with extension) and a list of supported GIS extension. Those extensions may be retreived using the function bellow.
| path | string containing the path |
| nameext | string containing the name and extension |
| supportedext | an array of all supported extension. See code above |