SbVec2String Class Reference
[Basics]

2D SbString vector class. More...

#include <Inventor/SbVec2String.h>

List of all members.

Public Member Functions

 SbVec2String ()
 SbVec2String (const SbString v[2])
 SbVec2String (SbString x, SbString y)
const SbStringgetValue () const
void getValue (SbString &x, SbString &y) const
SbVec2StringsetValue (const SbString v[2])
SbVec2StringsetValue (SbString x, SbString y)

Friends

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



SbStringoperator[] (int i)
const SbStringoperator[] (int i) const

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


Constructor & Destructor Documentation

SbVec2String::SbVec2String (  )  [inline]

Default constructor.

The value is not initialized.

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

Constructor given vector components.

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

Constructor given two SbStrings.


Member Function Documentation

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

Returns 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.


Friends And Related Function Documentation

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

Inequality comparison operator.

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

Equality comparison operator.


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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/