Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

SbStringList Class Reference
[Base classes]

The SbStringList class is a container for arrays of SbString pointers. More...

#include <Inventor/lists/SbStringList.h>

Inheritance diagram for SbStringList:

SbList< SbString * > List of all members.

Public Member Functions

 SbStringList (void)
 SbStringList (const int sizehint)
 SbStringList (const SbStringList &l)
SbStringget (const int index) const
void set (const int index, SbString *const item)

Detailed Description

The SbStringList class is a container for arrays of SbString pointers.

Note that upon using the equality and inequality operators, the strings themselves are not compared, only the pointer values.

See also:
SbList


Constructor & Destructor Documentation

SbStringList::SbStringList void   )  [inline]
 

Default constructor.

SbStringList::SbStringList const int  sizehint  )  [inline]
 

This constructor initializes the internal allocated size for the list to sizehint. Note that the list will still initially contain zero items.

See also:
SbList::SbList(const int sizehint)

SbStringList::SbStringList const SbStringList l  )  [inline]
 

Copy constructor.

See also:
SbList::SbList(const SbList<Type> & l)


Member Function Documentation

SbString * SbStringList::get const int  index  )  const [inline]
 

This method returns the element at index. Does the same thing as SbList::operator[](). This method is only present for compatibility with the original Inventor API.

void SbStringList::set const int  index,
SbString *const  item
[inline]
 

This method sets the element at index to item. Does the same thing as SbList::operator[](). This method is only present for compatibility with the original Inventor API.


The documentation for this class was generated from the following files:
Generated on Tue Jul 27 23:53:08 2004 for Coin by doxygen 1.3.7