CartoType API
Public Member Functions
CartoType::CType1Array Class Reference

#include <cartotype_type1_map_object.h>

Inheritance diagram for CartoType::CType1Array:
CartoType::CType1MapObject CartoType::CMapObject CartoType::MPath

List of all members.

Public Member Functions

 CType1Array (const CMapDataLayer &aLayer)
int32 Contours () const
void GetContour (int32 aIndex, TContour &aContour) const
MWritableContourWritableContour (int32 aIndex)
TResult ReadData (TType1Reader &aReader)
void ClearContents ()
const TBitmapBitmap () const
const TTransformFPBitmapTransform () const

Detailed Description

The Type 1 database representation of an array map object.


Member Function Documentation

const TBitmap * CType1Array::Bitmap ( ) const [virtual]

If the object contains array data that can be represented as a bitmap, return a pointer to the bitmap. The default implementation returns null.

Reimplemented from CartoType::CMapObject.

const TTransformFP * CType1Array::BitmapTransform ( ) const [virtual]

If the object contains array data that can be represented as a bitmap, return a transform to convert from the bitmap bounds to the extent in map coordinates. The default implementation returns null.

Reimplemented from CartoType::CMapObject.

void CartoType::CType1Array::ClearContents ( ) [inline, virtual]

Clear the contents of a map object so that it can be re-used. Derived classes must call this base function from any overriding function.

Reimplemented from CartoType::CType1MapObject.

int32 CartoType::CType1Array::Contours ( ) const [inline, virtual]

Return the number of contours.

Implements CartoType::MPath.

void CartoType::CType1Array::GetContour ( int32  aIndex,
TContour aContour 
) const [inline, virtual]

Return the contour indexed by aIndex.

Implements CartoType::MPath.

TResult CType1Array::ReadData ( TType1Reader aReader) [virtual]

Read an array map object from an input stream.

Implements CartoType::CType1MapObject.

MWritableContour& CartoType::CType1Array::WritableContour ( int32  aIndex) [inline, virtual]

Return a writable interface to the contour indexed by aIndex.

Implements CartoType::CMapObject.


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