00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
#ifndef COIN_LISTS_SBPLIST_H
00021
#define COIN_LISTS_SBPLIST_H
00022
00023
#include <Inventor/lists/SbList.h>
00024
00025 class COIN_DLL_API SbPList :
public SbList<void *> {
00026
public:
00027 SbPList(
void) :
SbList<void *>() { }
00028 SbPList(
const int sizehint) :
SbList<void *>(sizehint) { }
00029 SbPList(
const SbPList & l) :
SbList<void *>(l) { }
00030
00031 void * get(
const int index)
const {
return (*this)[index]; }
00032 void set(
const int index,
void *
const item) { (*this)[index] = item; }
00033
void * operator[](
const int index)
const;
00034
void * & operator[](
const int index);
00035
00036
private:
00037
void expandlist(
const int size);
00038 };
00039
00040
00041
#ifndef COIN_INTERNAL
00042
#include <Inventor/lists/SbIntList.h>
00043
#include <Inventor/lists/SbVec3fList.h>
00044
#include <Inventor/lists/SbStringList.h>
00045
#endif // COIN_INTERNAL
00046
00047
#endif // !COIN_LISTS_SBPLIST_H