|
CartoType API
|
#include <cartotype_map_data.h>
Public Member Functions | |
| TMapDataCondition (const CMapAttributeTest &aTest, int32 aAttributeIndex, int32 aStyleIndex) | |
| CT_IMPORT bool | Matches (const CMapObject &aObject) const |
| CT_IMPORT bool | Matches (TMapAttribute aAttrib) const |
| int32 | StyleIndex () const |
| int32 | NestingLevel () const |
| int32 | HighestFirstAttributeValue () const |
Static Public Member Functions | |
| static CT_IMPORT CArray < TMapDataCondition > * | NewArray (TResult &aError, const CMapDataLayer &aLayer, const CPointerArray< CLayerCondition > &aCondition) |
A condition relative to a given map layer; the attribute index matches the index in the CMapDataLayer object.
| int32 CartoType::TMapDataCondition::HighestFirstAttributeValue | ( | ) | const [inline] |
Return the highest first attribute value allowed by a condition. This is used to optimise searches.
| CT_EXPORT CArray< TMapDataCondition > * TMapDataCondition::NewArray | ( | TResult & | aError, |
| const CMapDataLayer & | aLayer, | ||
| const CPointerArray< CLayerCondition > & | aCondition | ||
| ) | [static] |
Create an array of conditions relative to a given map layer from the conditions if any in aCondition.
1.7.5.1