00001 #ifndef NMWR_GB_DUMMY_CONTAINER_H
00002 #define NMWR_GB_DUMMY_CONTAINER_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 namespace GrAL {
00020
00026 template<class T>
00027 class dummy_container {
00028 public:
00029 typedef T value_type;
00030 typedef T* pointer;
00031 typedef T& reference;
00032 typedef T* iterator;
00033 typedef T* const_iterator;
00034 typedef size_t size_type;
00035
00036 dummy_container() {}
00037
00038 iterator begin() { return (T*)0;}
00039 iterator end () { return (T*)0;}
00040 const_iterator begin() const { return (T*)0;}
00041 const_iterator end () const { return (T*)0;}
00042
00043 size_type size() const { return 0;}
00044
00045 void push_back(T const&) const {}
00046 };
00047
00048 }
00049 #endif
00050