Open Inventor Reference
SoTypeList Class Reference

Maintains a list of SoTypes. More...

#include <Inventor/SoLists.h>

Inheritance diagram for SoTypeList:
SbPList

List of all members.

Public Member Functions

 SoTypeList ()
 SoTypeList (int size)
 SoTypeList (const SoTypeList &l)
 ~SoTypeList ()
 Destructor.
void append (SoType typeId)
 Adds a type to the end of the list.
int find (SoType typeId) const
 Returns index of given type in list, or -1 if not found.
void insert (SoType typeId, int addBefore)
 Inserts given type in list before type with given index.
SoType operator[] (int i) const
 Access an element of a list.
void set (int i, SoType typeId)
 Sets an element of a list.

Detailed Description

This subclass of SbPList holds lists of SoType type identifiers.

See Also
SoType

Definition at line 295 of file SoLists.h.


Constructor & Destructor Documentation

SoTypeList::SoTypeList ( ) [inline]

Definition at line 297 of file SoLists.h.

SoTypeList::SoTypeList ( int  size) [inline]

Definition at line 298 of file SoLists.h.

SoTypeList::SoTypeList ( const SoTypeList l) [inline]

Definition at line 299 of file SoLists.h.

SoTypeList::~SoTypeList ( ) [inline]

Definition at line 301 of file SoLists.h.

References SbPList::truncate().


Member Function Documentation

void SoTypeList::append ( SoType  typeId)
int SoTypeList::find ( SoType  typeId) const
void SoTypeList::insert ( SoType  typeId,
int  addBefore 
)
SoType SoTypeList::operator[] ( int  i) const

Reimplemented from SbPList.

void SoTypeList::set ( int  i,
SoType  typeId 
)

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