1 #ifndef BLOB_ID__HPP_INCLUDED
2 #define BLOB_ID__HPP_INCLUDED
46 : m_Sat(-1), m_SubSat(0), m_SatKey(0)
71 string ToPsgId(
void)
const;
72 static CBlob_id* CreateFromString(
const string&
str);
79 if ( m_Sat != blob_id.
m_Sat )
80 return m_Sat < blob_id.
m_Sat;
87 return m_SatKey == blob_id.
m_SatKey &&
92 return !(*
this == blob_id);
102 return m_SubSat == 0;
124 return !m_TSEName.empty();
141 return id.Dump(ostr);
void SetSubSat(TSubSat v)
void SetTSEName(const string &name)
bool IsMainBlob(void) const
TSatKey GetSatKey() const
bool operator<(const CBlob_id &blob_id) const
bool operator!=(const CBlob_id &blob_id) const
void SetSatKey(TSatKey v)
const string & GetTSEName() const
bool operator==(const CBlob_id &blob_id) const
TSubSat GetSubSat() const
CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...
bool operator<(const CEquivRange &A, const CEquivRange &B)
bool operator==(const CEquivRange &A, const CEquivRange &B)
static const char * str(char *buf, int n)
CNcbiOstream & operator<<(CNcbiOstream &out, const CBlobId &id)
int32_t Int4
4-byte (32-bit) signed 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::ostream CNcbiOstream
Portable alias for ostream.
#define NCBI_XREADER_EXPORT
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
void Dump(CSplitCacheApp *app, const C &obj, ESerialDataFormat format, const string &key, const string &suffix=kEmptyStr)
string ToString(const wxRect &rc)