Diffpack Documentation


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

DpListItemHandle_Type.h

Go to the documentation of this file.
00001 
00005 class DpListItemHandle(Type)
00006 
00007 {
00008   friend class DpList(Type,Itemtype);
00009 
00010 private:
00011   Handle(Type) obj;
00012   DpListItemHandle(Type)* next;
00013   DpListItemHandle(Type)* prev;
00014 
00015   DpListItemHandle(Type)(Type&                 obj_, 
00016                        DpListItemHandle(Type)* nitem, 
00017                        DpListItemHandle(Type)* pitem)
00018     {
00019       obj.rebind(obj_);
00020       next = nitem;
00021       prev = pitem;
00022     }
00023 
00024  ~DpListItemHandle(Type) () {}
00025 
00026   Type& object()     { return obj.getRef(); }
00027 };
00028 
00029 

Copyright © 2003 inuTech GmbH. All rights reserved.