List of pointers to objects
Inheritance:
Public Methods
-
FXObjectList()
- Default constructor
-
FXObjectList(const FXObjectList& orig)
- Copy constructor
-
FXObjectList& operator=(const FXObjectList& orig)
- Assignment operator
-
FXint no() const
- Return number of elements
-
void no(FXint n)
- Set number of elements
-
FXint size() const
- Return size of list
-
void size(FXint m)
- Set max number of elements
-
FXObject*& operator[](FXint i)
- Indexing operator
-
FXObject*& list(FXint i)
- Access to list
-
FXObject** list() const
- Access to content array
-
void insert(FXint pos, FXObject* p)
- Insert element at certain position
-
void prepend(FXObject* p)
- Prepend element
-
void append(FXObject* p)
- Append element
-
void replace(FXint pos, FXObject* p)
- Replace element
-
void remove(FXint pos)
- Remove element at pos
-
void remove(const FXObject* p)
- Remove element p
-
FXint findf(const FXObject* p, FXint pos=0) const
- Find object in list, searching forward; return position or -1
-
FXint findb(const FXObject* p, FXint pos=2147483647) const
- Find object in list, searching backward; return position or -1
-
void clear()
- Remove all elements
-
void save(FXStream& store) const
- Save to a stream
-
void load(FXStream& store)
- Load from a stream
-
virtual ~FXObjectList()
- Destructor
Protected Fields
-
FXObject** data
- List of items
-
FXint num
- Used slots
-
FXint max
- Total slots
Documentation
List of pointers to objects
FXObject** data
- List of items
FXint num
- Used slots
FXint max
- Total slots
FXObjectList()
- Default constructor
FXObjectList(const FXObjectList& orig)
- Copy constructor
FXObjectList& operator=(const FXObjectList& orig)
- Assignment operator
FXint no() const
- Return number of elements
void no(FXint n)
- Set number of elements
FXint size() const
- Return size of list
void size(FXint m)
- Set max number of elements
FXObject*& operator[](FXint i)
- Indexing operator
FXObject*& list(FXint i)
- Access to list
FXObject** list() const
- Access to content array
void insert(FXint pos, FXObject* p)
- Insert element at certain position
void prepend(FXObject* p)
- Prepend element
void append(FXObject* p)
- Append element
void replace(FXint pos, FXObject* p)
- Replace element
void remove(FXint pos)
- Remove element at pos
void remove(const FXObject* p)
- Remove element p
FXint findf(const FXObject* p, FXint pos=0) const
- Find object in list, searching forward; return position or -1
FXint findb(const FXObject* p, FXint pos=2147483647) const
- Find object in list, searching backward; return position or -1
void clear()
- Remove all elements
void save(FXStream& store) const
- Save to a stream
void load(FXStream& store)
- Load from a stream
virtual ~FXObjectList()
- Destructor
- Direct child classes:
- FXObjectListOf
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.