Rogue Wave Views Maps Package API Reference Guide |
Rogue Wave Views Documentation Home |
This class is used to store the names and types of map attributes. More...
#include <ilviews/maps/attrprop.h>
Public Member Functions | |
IlvFeatureAttributeInfo (IlUInt count, const char *const *attributeNames, const IlvMapClassInfo *const *attributeClasses, const IlBoolean *nullable) | |
Creates a new IlvFeatureAttributeInfo with the specified attribute names and classes. More... | |
IlvFeatureAttributeInfo (const IlvFeatureAttributeInfo &source) | |
Creates a new IlvFeatureAttributeInfo by copying an existing one. More... | |
IlvFeatureAttributeInfo (IlvInputFile &file) | |
Creates a new IlvFeatureAttributeInfo from an IlvInputFile . More... | |
IlvFeatureAttributeInfo * | copy () const |
Copies the property. More... | |
const IlvMapClassInfo * | getAttributeClass (IlUInt i) const |
Returns the class of the attribute specified by the index i. More... | |
const char * | getAttributeName (IlUInt i) const |
Returns the name of the attribute specified by the index i. More... | |
const IlvMapClassInfo *const * | getAttributesClasses () const |
Returns the classes of the attributes. More... | |
IlUInt | getAttributesCount () const |
Returns the count of attributes. More... | |
const char *const * | getAttributesNames (IlUInt &count) const |
Returns the names of the attributes. More... | |
IlBoolean | isNullable (int i) const |
Checks if an attribute is nullable. More... | |
void | lock () |
Locks the object. More... | |
void | unLock () |
Unlocks the object. More... | |
void | write (IlvOutputFile &output) const |
Writes the object to an IlvOutputFile . More... | |
This class is used to store the names and types of map attributes.
Library: ilvmaps
It is generally used with an IlvAttributeProperty
.
IlvFeatureAttributeInfo::IlvFeatureAttributeInfo | ( | IlUInt | count, |
const char *const * | attributeNames, | ||
const IlvMapClassInfo *const * | attributeClasses, | ||
const IlBoolean * | nullable | ||
) |
Creates a new IlvFeatureAttributeInfo
with the specified attribute names and classes.
count | The number of attributes. |
attributeNames | The names of the attributes. |
attributeClasses | The classes of the attributes. |
nullable | A Boolean array that takes the IlTrue value for the attributes that can have a null value (these attributes are optional). |
IlvFeatureAttributeInfo::IlvFeatureAttributeInfo | ( | const IlvFeatureAttributeInfo & | source | ) |
Creates a new IlvFeatureAttributeInfo
by copying an existing one.
source | The feature attribute info to be copied. |
IlvFeatureAttributeInfo::IlvFeatureAttributeInfo | ( | IlvInputFile & | file | ) |
Creates a new IlvFeatureAttributeInfo
from an IlvInputFile
.
file | The input file. |
IlvFeatureAttributeInfo* IlvFeatureAttributeInfo::copy | ( | ) | const |
Copies the property.
IlvFeatureAttributeInfo
. const IlvMapClassInfo* IlvFeatureAttributeInfo::getAttributeClass | ( | IlUInt | i | ) | const |
Returns the class of the attribute specified by the index i.
i | The index of the attribute. |
IlvMapClassInfo
. const char* IlvFeatureAttributeInfo::getAttributeName | ( | IlUInt | i | ) | const |
Returns the name of the attribute specified by the index i.
i | The index of the attribute. |
const IlvMapClassInfo* const* IlvFeatureAttributeInfo::getAttributesClasses | ( | ) | const |
Returns the classes of the attributes.
IlvMapClassInfo
. IlUInt IlvFeatureAttributeInfo::getAttributesCount | ( | ) | const |
Returns the count of attributes.
const char* const* IlvFeatureAttributeInfo::getAttributesNames | ( | IlUInt & | count | ) | const |
Returns the names of the attributes.
count | The returned number of attributes. |
IlBoolean IlvFeatureAttributeInfo::isNullable | ( | int | i | ) | const |
Checks if an attribute is nullable.
Returns IlTrue
if the attribute specified by the index i can have a null value.
i | The index of the attribute. |
IlTrue
if the attribute can have a null value, IlFalse
otherwise. void IlvFeatureAttributeInfo::lock | ( | ) |
Locks the object.
Locks the object by incrementing the lock count.
void IlvFeatureAttributeInfo::unLock | ( | ) |
Unlocks the object.
Decrements the lock counts and deletes the object when the lock count has fallen to 0
.
void IlvFeatureAttributeInfo::write | ( | IlvOutputFile & | output | ) | const |
Writes the object to an IlvOutputFile
.
output | The output file. |
© Copyright 2016, 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.