Go to Overview over all GrAL packages.
Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Container/dummy-container.h

Go to the documentation of this file.
00001 #ifndef NMWR_GB_DUMMY_CONTAINER_H
00002 #define NMWR_GB_DUMMY_CONTAINER_H
00003 
00004 
00005 // $LICENSE
00006 
00012 template<class T>
00013 class dummy_container {
00014 public:
00015   typedef T      value_type;
00016   typedef T*     pointer;
00017   typedef T&     reference;
00018   typedef T*     iterator;
00019   typedef T*     const_iterator;
00020   typedef size_t size_type;
00021 
00022   dummy_container() {}
00023  
00024   iterator begin() { return (T*)0;}
00025   iterator end  () { return (T*)0;}
00026   const_iterator begin() const { return (T*)0;}
00027   const_iterator end  () const { return (T*)0;}
00028 
00029   size_type size() const { return 0;}
00030 
00031   void push_back(T const&) const {}
00032 };
00033 
00034 #endif
00035 

Copyright (c) Guntram Berti 1997-2002. See the GrAL Homepage for up-to-date information.

Generated at Tue Feb 26 15:57:14 2002 for Sequence by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000