CartoType API
Public Member Functions
CartoType::CLayerCondition Class Reference

#include <cartotype_style_sheet.h>

List of all members.

Public Member Functions

 CLayerCondition (int32 aNestingLevel)
CT_IMPORT TResult Set (const MString &aExpression)
const MStringAttribName () const
const CMapAttributeTestTest () const

Detailed Description

A condition that has to be fulfilled to draw a map layer. See TMapAttributeTest for a list of the condition types.


Member Function Documentation

const MString& CartoType::CLayerCondition::AttribName ( ) const [inline]

Return the name of the attributer to be tested.

CT_EXPORT TResult CLayerCondition::Set ( const MString aString)

Set a condition object from a string.

Possible conditions are relational tests of integer values, either against a single value or a range.

The syntax of aString is

ATTRIB_NAME EXPRESSION

See TMapAttributeTest::Set for the syntax of EXPRESSION.

const CMapAttributeTest& CartoType::CLayerCondition::Test ( ) const [inline]

Return the test to be performed.


The documentation for this class was generated from the following files: