Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SbVec2String Class Reference

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 SbStringgetValue () const
 Returns vector components.
 
void getValue (SbString &x, SbString &y) const
 Returns vector components.
 
SbVec2StringsetValue (const SbString v[2])
 Sets the vector components.
 
SbVec2StringsetValue (SbString x, SbString y)
 Sets the vector components.
 
SbStringoperator[] (int i)
 Accesses indexed component of vector.
 
const SbStringoperator[] (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.
 

Detailed Description

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.

SEE ALSO

SbString

Definition at line 53 of file SbVec2String.h.

Constructor & Destructor Documentation

◆ SbVec2String() [1/3]

SbVec2String::SbVec2String ( )
inline

Default constructor.

The value is not initialized.

Definition at line 59 of file SbVec2String.h.

◆ SbVec2String() [2/3]

SbVec2String::SbVec2String ( const SbString  v[2])
inline

Constructor given vector components.

Definition at line 64 of file SbVec2String.h.

◆ SbVec2String() [3/3]

SbVec2String::SbVec2String ( SbString  x,
SbString  y 
)
inline

Constructor given two SbStrings.

Definition at line 69 of file SbVec2String.h.

Member Function Documentation

◆ getValue() [1/2]

const SbString * SbVec2String::getValue ( ) const
inline

Returns vector components.

Definition at line 74 of file SbVec2String.h.

◆ getValue() [2/2]

void SbVec2String::getValue ( SbString x,
SbString y 
) const

Returns vector components.

◆ operator[]() [1/2]

SbString & SbVec2String::operator[] ( int  i)
inline

Accesses indexed component of vector.

Definition at line 95 of file SbVec2String.h.

◆ operator[]() [2/2]

const SbString & SbVec2String::operator[] ( int  i) const
inline

Definition at line 96 of file SbVec2String.h.

◆ setValue() [1/2]

SbVec2String & SbVec2String::setValue ( const SbString  v[2])

Sets the vector components.

◆ setValue() [2/2]

SbVec2String & SbVec2String::setValue ( SbString  x,
SbString  y 
)

Sets the vector components.

Friends And Related Symbol Documentation

◆ operator!=

int operator!= ( const SbVec2String v1,
const SbVec2String v2 
)
friend

Inequality comparison operator.

Definition at line 107 of file SbVec2String.h.

◆ operator==

int operator== ( const SbVec2String v1,
const SbVec2String v2 
)
friend

Equality comparison operator.


The documentation for this class was generated from the following file: