Diffpack Documentation


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

DpListItemPtr_Type.h

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

Copyright © 2003 inuTech GmbH. All rights reserved.