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

NCBI C++ ToolKit: src/objects/genomecoll/cached_assembly.cpp Source File

35

: m_assembly(assembly)

43

: m_blob(blob.begin(), blob.end())

62

.

Print

(

"compress-method"

, method)

63

.

Print

(

"blob-size"

, blob.size());

87  const char

bzip2Header[] = {0x42, 0x5a, 0x68};

88  const char

zlibHeader[] = {0x78};

113  LOG_POST

(

Info

<<

"Creating blob with compression: "

<< method);

125

.

Print

(

"compress-method"

, method)

126

.

Print

(

"blob-size"

, blob.size());

144  const int

kSmallestZip = 200;

145  return

blobSize >= kSmallestZip;

static void CompressAssembly(string &blob, CRef< CGC_Assembly > assembly, CCompressStream::EMethod method)

static CRef< CGC_Assembly > UncomressAndCreate(const string &blob, CCompressStream::EMethod method)

CRef< objects::CGC_Assembly > m_assembly

CRef< objects::CGC_Assembly > Assembly()

static bool ValidBlob(size_t blobSize)

static CCompressStream::EMethod Compression(const string &blob)

CCachedAssembly(CRef< objects::CGC_Assembly > assembly)

CNcbiOstrstreamToString class helps convert CNcbiOstrstream to a string Sample usage:

CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...

MSerial_SkipUnknownMembers –.

MSerial_SkipUnknownVariants –.

std::ofstream out("events_result.xml")

main entry point for tests

EMethod

Compression/decompression methods.

@ eZip

ZLIB (raw zip data / DEFLATE method)

CDiagContext_Extra & Print(const string &name, const string &value)

The method does not print the argument, but adds it to the string.

CDiagContext & GetDiagContext(void)

Get diag context instance.

CDiagContext_Extra Extra(void) const

Create a temporary CDiagContext_Extra object.

#define LOG_POST(message)

This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...

#define NCBI_THROW(exception_class, err_code, message)

Generic macro to throw an exception, given the exception class, error code and message string.

void Info(CExceptionArgs_Base &args)

#define MSerial_AsnBinary

@ eSerialSkipUnknown_Yes

do skip

bool NotNull(void) const THROWS_NONE

Check if pointer is not null – same effect as NotEmpty().

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static bool StartsWith(const CTempString str, const CTempString start, ECase use_case=eCase)

Check if a string starts with a specified prefix value.

double Elapsed(void) const

Return time elapsed since first Start() or last Restart() call (in seconds).

void Stop(void)

Suspend the timer.

@ eStart

Start timer immediately after creating.

std::istream & in(std::istream &in_, double &x_)


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