BALL  1.4.1
forEach.h
Go to the documentation of this file.
00001 // -*- Mode: C++; tab-width: 2; -*-
00002 // vi: set ts=2:
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
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines