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
The SbIntList class is a container for integer list arrays.
Definition SbIntList.h:31
int & operator[](const int idx) const
Definition SbIntList.h:45
SbIntList(void)
Definition SbIntList.h:33
void insert(const int item, const int addbefore)
Definition SbIntList.h:42
int find(const int item)
Definition SbIntList.h:39
void append(const int item)
Definition SbIntList.h:36
SbIntList(const int sizehint)
Definition SbIntList.h:34
The SbPList class is a container class for void pointers.
Definition SbPList.h:31
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 17 2024 for Coin by Doxygen. 1.12.0