Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

PointZList.h

Go to the documentation of this file.
00001 #ifndef Impala_Core_Geometry_PointZList_h
00002 #define Impala_Core_Geometry_PointZList_h
00003 
00004 #include <list>
00005 #include "Core/Geometry/PointZ.h"
00006 
00007 namespace Impala
00008 {
00009 namespace Core
00010 {
00011 namespace Geometry
00012 {
00013 
00014 
00018 class PointZList : public std::list<PointZ>
00019 {
00020 public:
00021 
00023     typedef std::back_insert_iterator<PointZList>  back_insert_iterator;
00024 
00026     PointZList&
00027     operator<<(const PointZ& s)
00028     {
00029         push_back(s);
00030         return *this;
00031     }
00032 
00034     void
00035     EraseAll()
00036     {
00037         erase(begin(), end());
00038     }
00039 
00040 };
00041 
00043 typedef PointZList::iterator              PointZListI;
00045 typedef PointZList::const_iterator        PointZListCI;
00047 typedef PointZList::back_insert_iterator  PointZListBI;
00048 
00049 
00050 } // namespace Geometry
00051 } // namespace Core
00052 } // namespace Impala
00053 
00054 #endif

Generated on Fri Mar 19 09:31:09 2010 for ImpalaSrc by  doxygen 1.5.1