Coin  4.0.3
Coin3D core library
Loading...
Searching...
No Matches
SbIntList Class Reference

The SbIntList class is a container for integer numbers. More...

#include <Inventor/lists/SbIntList.h>

Inheritance diagram for SbIntList:
SbPList

Public Member Functions

 SbIntList (const int sizehint)
 
 SbIntList (void)
 
void append (const int item)
 
int find (const int item)
 
void insert (const int item, const int addbefore)
 
int & operator[] (const int idx) const
 
- Public Member Functions inherited from SbPList
 SbPList (const int sizehint=DEFAULTSIZE)
 
 SbPList (const SbPList &l)
 
 ~SbPList ()
 
void append (void *item)
 
void copy (const SbPList &l)
 
int find (const void *item) const
 
void fit (void)
 
voidget (const int index) const
 
void ** getArrayPtr (const int start=0) const
 
int getLength (void) const
 
void insert (void *item, const int insertbefore)
 
int operator!= (const SbPList &l) const
 
SbPListoperator= (const SbPList &l)
 
int operator== (const SbPList &l) const
 
void *& operator[] (const int index) const
 
void remove (const int index)
 
void removeFast (const int index)
 
void removeItem (void *item)
 
void set (const int index, void *item)
 
void truncate (const int length, const int fit=0)
 

Additional Inherited Members

- Protected Member Functions inherited from SbPList
void expand (const int size)
 
int getArraySize (void) const
 

Detailed Description

The SbIntList class is a container for integer numbers.

See also
SbList

Constructor & Destructor Documentation

◆ SbIntList() [1/2]

SbIntList::SbIntList ( void )
inline

Default constructor.

◆ SbIntList() [2/2]

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)

Member Function Documentation

◆ append()

void SbIntList::append ( const int item)
inline

Overridden from parent to accept an integer argument.

◆ find()

int SbIntList::find ( const int item)
inline

Overridden from parent to accept an integer argument.

◆ insert()

void SbIntList::insert ( const int item,
const int addbefore )
inline

Overridden from parent to accept an integer argument.

◆ operator[]()

int & SbIntList::operator[] ( const int idx) const
inline

Overridden from parent to return an integer.


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