1 #ifndef COIN_SBINTLIST_H
2 #define COIN_SBINTLIST_H
27 #include <Inventor/lists/SbPList.h>
37 ((
SbPList*)
this)->append((
void*)((uintptr_t)item));
40 return ((
SbPList*)
this)->find((
void *)((uintptr_t)item));
42 void insert(
const int item,
const int addbefore) {
43 ((
SbPList*)
this)->insert((
void *)((uintptr_t)item), addbefore);
46 return (
int&) ((*(
const SbPList*)
this)[idx]);
61 #if defined(COIN_INTERNAL) && !defined(COIN_ALLOW_SBINTLIST)
62 #error prefer SbList over SbIntList for internal code
63 #endif // COIN_INTERNAL
67 #endif // !COIN_SBINTLIST_H
int find(const int item)
Definition: SbIntList.h:39
void append(const int item)
Definition: SbIntList.h:36
The SbIntList class is a container for integer list arrays.
Definition: SbIntList.h:31
SbIntList(const int sizehint)
Definition: SbIntList.h:34
The SbPList class is a container class for void pointers.
Definition: SbPList.h:31
int & operator[](const int idx) const
Definition: SbIntList.h:45
void insert(const int item, const int addbefore)
Definition: SbIntList.h:42
SbIntList(void)
Definition: SbIntList.h:33
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Mon Jul 27 2020 for Coin by Doxygen. 1.8.18