Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
This class provides facilities to get run-time information about the parameters of a projection, and to set or modify their values. More...
#include <ilviews/maps/projection/projitf.h>
Inherits IlvValueInterface.
Public Member Functions | |
virtual void | getAccessors (const IlvSymbol *const **accessors, const IlvValueTypeClass *const **types, IlUInt &count) const |
Returns the list of accessors of a projection. More... | |
virtual const IlvValueTypeClass * | getValueType (const IlvSymbol *valueName) const |
Returns the type of the accessor parameter. More... | |
IlBoolean | isValueReadOnly (const IlvSymbol *valueName) const |
virtual IlvValue & | queryValue (IlvValue &value) const |
Returns the value of a projection parameter in value. More... | |
This class provides facilities to get run-time information about the parameters of a projection, and to set or modify their values.
It can be used, for example, to create projection editors in a map application.
To get the projection interface of a projection instance, use the IlvProjection::getInterface
method.
|
virtual |
Returns the list of accessors of a projection.
Accessors is the resulting array of symbols. Each symbol is the name of a projection parameter types is the array of the types of accessors, count is the number of accessors.
The existing types for accessors that are relevant for a projection parameter are the following:
IlvValueIntType
IlvValueUIntType
IlvValueStringType
IlvValueBooleanType
IlvValueDoubleType
accessors | The resulting array of symbols. |
types | The array of the types of accessors. |
count | The number of accessors. |
|
virtual |
Returns the type of the accessor parameter.
If parameter is not an accessor of the projection class, the function returns a null pointer.
valueName | The name of the parameter to fetch. |
Returns IlTrue
if the parameter valueName cannot be changed.
valueName | The parameter to check. |
IlTrue
if the value is read only, IlFalse
otherwise. Returns the value of a projection parameter in value.
The queryValue
method can be used in the following way:
IlvValue arg("centralParallel"); char * label = (char*)projection->queryValue(arg);
IlvValue
class. value | The projection parameter. |
© Copyright 2012, 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.