2D SbString vector class. More...
#include <Inventor/SbVec2String.h>
Public Member Functions | |
SbVec2String () | |
SbVec2String (const SbString v[2]) | |
SbVec2String (SbString x, SbString y) | |
const SbString * | getValue () const |
void | getValue (SbString &x, SbString &y) const |
SbVec2String & | setValue (const SbString v[2]) |
SbVec2String & | setValue (SbString x, SbString y) |
Friends | |
int | operator== (const SbVec2String &v1, const SbVec2String &v2) |
int | operator!= (const SbVec2String &v1, const SbVec2String &v2) |
| |
SbString & | operator[] (int i) |
const SbString & | operator[] (int i) const |
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.
SbVec2String::SbVec2String | ( | ) | [inline] |
Default constructor.
The value is not initialized.
SbVec2String::SbVec2String | ( | const SbString | v[2] | ) | [inline] |
Constructor given vector components.
const SbString* SbVec2String::getValue | ( | ) | const [inline] |
Returns vector components.
const SbString& SbVec2String::operator[] | ( | int | i | ) | const [inline] |
Accesses indexed component of vector.
SbString& SbVec2String::operator[] | ( | int | i | ) | [inline] |
Accesses indexed component of vector.
SbVec2String& SbVec2String::setValue | ( | SbString | x, | |
SbString | y | |||
) |
Sets the vector components.
SbVec2String& SbVec2String::setValue | ( | const SbString | v[2] | ) |
Sets the vector components.
int operator!= | ( | const SbVec2String & | v1, | |
const SbVec2String & | v2 | |||
) | [friend] |
Inequality comparison operator.
int operator== | ( | const SbVec2String & | v1, | |
const SbVec2String & | v2 | |||
) | [friend] |
Equality comparison operator.