1 #ifndef OBJECTS_OBJMGR___BLOB_ID__HPP
2 #define OBJECTS_OBJMGR___BLOB_ID__HPP
105 bool LessByTypeId(
const CBlobId& id2)
const;
109 template<
typename Value,
class Converter = PConvertToString<Value> >
192 return !(*
m_Id == *id);
202 return out <<
id.ToString();
bool operator==(const CEquivRange &A, const CEquivRange &B)
std::ofstream out("events_result.xml")
main entry point for tests
const first_type & first() const
const second_type & second() const
string AsString(void) const
DECLARE_OPERATOR_BOOL_REF(m_Id)
const value_type & GetValue(void) const
string ToString(void) const
CBlobIdFor< CSeq_id_Handle > CBlobIdSeq_id
bool operator!=(const CBlobIdKey &id) const
string ToString(void) const
Get string representation of blob id.
CBlobIdFor< Value, Converter > TThisType
string operator()(const void *v) const
virtual bool operator<(const CBlobId &id) const =0
CNcbiOstream & operator<<(CNcbiOstream &out, const CBlobId &id)
CConstRef< CBlobId > m_Id
bool operator<(const CBlobId &id_ref) const
CBlobIdFor< int > CBlobIdInt
bool operator==(const CBlobIdKey &id) const
const CBlobId * operator->(void) const
virtual string ToString(void) const =0
Get string representation of blob id.
pair_base_member< convert_to_string_type, value_type > m_Value
CBlobIdKey(const CBlobId *id=0)
const CBlobId & operator*(void) const
bool operator==(const CBlobId &id_ref) const
const string & operator()(const string &v) const
Converter convert_to_string_type
CBlobIdFor< const void * > CBlobIdPtr
CBlobIdFor(const value_type &v)
string operator()(int v) const
CBlobIdFor< string > CBlobIdString
string operator()(const CSeq_id_Handle &v) const
bool operator<(const CBlobIdKey &id) const
bool LessByTypeId(const CBlobId &id2) const
#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.
static string IntToString(int value, TNumToStringFlags flags=0, int base=10)
Convert int to string.
static void PtrToString(string &out_str, const void *ptr)
Convert pointer to string.
#define NCBI_XOBJMGR_EXPORT
GenericValue< UTF8<> > Value
GenericValue with UTF8 encoding.
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.