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

NCBI C++ ToolKit: src/objtools/data_loaders/asn_cache/seq_id_chunk_file.cpp Source File

71

<<

" does not exist. Creating."

);

77  string

error_string =

"Unable to open a seqid chunk file for writing at "

+

GetPath

() ;

102  string

error_string =

"Unable to open a seqid chunk file for reading at "

+

GetPath

() ;

109  string

error_string =

"Tried to read nonexistant seqid chunk file at " 130  ITERATE

(vector<CSeq_id_Handle>, it, seq_ids)

131

asn_stream << *it->GetSeqId();

152  while

((

size_t

)asn_stream.

GetStreamPos

() < seq_ids_size){

163  "CSeqIdChunkFile::RawRead(): " 164  "requested a larger than supported number of bytes: "

+

167

streamsize

size

(raw_seq_ids_size);

172  "CChunkFile::RawRead(): " 173  "failed to read specified number of bytes: got "

+

189

input_seq_id_chunk_stream.seekg( input_offset );

192

<<

" at offset "

<< input_offset <<

" failed."

);

CObjectIStreamAsnBinary –.

CObjectOStreamAsnBinary –.

CNcbiFstream m_FileStream

CSimpleBufferT< char > m_Buffer

void RawRead(std::streampos offset, char *raw_seq_ids, size_t raw_seq_ids_size)

bool Append(const string &root_path, const CFile &input_seq_id_chunk_file, Uint8 input_offset=0)

void OpenForWrite(const std::string &root_path="")

void OpenForRead(const std::string &root_path="")

void RawWrite(const char *raw_seq_ids, size_t raw_seq_ids_size)

void Read(vector< objects::CSeq_id_Handle > &target, std::streampos offset, size_t seq_ids_size)

void Write(const objects::CBioseq::TId &seq_ids)

std::string m_OpenFileRootPath

void resize(size_type new_size)

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

main entry point for tests

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

#define ERR_POST(message)

Error posting with file, line number information but without error codes.

void Error(CExceptionArgs_Base &args)

#define NCBI_ERRNO_CODE_WRAPPER

#define NCBI_THROW(exception_class, err_code, message)

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

#define NCBI_ERRNO_STR_WRAPPER

void Info(CExceptionArgs_Base &args)

void Reset(const string &path)

Reset path string.

const string & GetPath(void) const

Get entry path.

virtual bool Exists(void) const

Check existence of file.

static CSeq_id_Handle GetHandle(const CSeq_id &id)

Normal way of getting a handle, works for any seq-id.

CNcbiStreampos GetStreamPos(void) const

Get the current stream position.

uint64_t Uint8

8-byte (64-bit) unsigned integer

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

IO_PREFIX::ifstream CNcbiIfstream

Portable alias for ifstream.

bool NcbiStreamCopy(CNcbiOstream &os, CNcbiIstream &is)

Copy the entire contents of stream "is" to stream "os".

static string Int8ToString(Int8 value, TNumToStringFlags flags=0, int base=10)

Convert Int8 to string.

static enable_if< is_arithmetic< TNumeric >::value||is_convertible< TNumeric, Int8 >::value, string >::type NumericToString(TNumeric value, TNumToStringFlags flags=0, int base=10)

Convert numeric value to string.

static string UInt8ToString(Uint8 value, TNumToStringFlags flags=0, int base=10)

Convert UInt8 to string.

list< CRef< CSeq_id > > TId

const struct ncbi::grid::netcache::search::fields::SIZE size

Defines classes: CDirEntry, CFile, CDir, CSymLink, CMemoryFile, CFileUtil, CFileLock,...

NCBI C++ stream class wrappers for triggering between "new" and "old" C++ stream libraries.

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