CMXReferMasterIndex Class Reference

#include <cmxexdc.h>

Inheritance diagram for CMXReferMasterIndex:

CMXReferListItemOffset CMXReferListItem ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 CMXReferMasterIndex (CMXExportDC *pDC)
void SetType (WORD tType)
BOOL IsInWhichIndex (void)
BOOL WriteInIndex (CMXExportDC *pDC)
 writes the index details in the master index
INT32 IndexEntrySize (CMXExportDC *pDC)

Protected Attributes

WORD Type

Private Member Functions

 CC_DECLARE_DYNAMIC (CMXReferMasterIndex)

Detailed Description

Definition at line 716 of file cmxexdc.h.


Constructor & Destructor Documentation

CMXReferMasterIndex::CMXReferMasterIndex CMXExportDC pDC  )  [inline]
 

Definition at line 721 of file cmxexdc.h.

00721 : CMXReferListItemOffset(pDC) {};


Member Function Documentation

CMXReferMasterIndex::CC_DECLARE_DYNAMIC CMXReferMasterIndex   )  [private]
 

INT32 CMXReferMasterIndex::IndexEntrySize CMXExportDC pDC  )  [inline, virtual]
 

Reimplemented from CMXReferListItem.

Definition at line 727 of file cmxexdc.h.

00727 {return sizeof(cmxMasterIndexEntry);};

BOOL CMXReferMasterIndex::IsInWhichIndex void   )  [inline, virtual]
 

Reimplemented from CMXReferListItem.

Definition at line 725 of file cmxexdc.h.

00725 {return cmxINDEX_MASTERINDEX;};

void CMXReferMasterIndex::SetType WORD  tType  )  [inline]
 

Definition at line 723 of file cmxexdc.h.

00723 {Type = tType;};

BOOL CMXReferMasterIndex::WriteInIndex CMXExportDC pDC  )  [virtual]
 

writes the index details in the master index

Author:
Ben_Summers (Xara Group Ltd) <camelotdev@xara.com>
Date:
26/06/96
Parameters:
export dc [INPUTS]
Returns:
none
See also:

Reimplemented from CMXReferListItem.

Definition at line 720 of file cmxexdc.cpp.

00721 {
00722     // write the entry
00723     cmxMasterIndexEntry me;
00724 
00725     me.Type = Type;
00726     me.Offset = Offset;
00727 
00728 TRACEUSER( "Ben", _T("Writing entry in master index, type = %d, offset = %x = %d, size = %d\n"), Type, Offset, Offset, sizeof(me));
00729 
00730     if(!pDC->WriteData(&me, sizeof(me)))
00731         return FALSE;
00732 
00733     return TRUE;
00734 }


Member Data Documentation

WORD CMXReferMasterIndex::Type [protected]
 

Definition at line 727 of file cmxexdc.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:52:43 2007 for Camelot by  doxygen 1.4.4