1 #ifndef SEQREF__HPP_INCLUDED
2 #define SEQREF__HPP_INCLUDED
63 eSubSat_SNP_graph = 1<<2,
69 eSubSat_microRNA = 1<<8,
82 const string print(
void)
const;
83 const string printTSE(
void)
const;
106 return TKeyByTSE(pair<TSat, TSubSat>(m_Sat, m_SubSat), m_SatKey);
112 m_Sat == seqRef.
m_Sat &&
118 return m_Gi == seqRef.
m_Gi && SameTSE(seqRef);
122 if ( m_Sat != seqRef.
m_Sat ) {
123 return m_Sat < seqRef.
m_Sat;
125 if ( m_SubSat != seqRef.
m_SubSat ) {
132 if ( m_Gi != seqRef.
m_Gi ) {
133 return m_Gi < seqRef.
m_Gi;
135 return LessByTSE(seqRef);
139 if ( GetSat() != seqRef.
GetSat() )
140 return GetSat() < seqRef.
GetSat();
157 return m_Sat < 0 && m_SatKey < 0;
bool LessBySeq(const CSeqref &seqRef) const
pair< pair< TSat, TSubSat >, TSatKey > TKeyByTSE
bool SameSeq(const CSeqref &seqRef) const
bool IsMainBlob(void) const
TFlags GetFlags(void) const
void SetVersion(TVersion version)
bool SameTSE(const CSeqref &seqRef) const
void SetFlags(TFlags flags)
bool LessByTSE(const CSeqref &seqRef) const
TSubSat GetSubSat() const
TVersion GetVersion(void) const
bool operator<(const CSeqref &seqRef) const
TSatKey GetSatKey() const
TKeyByTSE GetKeyByTSE(void) const
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.
#define NCBI_XREADER_EXPORT
const struct ncbi::grid::netcache::search::fields::KEY key
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.