Changeset 921:818510fa3d99 in lemon-0.x for src/work/marci/for_each_macros.h
- Timestamp:
- 09/29/04 17:30:04 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1232
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/marci/for_each_macros.h
r725 r921 1 1 // -*- c++ -*- 2 #ifndef HUGO_FOR_EACH_MACROS_H3 #define HUGO_FOR_EACH_MACROS_H2 #ifndef LEMON_FOR_EACH_MACROS_H 3 #define LEMON_FOR_EACH_MACROS_H 4 4 5 5 // /// \ingroup gwrappers … … 8 8 /// 9 9 /// This file contains several macros which make easier writting 10 /// for cycles in HUGO using HUGOiterators.10 /// for cycles in LEMON using LEMON iterators. 11 11 /// 12 12 /// \author Marton Makai 13 13 14 namespace hugo{14 namespace lemon { 15 15 16 /// This macro provides a comfortable interface for iterating with HUGO16 /// This macro provides a comfortable interface for iterating with LEMON 17 17 /// iterators. 18 18 /// \code … … 34 34 #define FOR_EACH_GLOB(e, g) for((g).first((e)); (g).valid((e)); (g).next((e))) 35 35 36 /// This macro provides a comfortable interface for iterating with HUGO36 /// This macro provides a comfortable interface for iterating with LEMON 37 37 /// iterators. 38 38 /// \code … … 126 126 // } 127 127 128 /// This macro provides a comfortable interface for iterating with HUGO128 /// This macro provides a comfortable interface for iterating with LEMON 129 129 /// iterators. 130 130 /// \code … … 144 144 #define FOR_EACH_LOC(Ittype, e, g) for(Ittype e=loopFirst(Ittype(), (g)); (g).valid(e); (g).next(e)) 145 145 146 /// This macro provides a comfortable interface for iterating with HUGO146 /// This macro provides a comfortable interface for iterating with LEMON 147 147 /// iterators. 148 148 /// \code … … 171 171 // #define FOR_EACH_OUTEDGE_LOC(e, g, v) for((g).first((e), (v)); (g).valid((e)); (g).next((e))) 172 172 173 } //namespace hugo173 } //namespace lemon 174 174 175 #endif // HUGO_FOR_EACH_MACROS_H175 #endif //LEMON_FOR_EACH_MACROS_H
Note: See TracChangeset
for help on using the changeset viewer.