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/proxies.h

Go to the documentation of this file.
00001 #ifndef NMWR_GB_CONTAINER_PROXIES_H
00002 #define NMWR_GB_CONTAINER_PROXIES_H
00003 
00004 
00005 // $LICENSE
00006 
00007 
00011 template<class T>
00012 class write_only_proxy {
00013 private:
00014   T* t;
00015 public:
00016   write_only_proxy(T& tt) : t(&tt) {}
00017   void operator=(const T& rs) { (*t) = rs;}
00018 };
00019 
00020 #endif
00021 

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