00001 #ifndef COIN_SOBASELIST_H
00002 #define COIN_SOBASELIST_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 class SoBase;
00028
00029 #include <Inventor/SbBasic.h>
00030 #include <Inventor/lists/SbPList.h>
00031
00032 class COIN_DLL_API SoBaseList : public SbPList {
00033 public:
00034 SoBaseList(void);
00035 SoBaseList(const int size);
00036 SoBaseList(const SoBaseList & l);
00037 ~SoBaseList();
00038
00039 void append(SoBase * ptr);
00040 void insert(SoBase * ptr, const int addbefore);
00041 void remove(const int index);
00042 void truncate(const int length);
00043 void copy(const SoBaseList & l);
00044 SoBaseList & operator=(const SoBaseList & l);
00045 SoBase * operator[](const int i) const;
00046 void set(const int i, SoBase * const ptr);
00047 void addReferences(const SbBool flag);
00048 SbBool isReferencing(void) const;
00049
00050 private:
00051 SbBool referencing;
00052 };
00053
00054 #endif // !COIN_SOBASELIST_H