Rogue Wave Views Foundation Package API Reference Guide |
Rogue Wave Views Documentation Home |
Declaration of the IlList
class.
More...
#include <ilog/alloc.h>
Classes | |
class | IlList |
A predefined list class that stores IlAny pointers. More... | |
class | IlList |
A predefined list class that stores IlAny pointers. More... | |
class | IlListIterator |
A predefined list iterator class that iterates on IlList objects. More... | |
class | IlListIterator |
A predefined list iterator class that iterates on IlList objects. More... | |
class | IlListIteratorOf(NAME) |
An unsafe iterator of lists. More... | |
class | IlListOf(NAME) |
A generic class that handles lists. More... | |
class | IlSafeListIterator |
A predefined safe list iterator class that iterates on IlList objects. More... | |
class | IlSafeListIterator |
A predefined safe list iterator class that iterates on IlList objects. More... | |
class | IlSafeListIteratorOf(NAME) |
A safe iterator of lists. More... | |
Macros | |
#define | IlDefineListOf(NAME, TYPE) |
Defines a new list. More... | |
#define | IlMapList(list, type, variable, expression) |
Enumerates a new list. More... | |
Declaration of the IlList
class.
Library: ilog
#define IlDefineListOf | ( | NAME, | |
TYPE | |||
) |
Defines a new list.
This macro defines a new class, called IlListOf(NAME)
, that is a list of elements of the type TYPE.
NAME | The identifier of the new list, as it appears in IlListOf(NAME) . |
TYPE | The type of the elements stored in this list. Note that this type must be able to be cast to and from a void* . |
#define IlMapList | ( | list, | |
type, | |||
variable, | |||
expression | |||
) |
Enumerates a new list.
This macro calls the expression expression for each element of the list list. Each element is stored in the variable variable before expression is called. You must have defined variable as a variable of the type type before you call IlMapList()
.
list | The list that is enumerated. This must be a pointer to a list that stores elements of the type type. |
type | The type of the elements of this list. |
variable | The name of the variable to be set. |
expression | The expression that is called for each element. Use the contents of variable in the expression to get the elements. |
© Copyright 2017, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.