◆ Type
◆ ShapeAttribute() [1/6]
osgSim::ShapeAttribute::ShapeAttribute |
( |
| ) |
|
◆ ShapeAttribute() [2/6]
osgSim::ShapeAttribute::ShapeAttribute |
( |
const char * |
name | ) |
|
◆ ShapeAttribute() [3/6]
osgSim::ShapeAttribute::ShapeAttribute |
( |
const char * |
name, |
|
|
int |
value |
|
) |
| |
◆ ShapeAttribute() [4/6]
osgSim::ShapeAttribute::ShapeAttribute |
( |
const char * |
name, |
|
|
double |
value |
|
) |
| |
◆ ShapeAttribute() [5/6]
osgSim::ShapeAttribute::ShapeAttribute |
( |
const char * |
name, |
|
|
const char * |
value |
|
) |
| |
Note, ShapeAttribute takes a copy of both name and value, the calling code should manage its own clean up of the original strings.
◆ ShapeAttribute() [6/6]
◆ ~ShapeAttribute()
osgSim::ShapeAttribute::~ShapeAttribute |
( |
| ) |
|
◆ compare()
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
◆ getDouble()
double osgSim::ShapeAttribute::getDouble |
( |
| ) |
const |
|
inline |
Get the attribute data as a double.
◆ getInt()
int osgSim::ShapeAttribute::getInt |
( |
| ) |
const |
|
inline |
Get the attribute data as an int.
◆ getName()
const std::string& osgSim::ShapeAttribute::getName |
( |
| ) |
const |
|
inline |
◆ getString()
const char* osgSim::ShapeAttribute::getString |
( |
| ) |
const |
|
inline |
Get the attribute data as a string.
◆ getType()
Type osgSim::ShapeAttribute::getType |
( |
| ) |
const |
|
inline |
Get the attribute data type.
◆ operator!=()
◆ operator<()
◆ operator=()
◆ operator==()
◆ setName()
void osgSim::ShapeAttribute::setName |
( |
const std::string & |
name | ) |
|
|
inline |
◆ setValue() [1/3]
void osgSim::ShapeAttribute::setValue |
( |
int |
value | ) |
|
|
inline |
Set an integer attribute data.
◆ setValue() [2/3]
void osgSim::ShapeAttribute::setValue |
( |
double |
value | ) |
|
|
inline |
Set a double attribute data.
◆ setValue() [3/3]
void osgSim::ShapeAttribute::setValue |
( |
const char * |
value | ) |
|
Set a string attribute data.
◆ _double
double osgSim::ShapeAttribute::_double |
◆ _integer
int osgSim::ShapeAttribute::_integer |
◆ _string
char* osgSim::ShapeAttribute::_string |
The documentation for this class was generated from the following file: