Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members  

SbStringList Class Reference

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 Methods

 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.


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 Sat Jan 12 11:40:53 2002 for Coin by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001