![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
Interface status: | deprecated |
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(TDaFileImportParams const &)
Constructor.CloseL()
Closes the database. DoNext(TInt &)
Implements an incremental step in data importation.EBeforeStartOfToken
Read position is before the start of an input field. EEndOfFile
End of import file. EReadingToken
Input field is being read. EStartOfFile
Start of import file. HandleCancel()
Utility function to handle a cancel event occurring in data importation.HandleLeave(TInt)
Utility function to handle a leave occurring in data importation.ImportL()
Begins the data importation.Next(TInt &)
Interface to performing an incremental step in data importation.OpenL()
Opens the database to which to import. TState
Import operation states. iColumnBuffer
Column import buffer. iFile
Handle to import file. iFileSize
Import file size. iFs
File server handle. iLineBuffer
Input line buffer. iParams
Import parameters set on construction. iRecNo
Number of records imported. iRow
Row pointer. iState
Import operation state. iTotalBytesRead
Number of bytes imported. ~CDaFileImporter()
Destructor. Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...Inherited from CDaIncremental
:
DoCancel()
Initialize(TInt)
Initialises the object with the number of remaining steps in the operation.SetActiveIncremental(CDaActiveIncremental *)
Sets the active object using this interface.SetObserver(MDaIncrementalObserver *)
Sets the operation observer.TerminationState()const
Gets the operation's terminal state.iActiveIncremental
Incremental active object. iObserver
Operation observer. iRemainingSteps
Number of remaining steps. iTerminationState
Operation's terminal state. Interface status: | deprecated | Inherited from: CDaFileImporter |
IMPORT_C CDaFileImporter(TDaFileImportParams const &aParams);
Constructor.
|
Interface status: | deprecated | Inherited from: CDaFileImporter |
IMPORT_C ~CDaFileImporter();
Destructor.
Interface status: | deprecated | Inherited from: CDaFileImporter |
IMPORT_C void OpenL();
Opens the database to which to import.
Interface status: | deprecated | Inherited from: CDaFileImporter |
IMPORT_C virtual void CloseL();
Closes the database.
Interface status: | deprecated | Inherited from: CDaFileImporter |
IMPORT_C virtual TInt ImportL();
Begins the data importation.
This calls CDaFileImporter::Next(TInt &)
until that function says that there are no remaining steps.
|
Interface status: | deprecated | Inherited from: CDaFileImporter |
IMPORT_C virtual TInt Next(TInt &aRemainingSteps);
Interface to performing an incremental step in data importation.
The default implementation simply calls CDaFileImporter::DoNext(TInt &)
.
|
|
Interface status: | deprecated | Inherited from: CDaFileImporter |
IMPORT_C virtual TInt DoNext(TInt &);
Implements an incremental step in data importation.
The default implementation simply returns KErrGeneral.
|
|
Interface status: | deprecated | Inherited from: CDaFileImporter |
IMPORT_C virtual void HandleLeave(TInt aError);
Utility function to handle a leave occurring in data importation.
It calls the object's active object cancel function.
|
Interface status: | deprecated | Inherited from: CDaFileImporter |
IMPORT_C virtual void HandleCancel();
Utility function to handle a cancel event occurring in data importation.
It calls the object's active object cancel function.
Interface status: | deprecated |
protected: TState
Import operation states.
|
Interface status: | deprecated | Inherited from: CDaFileImporter |
protected: TDaFileImportParams iParams;
Import parameters set on construction.
Interface status: | deprecated | Inherited from: CDaFileImporter |
protected: RFs iFs;
File server handle.
Interface status: | deprecated | Inherited from: CDaFileImporter |
protected: RFileBuf iFile;
Handle to import file.
Interface status: | deprecated | Inherited from: CDaFileImporter |
protected: TState iState;
Import operation state.
Interface status: | deprecated | Inherited from: CDaFileImporter |
protected: CDaRow * iRow;
Row pointer.
Interface status: | deprecated | Inherited from: CDaFileImporter |
protected: CBufFlat * iLineBuffer;
Input line buffer.
Interface status: | deprecated | Inherited from: CDaFileImporter |
protected: CBufFlat * iColumnBuffer;
Column import buffer.
Interface status: | deprecated | Inherited from: CDaFileImporter |
protected: TInt iRecNo;
Number of records imported.
Interface status: | deprecated | Inherited from: CDaFileImporter |
protected: TInt iTotalBytesRead;
Number of bytes imported.
Interface status: | deprecated | Inherited from: CDaFileImporter |
protected: TInt iFileSize;
Import file size.