PIP
0.4.0_beta2
Platform-Independent Primitives
|
Generic containers. More...
Classes | |
class | PISet< Type, Compare, Allocator > |
Set of any type. More... | |
Macros | |
#define | piForeach(i, c) |
Macro for iterate any container. More... | |
#define | piForeachR(i, c) |
Macro for iterate any container with reverse direction. More... | |
#define | piForeachC(i, c) |
Macro for iterate any container only for read. More... | |
#define | piForeachCR(i, c) |
Macro for iterate any container only for read with reverse direction. More... | |
Generic containers.
Stack container.
Queue container.
This file declare all containers and useful macros to use them
This file declare PIQueue
This file declare PIStack
#define piForeach | ( | i, | |
c | |||
) |
Macro for iterate any container.
Use this macros instead of standard "for" to get read/write access to each element of container. Pass direction is direct
Example:
#define piForeachR | ( | i, | |
c | |||
) |
Macro for iterate any container with reverse direction.
Use this macros instead of standard "for" to get read/write access to each element of container. Pass direction is reverse
Example:
#define piForeachC | ( | i, | |
c | |||
) |
Macro for iterate any container only for read.
Use this macros instead of standard "for" to get read access to each element of container. Pass direction is direct
Example:
#define piForeachCR | ( | i, | |
c | |||
) |
Macro for iterate any container only for read with reverse direction.
Use this macros instead of standard "for" to get read access to each element of container. Pass direction is reverse
Example: