rwlogo

Rogue Wave Views
Maps Package API Reference Guide

Product Documentation:

Rogue Wave 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.

It is a specialization of the IlvClassInfo class for projections.

Warning
[note] For a description of the IlvClassInfo class, see the Rogue Wave Views Foundation Package Reference Manual. Library: ilvmaps
See Also
IlvProjection, IlvProjectionInterface.

Member Function Documentation

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.

Warning
[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".
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.

© Copyright 2014, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.