1 #ifndef COIN_SBINTLIST_H 2 #define COIN_SBINTLIST_H 36 #include <Inventor/lists/SbPList.h> 46 this->
SbPList::append(reinterpret_cast<void*>(static_cast<uintptr_t>(item)));
49 return this->
SbPList::find(reinterpret_cast<void *>(static_cast<uintptr_t>(item)));
51 void insert(
const int item,
const int addbefore) {
52 this->
SbPList::insert(reinterpret_cast<void *>(static_cast<uintptr_t>(item)), addbefore);
55 return reinterpret_cast<int&
>(((*
static_cast<const SbPList *
>(
this))[idx]));
70 #if defined(COIN_INTERNAL) && !defined(COIN_ALLOW_SBINTLIST) 71 #error prefer SbList over SbIntList for internal code 72 #endif // COIN_INTERNAL 76 #endif // !COIN_SBINTLIST_H int find(const int item)
Definition: SbIntList.h:48
int find(const void *item) const
Definition: SbPList.cpp:222
The SbPList class is a container class for void pointers.
Definition: lists/SbPList.h:40
void append(void *item)
Definition: lists/SbPList.h:87
void append(const int item)
Definition: SbIntList.h:45
int & operator[](const int idx) const
Definition: SbIntList.h:54
void insert(const int item, const int addbefore)
Definition: SbIntList.h:51
SbIntList(void)
Definition: SbIntList.h:42
SbIntList(const int sizehint)
Definition: SbIntList.h:43
The SbIntList class is a container for integer list arrays.
Definition: SbIntList.h:40
void insert(void *item, const int insertbefore)
Definition: SbPList.cpp:236