Changeset 343 for cpp/frams/util/advlist.h
- Timestamp:
- 04/04/15 20:40:02 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/util/advlist.h
r286 r343 19 19 /// sorting functions moved to SortView class 20 20 21 class AdvList : public SList21 class AdvList : public SList 22 22 { 23 23 public: 24 Callback l_add, l_del, l_mod, l_postdel;25 void remove(int);26 virtual void mod(int=-1); ///< call this when you change one or more elements in list (-1 means all elements)27 void clear();28 AdvList() {}29 ~AdvList() {clear();}30 int operator+=(void*);31 void operator-=(void*);32 void operator-=(int i) {remove(i);}24 Callback l_add, l_del, l_mod, l_postdel; 25 void remove(int); 26 virtual void mod(int = -1); ///< call this when you change one or more elements in list (-1 means all elements) 27 void clear(); 28 AdvList() {} 29 ~AdvList() { clear(); } 30 int operator+=(void*); 31 void operator-=(void*); 32 void operator-=(int i) { remove(i); } 33 33 }; 34 34
Note: See TracChangeset
for help on using the changeset viewer.