LONGLIST Struct Reference
Similar to a SIMPLE_ARRAY<UINT32>, but with some differences.
More...
#include <mi32/longlist.h>
List of all members.
Detailed Description
Similar to a SIMPLE_ARRAY<UINT32>, but with some differences.
A LONGLIST serves two purposes. When possible, it keeps track of a list of numbers using a BITSET. It can also be made to keep track of a set of numbers like a SIMPLE_ARRAY but with an extra UINT8 flags for each entry.
Constructor & Destructor Documentation
Member Function Documentation
| bool LONGLIST::CheckIn |
( |
INT32 |
value |
) |
const |
Clear the list, but does not free memory.
| bool LONGLIST::GetFirst |
( |
INT32 * |
ip, |
|
|
INT32 * |
valp | |
|
) |
| | const |
| UINT8 LONGLIST::GetFlags |
( |
INT32 |
Index |
) |
const [inline] |
| bool LONGLIST::GetLast |
( |
INT32 * |
valp |
) |
const |
| bool LONGLIST::GetNext |
( |
INT32 * |
ip, |
|
|
INT32 * |
valp | |
|
) |
| | const |
| INT32 LONGLIST::GetNumItems |
( |
|
) |
const [inline] |
| INT32 LONGLIST::GetUserData |
( |
|
) |
const [inline] |
| INT32 LONGLIST::GetValue |
( |
INT32 |
Index |
) |
const [inline] |
| bool LONGLIST::HasFlags |
( |
|
) |
const [inline] |
| bool LONGLIST::IsSorted |
( |
|
) |
const [inline] |
| void LONGLIST::SetSorted |
( |
bool |
val = true |
) |
[inline] |
Set the sorted flag without actually sorting.
This is useful if you know you added the items in sorted order. You may also want to set it to false to force a re-sort if you change the sort criteria.
| void LONGLIST::SetUseBits |
( |
bool |
val = true |
) |
[inline] |
| void LONGLIST::SetUserData |
( |
INT32 |
val |
) |
[inline] |
The documentation for this struct was generated from the following file: