LocSetIterator.hpp

Go to the documentation of this file.
00001 
00015 #ifndef LocSetIterator_H
00016 #define LocSetIterator_H
00017 
00018 #include <OpenAnalysis/Location/LocSet.hpp>
00019 #include <OpenAnalysis/Location/Location.hpp>
00020 #include <OpenAnalysis/Location/Iterators/LocIterator.hpp>
00021 
00022 namespace OA {
00023 
00025 class LocSetIterator : public LocIterator {
00026   public:
00027     LocSetIterator(OA_ptr<LocSet> pSet);
00028     ~LocSetIterator();
00029 
00030     OA_ptr<Location> current();
00031     bool isValid();
00032     void operator++();
00033     void reset();
00034 
00035   private:
00036     OA_ptr<LocSet> mSet;
00037     LocSet::const_iterator mIter;
00038 };
00039 
00040 } // end namespace
00041 #endif

Generated on Sat Oct 31 05:21:22 2009 for OpenAnalysis by  doxygen 1.6.1