Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCFileReaderWriter.html below:
NCBI C++ ToolKit: CFileReaderWriter Class Reference
Search Toolkit Book for CFileReaderWriter
#include <corelib/ncbifile.hpp>
CFileReaderWriter (const string &filename, EOpenMode open_mode=eOpen, EShareMode share_mode=eShareRead) Construct CFileReaderWriter for reading/writing to/from the file with name 'filename'. More...
CFileReaderWriter (const char *filename, EOpenMode open_mode=eOpen, EShareMode share_mode=eShareRead) CFileReaderWriter (TFileHandle handle) Construct CFileReaderWriter for writing to system handle 'handle'. More...
virtual ERW_Result Read (void *buf, size_t count, size_t *bytes_read=0) Virtual methods from IReaderWriter. More...
virtual ERW_Result PendingCount (size_t *count) Via parameter "count" (which is guaranteed to be supplied non-NULL) return the number of bytes that are ready to be read from the input device without blocking. More...
virtual ERW_Result Write (const void *buf, size_t count, size_t *bytes_written=0) Write up to "count" bytes from the buffer pointed to by the "buf" argument onto the output device. More...
virtual ERW_Result Flush (void) Flush pending data (if any) down to the output device. More...
virtual ~IReaderWriter () virtual ERW_Result Pushback (const void *buf, size_t count, void *del_ptr=0) This method gets called by RStream buffer destructor to return buffered yet still unread (from the stream) portion of data back to the device. More...
virtual ~IReader () virtual ~IWriter () CFileReaderWriter_Base (void) Default constructor. More...
TFileHandle GetFileHandle (void) Return system file handle associated with the file. More...
CFileIO & GetFileIO (void) Get an underlaying file I/O object. More...
enum EOpenMode {
eCreate , eCreateNew , eOpen , eOpenAlways ,
eTruncate
} File open mode. More...
enum EAccessMode { eRead , eWrite , eReadWrite } Which I/O operations permitted on the file. More...
enum EShareMode { eShareRead , eShareWrite , eShare , eExclusive } Sharing mode for opened file. More...
enum EPositionMoveMethod { eBegin , eCurrent , eEnd } Which starting point to use for the moves of the file pointer. More...
CFileIO m_File
Definition at line 3703 of file ncbifile.hpp.
The documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4