StandardDefaultRecordHandler Class Reference

#include <cxfile.h>

Inheritance diagram for StandardDefaultRecordHandler:

CamelotRecordHandler CXaraFileRecordHandler ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 StandardDefaultRecordHandler ()
virtual UINT32GetTagList ()
virtual BOOL HandleRecord (CXaraFileRecord *pCXaraFileRecord)
virtual void IncProgressBarCount (UINT32 n)
virtual BOOL IsStreamed (UINT32 Tag)
 Function to find out if the record is streamed or not.

Private Member Functions

 CC_DECLARE_DYNAMIC (StandardDefaultRecordHandler)

Detailed Description

Definition at line 391 of file cxfile.h.


Constructor & Destructor Documentation

StandardDefaultRecordHandler::StandardDefaultRecordHandler  )  [inline]
 

Definition at line 397 of file cxfile.h.

00398     {
00399 #if defined(EXCLUDE_FROM_XARLIB)
00400         m_pfnRecordHandler = NULL;
00401         m_pMagic = NULL;
00402 #endif
00403     };


Member Function Documentation

StandardDefaultRecordHandler::CC_DECLARE_DYNAMIC StandardDefaultRecordHandler   )  [private]
 

virtual UINT32* StandardDefaultRecordHandler::GetTagList  )  [inline, virtual]
 

Implements CXaraFileRecordHandler.

Definition at line 406 of file cxfile.h.

00406 { static UINT32 TagList[]={CXFRH_TAG_LIST_END}; return (UINT32*)TagList; }

BOOL StandardDefaultRecordHandler::HandleRecord CXaraFileRecord pCXaraFileRecord  )  [virtual]
 

Implements CXaraFileRecordHandler.

Definition at line 594 of file cxfile.cpp.

00595 {
00596     ERROR2IF(pCXaraFileRecord == NULL,FALSE,"NULL record ptr");
00597 #if !defined(EXCLUDE_FROM_XARLIB)
00598     return UnrecognisedTag(pCXaraFileRecord->GetTag());
00599 #else
00600 
00601     if (m_pfnRecordHandler)
00602     {
00603         return (m_pfnRecordHandler)(m_pMagic, pCXaraFileRecord);
00604     }
00605 
00606     return(TRUE);
00607 #endif
00608 }

virtual void StandardDefaultRecordHandler::IncProgressBarCount UINT32  n  )  [inline, virtual]
 

Reimplemented from CamelotRecordHandler.

Definition at line 409 of file cxfile.h.

00409 {};

virtual BOOL StandardDefaultRecordHandler::IsStreamed UINT32  Tag  )  [inline, virtual]
 

Function to find out if the record is streamed or not.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
7/6/96
Parameters:
The tag of the record [INPUTS]
Returns:
TRUE if this is a streamed record FALSE otherwise

Errors: -

See also:
-

Reimplemented from CamelotRecordHandler.

Definition at line 410 of file cxfile.h.

00410 { return FALSE; }


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 04:01:24 2007 for Camelot by  doxygen 1.4.4