Rogue Wave Views 5.5.1 |
Rogue Wave Views |
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 (IlvInputFile &file) | |
Creates a new IlvFeatureAttributeInfo from an IlvInputFile . | |
IlvFeatureAttributeInfo (const IlvFeatureAttributeInfo &source) | |
Creates a new IlvFeatureAttributeInfo by copying an existing one. | |
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. | |
IlvFeatureAttributeInfo * | copy () const |
Copies the property. | |
const IlvMapClassInfo * | getAttributeClass (IlUInt i) const |
Returns the class of the attribute specified by the index i. | |
const char * | getAttributeName (IlUInt i) const |
Returns the name of the attribute specified by the index i. | |
const IlvMapClassInfo *const * | getAttributesClasses () const |
Returns the classes of the attributes. | |
IlUInt | getAttributesCount () const |
Returns the count of attributes. | |
const char *const * | getAttributesNames (IlUInt &count) const |
Returns the names of the attributes. | |
IlBoolean | isNullable (int i) const |
Checks if an attribute is nullable. | |
void | lock () |
Locks the object. | |
void | unLock () |
Unlocks the object. | |
void | write (IlvOutputFile &output) const |
Writes the object to an IlvOutputFile . |
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
.
input | 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 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.