file2.cpp File Reference
|
Classes |
struct | Employe |
| Some structure. More...
|
Defines |
#define | DUMP(p) printf("[%d] %s\n", p->id, p->name.c_str()) |
| Dump an instance of Employe.
|
#define | DUMP_LIST(p) |
| DEBUG.
|
Detailed Description
define an other version of dump
Define Documentation
#define DUMP |
( |
p |
|
) |
printf("[%d] %s\n", p->id, p->name.c_str()) |
Dump an instance of Employe.
- Parameters:
-
| p | The empoyee instance to dump |
Value:
for(list<Employe> it(p.begin()), itEnd(p.end(); \
it != itEnd; \
++it) \
DUMP(*it);
DEBUG.
Dump a list of Employe
- Parameters:
-