Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXObjectList Class Reference

#include <FXObjectList.h>

Inheritance diagram for FX::FXObjectList:
FX::FXObjectListOf< TYPE >

List of all members.

Public Member Functions

 FXObjectList ()
 FXObjectList (const FXObjectList &orig)
 FXObjectList (FXObject *object)
 FXObjectList (FXObject **objects, FXint n)
FXObjectListoperator= (const FXObjectList &orig)
FXint no () const
void no (FXint num)
FXObject *& operator[] (FXint i)
FXObject *const & operator[] (FXint i) const
FXObject *& at (FXint i)
FXObject *const & at (FXint i) const
FXObject ** data () const
FXObjectListassign (FXObject *object)
FXObjectListassign (FXObject **objects, FXint n)
FXObjectListassign (FXObjectList &objects)
FXObjectListinsert (FXint pos, FXObject *object)
FXObjectListinsert (FXint pos, FXObject **objects, FXint n)
FXObjectListinsert (FXint pos, FXObjectList &objects)
FXObjectListprepend (FXObject *object)
FXObjectListprepend (FXObject **objects, FXint n)
FXObjectListprepend (FXObjectList &objects)
FXObjectListappend (FXObject *object)
FXObjectListappend (FXObject **objects, FXint n)
FXObjectListappend (FXObjectList &objects)
FXObjectListreplace (FXint pos, FXObject *object)
FXObjectListreplace (FXint pos, FXint m, FXObject **objects, FXint n)
FXObjectListreplace (FXint pos, FXint m, FXObjectList &objects)
FXObjectListerase (FXint pos)
FXObjectListerase (FXint pos, FXint n)
FXObjectListremove (const FXObject *object)
FXint find (const FXObject *object, FXint pos=0) const
FXint rfind (const FXObject *object, FXint pos=2147483647) const
FXObjectListclear ()
void save (FXStream &store) const
void load (FXStream &store)
virtual ~FXObjectList ()

Detailed Description

List of pointers to objects.


Constructor & Destructor Documentation

Default constructor.

Copy constructor.

Construct and init with single object.

Construct and init with list of objects.

virtual FX::FXObjectList::~FXObjectList ( ) [virtual]

Destructor.


Member Function Documentation

FXObjectList& FX::FXObjectList::operator= ( const FXObjectList orig)

Assignment operator.

FXint FX::FXObjectList::no ( ) const [inline]

Return number of objects.

void FX::FXObjectList::no ( FXint  num)

Set number of objects.

FXObject*& FX::FXObjectList::operator[] ( FXint  i) [inline]

Indexing operator.

Reimplemented in FX::FXObjectListOf< TYPE >.

FXObject* const& FX::FXObjectList::operator[] ( FXint  i) const [inline]

Reimplemented in FX::FXObjectListOf< TYPE >.

FXObject*& FX::FXObjectList::at ( FXint  i) [inline]

Indexing operator.

Reimplemented in FX::FXObjectListOf< TYPE >.

FXObject* const& FX::FXObjectList::at ( FXint  i) const [inline]

Reimplemented in FX::FXObjectListOf< TYPE >.

FXObject** FX::FXObjectList::data ( ) const [inline]

Access to content array.

Reimplemented in FX::FXObjectListOf< TYPE >.

Assign object p to list.

Assign n objects to list.

Assign objects to list.

Insert object at certain position.

FXObjectList& FX::FXObjectList::insert ( FXint  pos,
FXObject **  objects,
FXint  n 
)

Insert n objects at specified position.

Insert objects at specified position.

Prepend object.

Prepend n objects.

Prepend objects.

Append object.

Append n objects.

Append objects.

Replace object at position by given object.

FXObjectList& FX::FXObjectList::replace ( FXint  pos,
FXint  m,
FXObject **  objects,
FXint  n 
)

Replaces the m objects at pos with n objects.

Replace the m objects at pos with objects.

Remove object at pos.

Remove n objects at pos.

Remove object.

FXint FX::FXObjectList::find ( const FXObject object,
FXint  pos = 0 
) const

Find object in list, searching forward; return position or -1.

FXint FX::FXObjectList::rfind ( const FXObject object,
FXint  pos = 2147483647 
) const

Find object in list, searching backward; return position or -1.

Remove all objects.

void FX::FXObjectList::save ( FXStream store) const

Save to a stream.

void FX::FXObjectList::load ( FXStream store)

Load from a stream.

Copyright © 1997-2005 Jeroen van der Zijp