Iterator.h

Go to the documentation of this file.
00001 /* $Id: Iterator.h,v 1.3 2002/11/05 14:31:15 anonymous Exp $ */
00002 
00003 #ifndef __ITERATOR_PATTERN_H
00004 #define __ITERATOR_PATTERN_H
00005 
00006 #include <esg/Definitions.h>
00007 #include <esg/Group.h>
00008 #include <esg/SceneGraphObject.h>
00009 #include <esg/geometry/Geometry.h>
00010 
00011 /*
00012  * Gemeric class for iterators
00013  */
00014 
00015 namespace esg {
00016 
00017 class OGSCENE_EXPORT Iterator {
00018 public:
00019     virtual ~Iterator() {}
00020 
00021     virtual SceneGraphObject* firstChild() = 0;
00022     virtual SceneGraphObject* nextChild()  = 0;
00023 };
00024 
00025 }; // namespace
00026 
00027 #endif // __ITERATOR_PATTERN_H

Generated on Wed Jun 28 12:24:28 2006 for esg by  doxygen 1.4.6