|
PIP
0.5.0_alpha
Platform-Independent Primitives
|
Generic containers. More...
Macros | |
| #define | piForeach(i, c) |
| Macro for iterate any container. More... | |
| #define | piForeachC(i, c) |
| Macro for iterate any container only for read. More... | |
| #define | piForeachR(i, c) |
| Macro for iterate any container with reverse direction. More... | |
| #define | piForeachCR(i, c) |
| Macro for iterate any container only for read with reverse direction. More... | |
| #define | piBreak |
| Macro for break from any piForeach* loop. More... | |
Generic containers.
Queue container.
This file declare all containers and useful macros to use them
This file declare PIQueue
| #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 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 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 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:
| #define piBreak |
Macro for break from any piForeach* loop.