![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
Visual Studio .NET 2005 introduced additional secure versions of some functions - we don't need them here. Feature code mapping struct.
This structure is used when importing and exporting data, mapping Native Feature Codes to MapLink Feature IDs. When importing data, it is also used to set the render level for each object imported, dependent on the feature type.
A Native Feature Code is a string defining the feature class within the scope of the source data file. A MapLink Feature ID is a long defining the feature class within the scope of the MapLink application. See TSLEntity::featureID() for more information on MapLink Feature IDs.
For example, when importing a MIF file, you may wish to map Feature Class "Road" to MapLink Feature ID 1000, and give all "Roads" a render level of 2.
Public Member Functions | |
TSLFeatureCodeMapping () | |
TSLFeatureCodeMapping (const TSLFeatureCodeMapping &rhs) | |
TSLFeatureCodeMapping & | operator= (const TSLFeatureCodeMapping &rhs) |
const char * | nativeFeatureCode () const |
void | nativeFeatureCode (const char *value) |
TSLFeatureID | maplinkFeatureID () const |
void | maplinkFeatureID (TSLFeatureID value) |
int | renderLevel () const |
void | renderLevel (int value) |
Public Attributes | |
char | m_nativeFeatureCode [256] |
TSLFeatureID | m_maplinkFeatureID |
int | m_renderLevel |
TSLFeatureCodeMapping::TSLFeatureCodeMapping | ( | ) |
TSLFeatureCodeMapping::TSLFeatureCodeMapping | ( | const TSLFeatureCodeMapping & | rhs | ) |
|
inline |
|
inline |
|
inline |
|
inline |
TSLFeatureCodeMapping & TSLFeatureCodeMapping::operator= | ( | const TSLFeatureCodeMapping & | rhs | ) |
|
inline |
|
inline |
TSLFeatureID TSLFeatureCodeMapping::m_maplinkFeatureID |
Defines the MapLink Feature ID for this feature.
The MapLink Feature ID is the feature code in the scope of the application, as defined by the user.
char TSLFeatureCodeMapping::m_nativeFeatureCode[256] |
Data Members for Class Attributes Defines the Native Feature Code for this feature.
The Native Feature Code is the feature code as defined by the source data.
int TSLFeatureCodeMapping::m_renderLevel |
Defines the render level for objects of this class.
Note that the render level is only defined when importing data. When exporting data, this member is ignored.