Views
Maps Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvProjectionClassInfo Class Reference

This class provides run-time information about the IlvProjectionClass and its subclasses. More...

#include <ilviews/maps/projection/projinfo.h>

Inherits IlvValuedClassInfo.

Public Member Functions

void addAccessor (const IlvSymbol *name, IlvValueTypeClass *type, IlvProjectionInterfaceGetter, IlvProjectionInterfaceSetter)
 Adds an accessor to the projection class. More...
 
const char * getProjectionName () const
 Returns the projection name of the class. More...
 

Detailed Description

This class provides run-time information about the IlvProjectionClass and its subclasses.

Library: ilvmaps

It is a specialization of the IlvClassInfo class for projections.

Note
For a description of the IlvClassInfo class, see the Rogue Wave Views Foundation Package Reference Manual.
See also
IlvProjection, IlvProjectionInterface.

Member Function Documentation

◆ addAccessor()

void IlvProjectionClassInfo::addAccessor ( const IlvSymbol name,
IlvValueTypeClass type,
IlvProjectionInterfaceGetter  ,
IlvProjectionInterfaceSetter   
)

Adds an accessor to the projection class.

Accessors are used by the IlvProjectionInterface class to provide run-time information about the parameters of a projection.

The predefined projection interface setter IlvNullProjectionInterfaceSetter should be used for read-only parameters.

Note
For more information about creating an appropriate IlvProjectionClassInfo for a projection class that you have subtyped and adding accessors for the additional parameters, refer to the section "Defining a New Projection".

◆ getProjectionName()

const char* IlvProjectionClassInfo::getProjectionName ( ) const

Returns the projection name of the class.

For example, the projection name of the class IlvMercatorProjection is "Mercator", and the projection name of the class IlvUniversalTransverseMercator is "Universal Transverse Mercator".

Returns
The projection name.