00001 #ifndef COIN_SOAUDITORLIST_H
00002 #define COIN_SOAUDITORLIST_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 #include <Inventor/lists/SbPList.h>
00028 #include <Inventor/misc/SoNotification.h>
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043 class COIN_DLL_API SoAuditorList : private SbPList {
00044 typedef SbPList inherited;
00045
00046 public:
00047 SoAuditorList(void);
00048 ~SoAuditorList();
00049
00050 void append(void * const auditor, const SoNotRec::Type type);
00051
00052 void set(const int index, void * const auditor, const SoNotRec::Type type);
00053 void * getObject(const int index) const;
00054 SoNotRec::Type getType(const int index) const;
00055
00056 int getLength(void) const;
00057 int find(void * const auditor, const SoNotRec::Type type) const;
00058
00059 void remove(const int index);
00060 void remove(void * const auditor, const SoNotRec::Type type);
00061
00062 void notify(SoNotList * l);
00063
00064 private:
00065
00066
00067 SoAuditorList(const int) { }
00068 SoAuditorList(const SoAuditorList & l) : SbPList(l) { }
00069 void * get(const int) const { return NULL; }
00070 void set(const int, void * const) { }
00071 void copy(const SbPList &) { }
00072 void append(const void *) { }
00073 int find(const void *) const { return -1; }
00074 void insert(const void *, const int) { }
00075 void removeFast(const int) { }
00076 void truncate(const int, const int = 0) { }
00077 void push(const void *) { }
00078 void * pop(void) { return NULL; }
00079 SbPList & operator=(const SbPList &) { return *this; }
00080 operator void ** (void) { return (void **) NULL; }
00081 operator const void ** (void) const { return (const void **) NULL; }
00082 void * operator[](const int) const { return NULL; }
00083 void * & operator[](const int) { return SbPList::operator[](0); }
00084 int operator==(const SbPList &) const { return 0; }
00085 int operator!=(const SbPList &) const { return 0; }
00086
00087 void doNotify(SoNotList * l, const void * auditor, const SoNotRec::Type type);
00088
00089 };
00090
00091 #endif // !COIN_SOAUDITORLIST_H