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/grid__rw__impl_8hpp_source.html below:

NCBI C++ ToolKit: include/connect/services/grid_rw_impl.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef _GRID_RW_IMPL_HPP_ 2 #define _GRID_RW_IMPL_HPP_ 55  void Close

()

override

;

56  void Abort

()

override

;

80  string

& job_output_ref);

85

unique_ptr<IEmbeddedStreamWriter>

writer

;

89  void Reset

(

bool

flush =

false

);

104  size_t

* data_size =

NULL

);

108  size_t

* bytes_read = 0);

114  static

EType x_GetDataType(

string

&

data

);

@ eEmpty

no filtering at all.

Client API for NetCache server.

virtual const char * GetErrCodeString(void) const override

Get error code interpreted as text.

NCBI_EXCEPTION_DEFAULT(CStringOrBlobStorageRWException, CException)

String or Blob Storage Reader.

unique_ptr< IReader > m_NetCacheReader

String or Blob Storage Writer.

function< IEmbeddedStreamWriter *(string &)> TWriterCreate

TWriterCreate m_WriterCreate

unique_ptr< IEmbeddedStreamWriter > m_Writer

A very basic data-read interface.

Abstract reader-writer interface classes.

TErrCode GetErrCode(void) const

Get error code.

virtual const char * GetErrCodeString(void) const

Get error code interpreted as text.

void Read(CObjectIStream &in, TObjectPtr object, const CTypeRef &type)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

ERW_Result

Result codes for I/O operations.

virtual ERW_Result Flush(void)=0

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

IO_PREFIX::ostream CNcbiOstream

Portable alias for ostream.

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.

IO_PREFIX::istream CNcbiIstream

Portable alias for istream.

#define NCBI_XCONNECT_EXPORT

CNcbiIstream & operator()(CNetCacheAPI nc_api, const string &data, size_t *data_size)

unique_ptr< CNcbiIstream > stream

unique_ptr< IEmbeddedStreamWriter > writer

CNcbiOstream & operator()(CNetCacheAPI nc_api, size_t embedded_max_size, string &data)

unique_ptr< CNcbiOstream > stream

void Reset(bool flush=false)


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