00001
00002
00003
00004
00005 #ifndef BALL_DATATYPE_FOREACH_H
00006 #define BALL_DATATYPE_FOREACH_H
00007
00008 #ifndef BALL_COMMON_H
00009 # include <BALL/common.h>
00010 #endif
00011
00029 #define BALL_FOREACH(container, element_iterator) \
00030 for (element_iterator = container.begin(); \
00031 !element_iterator.isEnd(); \
00032 ++element_iterator)
00033
00034 #endif // BALL_DATATYPE_FOREACH_H