![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXObjectList.h>
List of pointers to objects.
Default constructor.
FX::FXObjectList::FXObjectList | ( | const FXObjectList & | orig | ) |
Copy constructor.
FX::FXObjectList::FXObjectList | ( | FXObject * | object | ) |
Construct and init with single object.
FX::FXObjectList::FXObjectList | ( | FXObject ** | objects, |
FXint | n | ||
) |
Construct and init with list of objects.
virtual FX::FXObjectList::~FXObjectList | ( | ) | [virtual] |
Destructor.
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.
Indexing operator.
Reimplemented in FX::FXObjectListOf< TYPE >.
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 >.
FXObjectList& FX::FXObjectList::assign | ( | FXObject * | object | ) |
Assign object p to list.
FXObjectList& FX::FXObjectList::assign | ( | FXObject ** | objects, |
FXint | n | ||
) |
Assign n objects to list.
FXObjectList& FX::FXObjectList::assign | ( | FXObjectList & | objects | ) |
Assign objects to list.
FXObjectList& FX::FXObjectList::insert | ( | FXint | pos, |
FXObject * | object | ||
) |
Insert object at certain position.
FXObjectList& FX::FXObjectList::insert | ( | FXint | pos, |
FXObject ** | objects, | ||
FXint | n | ||
) |
Insert n objects at specified position.
FXObjectList& FX::FXObjectList::insert | ( | FXint | pos, |
FXObjectList & | objects | ||
) |
Insert objects at specified position.
FXObjectList& FX::FXObjectList::prepend | ( | FXObject * | object | ) |
Prepend object.
FXObjectList& FX::FXObjectList::prepend | ( | FXObject ** | objects, |
FXint | n | ||
) |
Prepend n objects.
FXObjectList& FX::FXObjectList::prepend | ( | FXObjectList & | objects | ) |
Prepend objects.
FXObjectList& FX::FXObjectList::append | ( | FXObject * | object | ) |
Append object.
FXObjectList& FX::FXObjectList::append | ( | FXObject ** | objects, |
FXint | n | ||
) |
Append n objects.
FXObjectList& FX::FXObjectList::append | ( | FXObjectList & | objects | ) |
Append objects.
FXObjectList& FX::FXObjectList::replace | ( | FXint | pos, |
FXObject * | object | ||
) |
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.
FXObjectList& FX::FXObjectList::replace | ( | FXint | pos, |
FXint | m, | ||
FXObjectList & | objects | ||
) |
Replace the m objects at pos with objects.
FXObjectList& FX::FXObjectList::erase | ( | FXint | pos | ) |
Remove object at pos.
FXObjectList& FX::FXObjectList::erase | ( | FXint | pos, |
FXint | n | ||
) |
Remove n objects at pos.
FXObjectList& FX::FXObjectList::remove | ( | const FXObject * | object | ) |
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.
![]() |