Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
This feature attribute stores strings. More...
#include <ilviews/maps/attribute/stringattr.h>
Public Member Functions | |
IlvStringAttribute (const IlvStringAttribute &source) | |
Creates a string attribute by copying an existing one. | |
IlvStringAttribute (const char *value, IlBoolean copy=IlTrue) | |
Creates a string attribute. | |
IlvStringAttribute () | |
Constructor. | |
virtual IlvFeatureAttribute * | copy () const |
Copies this object. | |
const char * | getValue () const |
Returns the value of the attribute. | |
void | setValue (const char *value, IlBoolean copy=IlTrue) |
Sets the new string. |
This feature attribute stores strings.
Library: ilvmaps
IlvStringAttribute::IlvStringAttribute | ( | ) |
Constructor.
Creates a string attribute.
IlvStringAttribute::IlvStringAttribute | ( | const char * | value, | |
IlBoolean | copy = IlTrue | |||
) |
Creates a string attribute.
value | the string to be created. | |
copy | if set to IlTrue , the value passed as argument is copied. |
IlvStringAttribute::IlvStringAttribute | ( | const IlvStringAttribute & | source | ) |
Creates a string attribute by copying an existing one.
source | The object to be copied. |
virtual IlvFeatureAttribute* IlvStringAttribute::copy | ( | ) | const [virtual] |
const char* IlvStringAttribute::getValue | ( | ) | const |
Returns the value of the attribute.
void IlvStringAttribute::setValue | ( | const char * | value, | |
IlBoolean | copy = IlTrue | |||
) |
Sets the new string.
The attribute becomes owner of the string.
value | The new value. | |
copy | If IlTrue , the value is copied. |
© 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.