2D SbString vector class. More...
#include <Inventor/SbVec2String.h>
Public Member Functions | |
SbVec2String () | |
Default constructor. | |
SbVec2String (const SbString v[2]) | |
Constructor given vector components. | |
SbVec2String (SbString x, SbString y) | |
Constructor given two SbStrings. | |
const SbString * | getValue () const |
Returns vector components. | |
void | getValue (SbString &x, SbString &y) const |
Returns vector components. | |
SbVec2String & | setValue (const SbString v[2]) |
Sets the vector components. | |
SbVec2String & | setValue (SbString x, SbString y) |
Sets the vector components. | |
SbString & | operator[] (int i) |
Accesses indexed component of vector. | |
const SbString & | operator[] (int i) const |
Friends | |
int | operator== (const SbVec2String &v1, const SbVec2String &v2) |
Equality comparison operator. | |
int | operator!= (const SbVec2String &v1, const SbVec2String &v2) |
Inequality comparison operator. | |
2D SbString vector class.
2D SbString vector class used to store two SbStrings. This class is used throughout Open Inventor for arguments and return values.
Definition at line 53 of file SbVec2String.h.
|
inline |
|
inline |
Constructor given vector components.
Definition at line 64 of file SbVec2String.h.
Constructor given two SbStrings.
Definition at line 69 of file SbVec2String.h.
|
inline |
Returns vector components.
Definition at line 74 of file SbVec2String.h.
|
inline |
Accesses indexed component of vector.
Definition at line 95 of file SbVec2String.h.
|
inline |
Definition at line 96 of file SbVec2String.h.
SbVec2String & SbVec2String::setValue | ( | const SbString | v[2] | ) |
Sets the vector components.
SbVec2String & SbVec2String::setValue | ( | SbString | x, |
SbString | y | ||
) |
Sets the vector components.
|
friend |
Inequality comparison operator.
Definition at line 107 of file SbVec2String.h.
|
friend |
Equality comparison operator.