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

ArrowRList.h

Go to the documentation of this file.
00001 #ifndef Impala_Core_Geometry_ArrowRList_h
00002 #define Impala_Core_Geometry_ArrowRList_h
00003 
00004 #include <list>
00005 #include "Core/Geometry/ArrowR.h"
00006 
00007 namespace Impala
00008 {
00009 namespace Core
00010 {
00011 namespace Geometry
00012 {
00013 
00014 
00018 class ArrowRList : public std::list<ArrowR>
00019 {
00020 public:
00021 
00023     typedef std::back_insert_iterator<ArrowRList>  back_insert_iterator;
00024 
00026     ArrowRList&
00027     operator<<(const ArrowR& 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 ArrowRList::iterator              ArrowRListI;
00045 typedef ArrowRList::const_iterator        ArrowRListCI;
00047 typedef ArrowRList::back_insert_iterator  ArrowRListBI;
00048 
00049 
00050 } // namespace Geometry
00051 } // namespace Core
00052 } // namespace Impala
00053 
00054 #endif

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