persistentstorage/sql/OsLayer/FileBuf64.h
branchRCL_3
changeset 23 26645d81f48d
parent 21 28839de615b4
child 24 cc28652e0254
equal deleted inserted replaced
21:28839de615b4 23:26645d81f48d
   178 	TInt		iCapacity;				//The buffer size. Indicates how much data can be put in.
   178 	TInt		iCapacity;				//The buffer size. Indicates how much data can be put in.
   179 	TUint8*		iBase;					//Pointer to the beginning of the buffer.
   179 	TUint8*		iBase;					//Pointer to the beginning of the buffer.
   180 	TInt		iLength;				//The length of the data currently held in the buffer.
   180 	TInt		iLength;				//The length of the data currently held in the buffer.
   181 	//File related
   181 	//File related
   182 	TInt64		iFilePos;				//The file position associated with the beginning of the buffer.
   182 	TInt64		iFilePos;				//The file position associated with the beginning of the buffer.
   183 	TInt64		iFileSize;				//The file size which is the logical end of file from the buffer's point of view.
   183 	TInt64		iFileSize;				//The file size which is the nominal file length including the buffer contents.
   184     TInt64      iRealFileSize;          //The real file size on disk.
   184     TInt64      iRealFileSize;          //The real file size in disk.
   185 	RFile64		iFile;					//The file object.
   185 	RFile64		iFile;					//The file object.
   186 	//Read-ahead related
   186 	//Read-ahead related
   187 	TBool		iDirty;					//The buffer contains pending data to be written to the file
   187 	TBool		iDirty;					//The buffer contains pending data to be written to the file
   188 	TInt64		iNextReadFilePos;		//The guessed file position of the next "file read" operation
   188 	TInt64		iNextReadFilePos;		//The guessed file position of the next "file read" operation
   189 	TInt		iNextReadFilePosHits;	//How many times the guessed file position of the "file read" operation was correct
   189 	TInt		iNextReadFilePosHits;	//How many times the guessed file position of the "file read" operation was correct