Open Inventor Reference
SbStringList Class Reference

A list of strings. More...

#include <Inventor/SbPList.h>

Inheritance diagram for SbStringList:
SbPList

Public Member Functions

void append (SbString *string)
 Adds given pointer to end of list.
 
int find (SbString *string)
 Returns index of given pointer in list, or -1 if not found.
 
void insert (SbString *string, int addBefore)
 Inserts given pointer in list before pointer with given index.
 
SbString *& operator[] (int i) const
 
- Public Member Functions inherited from SbPList
 SbPList ()
 Constructor.
 
 SbPList (int initSize)
 initSize specifies an initial size for the list, which is useful as an optimization if you can estimate the length of the list before you construct it.
 
 SbPList (const SbPList &pl)
 Copy constructor.
 
 ~SbPList ()
 Destructor.
 
void append (void *ptr)
 Adds given pointer to end of list.
 
int find (const void *ptr) const
 Returns index of given pointer in list, or -1 if not found.
 
void insert (void *ptr, int addBefore)
 Inserts given pointer in list before pointer with given index.
 
void remove (int which)
 Removes pointer with given index.
 
int getLength () const
 Returns number of pointers in list.
 
void truncate (int start)
 Removes all pointers after one with given index, inclusive.
 
void copy (const SbPList &pl)
 Copy a list.
 
SbPListoperator= (const SbPList &pl)
 Assignment operator; copies list into this list.
 
void *& operator[] (int i) const
 Returns pointer with given index.
 
bool operator== (const SbPList &pl) const
 Equality and inequality operators.
 
bool operator!= (const SbPList &pl) const
 Equality and inequality operators.
 
void * get (int i) const
 Internal versions of [] that do not check for bounds:
 
void set (int i, void *j)
 

Detailed Description

This list is used to list classes associated with a specific error.

Definition at line 239 of file SbPList.h.

Member Function Documentation

◆ append()

void SbStringList::append ( SbString string)
inline

Definition at line 242 of file SbPList.h.

◆ find()

int SbStringList::find ( SbString string)
inline

Definition at line 246 of file SbPList.h.

◆ insert()

void SbStringList::insert ( SbString string,
int  addBefore 
)
inline

Definition at line 250 of file SbPList.h.

◆ operator[]()

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

Definition at line 253 of file SbPList.h.


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