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

NCBI C++ ToolKit: include/objtools/uudutil/project_storage.hpp Source File

1 #ifndef OBJTOOLS_UUDUTIL__STORAGE_UTIL_HPP 2 #define OBJTOOLS_UUDUTIL__STORAGE_UTIL_HPP 59

eAsnObjectNotMatch = 101,

60

eUnsupportedSerialFmt = 102,

61

eUnsupportedCompression = 103

66  switch

(GetErrCode()) {

67  case

eInvalidKey:

return "eInvalidKey"

;

68  case

eAsnObjectNotMatch:

return "eAsnObjectNotMatch"

;

69  case

eUnsupportedSerialFmt:

return "eUnsupportedSerialFmt"

;

70  case

eUnsupportedCompression:

return "eUnsupportedCompression"

;

93  typedef

list< CRef<objects::CSeq_annot> >

TAnnots

;

112  const string

& nc_service =

""

,

113  const string

& password =

""

,

119  const string

& GetServiceName()

const

;

124  void

SetCommTimeout(

float

sec);

133  string

SaveProject(

const

objects::IGBProject& project,

134  const string

&

key

=

""

,

137  unsigned int

time_to_live = 0,

148  const string

&

key

=

""

,

151  unsigned int

time_to_live = 0,

160  string

SaveString(

const string

&

str

,

161  const string

&

key

=

""

,

163  unsigned int

time_to_live = 0,

175  unsigned int

time_to_live = 0,

190  unsigned int

time_to_live = 0,

197  string

SaveRawData(

const void

*

buf

,

size_t size

,

198  const string

&

key

=

""

,

199  unsigned int

time_to_live = 0,

204  const string

&

key

=

""

,

205  unsigned int

time_to_live = 0,

210  string

Clone(

const string

&

key

,

211  unsigned int

time_to_live = 0,

243 

unique_ptr<CNcbiIstream> GetIstream(

const string

&

key

,

bool

raw=

false

);

248 

unique_ptr<CObjectIStream> GetObjectIstream(

const string

&

key

);

251  void

GetString(

const string

&

key

,

string

&

str

);

254  void GetVector

(

const string

&

key

, vector<char>& vec);

259  void

Delete(

const string

&

key

);

266  bool

Exists(

const string

&

key

);

272 

unique_ptr<CNcbiOstream> x_GetOutputStream(

string

&

key

,

273  unsigned int

time_to_live,

290  unsigned int

time_to_live = 0,

297  bool

no_throw =

false

)

const

;

303  bool

no_throw =

false

)

const

;

309  bool

no_throw =

false

)

const

;

Basic network-based data object I/O.

Network BLOB storage API.

virtual const char * GetErrCodeString() const

Get error code interpreted as text.

NCBI_EXCEPTION_DEFAULT(CPrjStorageException, CException)

string m_Password

For password-protected Blobs.

const string & GetServiceName() const

Uint2 m_Version

Version number for stored data blob.

list< CRef< objects::CSeq_annot > > TAnnots

AutoPtr< CNetCacheAPI > m_NC

ESerialDataFormat TDataFormat

ENC_Compression TCompressionFormat

TDataFormat m_DataFmt

Data serialization format (one of ESerialDataFormat).

CProjectStorage(const CProjectStorage &)=delete

TCompressionFormat m_CmprsFmt

Data compression format.

Uint2 m_Magic

Data/application related magic number.

Base class for all serializable objects.

IGBProject - abstract interface for a project used by CGBProjectHandle.

static const char * str(char *buf, int n)

EErrCode

Error types that an application can generate.

virtual const char * GetErrCodeString(void) const

Get error code interpreted as text.

ESerialDataFormat

Data file format.

@ eSerial_AsnBinary

ASN.1 binary.

unsigned TNetStorageFlags

Bitwise OR of ENetStorageFlags.

uint16_t Uint2

2-byte (16-bit) unsigned integer

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define END_SCOPE(ns)

End the previously defined scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define BEGIN_SCOPE(ns)

Define a new scope.

IO_PREFIX::istream CNcbiIstream

Portable alias for istream.

#define NCBI_UUDUTIL_EXPORT

void GetVector(const CHitElemGlyph &glyph, TVector &v)

CProject * GetProject(wxTreeCtrl &treeCtrl, const CItem &item)

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

const struct ncbi::grid::netcache::search::fields::KEY key

Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.

static CNamedPipeClient * client


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