Location:
DAMIMPOR.H
Link against: damodl.lib
class CDaFileImporter : public CDaIncremental;
Base class for classes that import a file into a data application model.
MDaIncremental
- Abstract interface for classes that implement data model incremental operations
CBase
- Base class for all classes to be instantiated on the heap
CDaIncremental
- CBase-based class for classes that implement data model incremental operations
CDaFileImporter
- Base class for classes that import a file into a data application model
Defined in CDaFileImporter
:
CDaFileImporter()
, CloseL()
, DoNext()
, EBeforeStartOfToken
, EEndOfFile
, EReadingToken
, EStartOfFile
, HandleCancel()
, HandleLeave()
, ImportL()
, Next()
, OpenL()
, TState
, iColumnBuffer
, iFile
, iFileSize
, iFs
, iLineBuffer
, iParams
, iRecNo
, iRow
, iState
, iTotalBytesRead
, ~CDaFileImporter()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Inherited from CDaIncremental
:
DoCancel()
,
Initialize()
,
SetActiveIncremental()
,
SetObserver()
,
TerminationState()
,
iActiveIncremental
,
iObserver
,
iRemainingSteps
,
iTerminationState
IMPORT_C CDaFileImporter(TDaFileImportParams const &aParams);
Constructor.
|
virtual IMPORT_C TInt ImportL();
Begins the data importation.
This calls Next()
until that function says that there are no remaining steps.
|
virtual IMPORT_C TInt Next(TInt &aRemainingSteps);
Interface to performing an incremental step in data importation.
The default implementation simply calls DoNext()
.
|
|
virtual IMPORT_C TInt DoNext(TInt &);
Implements an incremental step in data importation.
The default implementation simply returns KErrGeneral.
|
|
virtual IMPORT_C void HandleLeave(TInt aError);
Utility function to handle a leave occurring in data importation.
It calls the object's active object cancel function.
|
virtual IMPORT_C void HandleCancel();
Utility function to handle a cancel event occurring in data importation.
It calls the object's active object cancel function.
protected: TState
Import operation states.
|
protected: TInt iFileSize;
Import file size.