24 #ifndef FXOBJECTLIST_H
25 #define FXOBJECTLIST_H
55 FXint no()
const {
return *((
FXint*)(ptr-1)); }
69 FXObject** data()
const {
return ptr; }
156 TYPE*&
at(
FXint i){
return (TYPE*&)ptr[i]; }
157 TYPE *
const&
at(
FXint i)
const {
return (TYPE*
const&)ptr[i]; }
160 TYPE**
data()
const {
return (TYPE**)ptr; }
TYPE *& at(FXint i)
Access to list.
Definition: FXObjectList.h:154
#define FXAPI
Definition: fxdefs.h:122
List of pointers to objects.
Definition: FXObjectList.h:34
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:99
int FXint
Definition: fxdefs.h:397
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:166
TYPE *& operator[](FXint i)
Indexing operator.
Definition: FXObjectList.h:150
FXObjectListOf()
Definition: FXObjectList.h:147
TYPE ** data() const
Access to content array.
Definition: FXObjectList.h:158
Specialize list to pointers to TYPE.
Definition: FXObjectList.h:145