Go to the documentation of this file.Go to the SVN repository for this file.
1 #ifndef OBJTOOLS_ALNMGR___SEQID_COMP__HPP
2 #define OBJTOOLS_ALNMGR___SEQID_COMP__HPP
51 template <
typename TSeqIdPtr>
63 template <
typename TSeqIdPtr>
74 if ( !l_bioseq_handle ) {
76 string(
"Seq-id cannot be resolved: ")
80 if ( !r_bioseq_handle ) {
82 string(
"Seq-id cannot be resolved: ")
86 return l_bioseq_handle < r_bioseq_handle;
bool operator()(TSeqIdPtr left_seq_id, TSeqIdPtr right_seq_id) const
CSeqIdBioseqHandleComp(CScope &scope)
bool operator()(TSeqIdPtr left_seq_id, TSeqIdPtr right_seq_id) const
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define NCBI_THROW(exception_class, err_code, message)
Generic macro to throw an exception, given the exception class, error code and message string.
const string AsFastaString(void) const
int CompareOrdered(const CSeq_id &sid2) const
CBioseq_Handle GetBioseqHandle(const CSeq_id &id)
Get bioseq handle by seq-id.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
USING_SCOPE(objects)
Implementation includes.