Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members  

SbIntList Class Reference

The SbIntList class is a container for integer list arrays. More...

#include <Inventor/lists/SbIntList.h>

Inheritance diagram for SbIntList::

SbList< int > List of all members.

Public Methods

 SbIntList (void)
 SbIntList (const int sizehint)
 SbIntList (const SbIntList &l)
int get (const int index) const
void set (const int index, const int item)

Detailed Description

The SbIntList class is a container for integer list arrays.


Constructor & Destructor Documentation

SbIntList::SbIntList void    [inline]
 

Default constructor.

SbIntList::SbIntList 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)

SbIntList::SbIntList const SbIntList &    l [inline]
 

Copy constructor.

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


Member Function Documentation

int SbIntList::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 SbIntList::set const int    index,
const int    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:52 2002 for Coin by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001