Isle
|
[AI] Forward declaration for MxListCursor. More...
#include <mxlist.h>
Public Member Functions | |
MxListCursor (MxList< T > *p_list) | |
[AI] More... | |
MxBool | Find (T p_obj) |
[AI] More... | |
void | Detach () |
[AI] More... | |
void | Destroy () |
[AI] More... | |
MxBool | Next () |
[AI] More... | |
MxBool | Next (T &p_obj) |
[AI] More... | |
MxBool | Prev () |
[AI] More... | |
MxBool | Prev (T &p_obj) |
[AI] More... | |
MxBool | Current (T &p_obj) |
[AI] More... | |
MxBool | First (T &p_obj) |
[AI] More... | |
MxBool | Last (T &p_obj) |
[AI] More... | |
MxBool | HasMatch () |
[AI] More... | |
void | SetValue (T p_obj) |
[AI] More... | |
MxBool | Head () |
[AI] More... | |
MxBool | Tail () |
[AI] More... | |
void | Reset () |
[AI] More... | |
void | Prepend (T p_newobj) |
[AI] More... | |
![]() | |
MxCore () | |
[AI] Constructs a new MxCore object and assigns it a unique id. More... | |
virtual | ~MxCore () |
[AI] Virtual destructor. Required for correct polymorphic cleanup in derived classes. More... | |
virtual MxLong | Notify (MxParam &p_param) |
[AI] Virtual callback notification mechanism. More... | |
virtual MxResult | Tickle () |
[AI] Called by tickle managers to allow the object to update itself. More... | |
virtual const char * | ClassName () const |
[AI] Returns the runtime class name of this object. More... | |
virtual MxBool | IsA (const char *p_name) const |
[AI] Checks whether this object's class type or parents match the given name. More... | |
MxU32 | GetId () |
[AI] Gets the unique (per-process) id assigned to this object instance. More... | |
[AI] Forward declaration for MxListCursor.
[AI]
Iterator for traversing and operating on elements within a MxList. [AI]
[AI] Supports navigation, search, element removal, and reset. Encapsulates state about the current match and operates on a target MxList<T>. [AI]
|
inline |
MxBool MxListCursor< T >::Current | ( | T & | p_obj | ) |
[AI]
Access value of the current match. [AI]
p_obj | Output: Value at the current match position. [AI] |
void MxListCursor< T >::Destroy | ( | ) |
[AI]
Remove the currently matched entry and destroy the value (invoking destructor). [AI]
void MxListCursor< T >::Detach | ( | ) |
[AI]
Remove the currently matched entry from the list, but do not call destructor on the value. [AI]
MxBool MxListCursor< T >::Find | ( | T | p_obj | ) |
[AI]
Search for the first occurrence of an element matching p_obj. [AI]
p_obj | The value to look for. [AI] |
MxBool MxListCursor< T >::First | ( | T & | p_obj | ) |
[AI]
Move to the first entry and retrieve its value. [AI]
p_obj | Output: Value at the first entry. [AI] |
|
inline |
|
inline |
MxBool MxListCursor< T >::Last | ( | T & | p_obj | ) |
[AI]
Move to last entry and retrieve its value. [AI]
p_obj | Output: Value at the last entry. [AI] |
MxBool MxListCursor< T >::Next | ( | ) |
[AI]
Move the cursor to the next entry. [AI]
MxBool MxListCursor< T >::Next | ( | T & | p_obj | ) |
[AI]
Move to the next entry and provide its value. [AI]
p_obj | Output: Value at the new position. [AI] |
void MxListCursor< T >::Prepend | ( | T | p_newobj | ) |
[AI]
Insert a value before the current match. [AI]
p_newobj | Value to insert. [AI] |
MxBool MxListCursor< T >::Prev | ( | ) |
[AI]
Move cursor to previous entry in the list. [AI]
MxBool MxListCursor< T >::Prev | ( | T & | p_obj | ) |
[AI]
Move to previous entry, provide its value via argument. [AI]
p_obj | Output: Value at the new position. [AI] |
|
inline |
void MxListCursor< T >::SetValue | ( | T | p_obj | ) |
[AI]
Change the value at the cursor's current match position. [AI]
p_obj | The value to set. [AI] |
|
inline |