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

cBufferItem.h

Go to the documentation of this file.
00001 /******************************************************************************/
00002 /*                                                                            */
00003 /* POLiTe - Persistent Object Library Test                                    */
00004 /*                                        Ph.D. Thesis by Mgr. Michal Kopecky */
00005 /*                                                                            */
00006 /* Charles University Prague                                                  */
00007 /*                                                                            */
00008 /******************************************************************************/
00009 /*                                                                            */
00010 /* File name: ...                                                             */
00011 /* Module: ......                                                             */
00012 /*                                                                            */
00013 /******************************************************************************/
00014 
00015 #ifndef __C_BUFFERITEM_H__
00016 #define __C_BUFFERITEM_H__
00017 
00018 // Common POLiTe Header(s)
00019 #include <lTypes.h>
00020 
00021 class DLL_External BufferItem
00022 {
00023 #ifdef POLITE_TEST_FRIEND
00024         friend POLITE_TEST_FRIEND;
00025 #endif // POLITE_TEST_FRIEND
00026 
00027 friend class ObjectBuffer;
00028 
00029 protected:
00030         BufferItem * _Next;
00031         const class RefBase *_RefBase;
00032         const class Object *_MemoryPointer;
00033 
00034 public:
00035         BufferItem();
00036         BufferItem(
00037                 const class RefBase &DbPtr,
00038                 const class Object  *const MemPtr
00039                 );
00040         ~BufferItem();
00041 
00042         bool Set(
00043                 const RefBase &DbPtr,
00044                 const Object *MemPtr
00045                 );
00046 
00047         class RefBase &GetRefBase() const;
00048         class Object *GetMemoryPointer() const;
00049 };
00050 
00051 #endif //__C_BUFFERITEM_H__

Generated on Sun Jul 14 20:51:13 2002 for POLiTe by doxygen1.2.16