A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/corelib_2reader__writer_8hpp_source.html below:

NCBI C++ ToolKit: include/corelib/reader_writer.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef CORELIB___READER_WRITER__HPP 2 #define CORELIB___READER_WRITER__HPP 103  size_t

* bytes_read = 0) = 0;

165  size_t

* bytes_written = 0) = 0;

A very basic data-read/write interface.

A very basic data-read interface.

A very basic data-write interface.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

ERW_Result

Result codes for I/O operations.

const char * g_RW_ResultToString(ERW_Result res)

virtual ERW_Result Flush(void)=0

Flush pending data (if any) down to the output device.

virtual ERW_Result PendingCount(size_t *count)=0

Via parameter "count" (which is guaranteed to be supplied non-NULL) return the number of bytes that a...

virtual ERW_Result Write(const void *buf, size_t count, size_t *bytes_written=0)=0

Write up to "count" bytes from the buffer pointed to by the "buf" argument onto the output device.

virtual ERW_Result Read(void *buf, size_t count, size_t *bytes_read=0)=0

Read as many as "count" bytes into a buffer pointed to by the "buf" argument.

@ eRW_NotImplemented

Action / information is not available.

@ eRW_Eof

End of data, should be considered permanent.

@ eRW_Error

Unrecoverable error, no retry possible.

@ eRW_Timeout

Timeout expired, try again later.

@ eRW_Success

Everything is okay, I/O completed.

#define NCBI_XNCBI_EXPORT

The NCBI C++/STL use hints.


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