![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Specialize list to pointers to TYPE. More...
#include <FXObjectList.h>
Public Member Functions | |
| FXObjectListOf () | |
| Default constructor. | |
| FXObjectListOf (const FXObjectListOf< TYPE > &src) | |
| Copy constructor. | |
| FXObjectListOf (TYPE *object) | |
| Construct and init with single object. | |
| FXObjectListOf (TYPE *object, FXint n) | |
| Construct and init with n copies of object. | |
| FXObjectListOf (TYPE **objects, FXint n) | |
| Construct and init with list of objects. | |
| TYPE *& | operator[] (FXint i) |
| Indexing operator. | |
| TYPE *const & | operator[] (FXint i) const |
| TYPE *& | at (FXint i) |
| Access to list. | |
| TYPE *const & | at (FXint i) const |
| TYPE *& | head () |
| First element in list. | |
| TYPE *const & | head () const |
| TYPE *& | tail () |
| Last element in list. | |
| TYPE *const & | tail () const |
| TYPE ** | data () |
| Access to content array. | |
| TYPE *const * | data () const |
Public Member Functions inherited from FX::FXObjectList | |
| FXObjectList () | |
| Default constructor. | |
| FXObjectList (const FXObjectList &src) | |
| Copy constructor. | |
| FXObjectList (FXObject *object) | |
| Construct and init with single object. | |
| FXObjectList (FXObject *object, FXint n) | |
| Construct and init with n copies of object. | |
| FXObjectList (FXObject **objects, FXint n) | |
| Construct and init with list of objects. | |
| FXObjectList & | operator= (const FXObjectList &orig) |
| Assignment operator. | |
| FXint | no () const |
| Return number of objects. | |
| FXbool | no (FXint num) |
| Set number of objects. | |
| void | adopt (FXObjectList &orig) |
| Adopt objects from orig, leaving orig empty. | |
| FXbool | assign (FXObject *object) |
| Assign object to list. | |
| FXbool | assign (FXObject *object, FXint n) |
| Assign n copies of object to list. | |
| FXbool | assign (FXObject **objects, FXint n) |
| Assign n objects to list. | |
| FXbool | assign (const FXObjectList &objects) |
| Assign objects to list. | |
| FXbool | insert (FXint pos, FXObject *object) |
| Insert object at certain position. | |
| FXbool | insert (FXint pos, FXObject *object, FXint n) |
| Insert n copies of object at specified position. | |
| FXbool | insert (FXint pos, FXObject **objects, FXint n) |
| Insert n objects at specified position. | |
| FXbool | insert (FXint pos, const FXObjectList &objects) |
| Insert objects at specified position. | |
| FXbool | prepend (FXObject *object) |
| Prepend object. | |
| FXbool | prepend (FXObject *object, FXint n) |
| Prepend n copies of object. | |
| FXbool | prepend (FXObject **objects, FXint n) |
| Prepend n objects. | |
| FXbool | prepend (const FXObjectList &objects) |
| Prepend objects. | |
| FXbool | append (FXObject *object) |
| Append object. | |
| FXbool | append (FXObject *object, FXint n) |
| Append n copies of object. | |
| FXbool | append (FXObject **objects, FXint n) |
| Append n objects. | |
| FXbool | append (const FXObjectList &objects) |
| Append objects. | |
| FXbool | replace (FXint pos, FXObject *object) |
| Replace object at position by given object. | |
| FXbool | replace (FXint pos, FXint m, FXObject *object, FXint n) |
| Replaces the m objects at pos with n copies of object. | |
| FXbool | replace (FXint pos, FXint m, FXObject **objects, FXint n) |
| Replaces the m objects at pos with n objects. | |
| FXbool | replace (FXint pos, FXint m, const FXObjectList &objects) |
| Replace the m objects at pos with objects. | |
| FXbool | erase (FXint pos) |
| Remove object at pos. | |
| FXbool | erase (FXint pos, FXint n) |
| Remove n objects at pos. | |
| FXbool | push (FXObject *object) |
| Push object to end. | |
| FXbool | pop () |
| Pop object from end. | |
| FXbool | remove (const FXObject *object) |
| Remove object. | |
| FXint | find (const FXObject *object, FXint pos=0) const |
| Find object in list, searching forward; return position or -1. | |
| FXint | rfind (const FXObject *object, FXint pos=2147483647) const |
| Find object in list, searching backward; return position or -1. | |
| void | clear () |
| Remove all objects. | |
| void | save (FXStream &store) const |
| Save to a stream. | |
| void | load (FXStream &store) |
| Load from a stream. | |
| virtual | ~FXObjectList () |
| Destructor. | |
Additional Inherited Members | |
Protected Attributes inherited from FX::FXObjectList | |
| FXObject ** | ptr |
Specialize list to pointers to TYPE.
|
|