NCBI C++ ToolKit
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
CGenbankIdResolve Class Reference

Search Toolkit Book for CGenbankIdResolve

#include <objtools/writers/genbank_id_resolve.hpp>

+ Collaboration diagram for CGenbankIdResolve:

Public Member Functions

 ~CGenbankIdResolve ()
 
void SetThrowOnUnresolvedGi (bool doThrow)
 
void SetLabelType (CSeq_id::ELabelType labelType)
 
bool GetBestId (CSeq_id_Handle, CScope &, string &)
 
bool GetBestId (const CMappedFeat &, string &)
 
bool GetBestId (const CSeq_loc &, string &)
 

Static Public Member Functions

static CGenbankIdResolveGet ()
 

Private Member Functions

 CGenbankIdResolve ()
 
CScopexGetDefaultScope ()
 

Private Attributes

CRef< CScopempDefaultScope
 
bool mThrowOnUnresolvedGi
 
CSeq_id::ELabelType mLabelType
 

Detailed Description

Definition at line 47 of file genbank_id_resolve.hpp.

Constructor & Destructor Documentation

◆ ~CGenbankIdResolve()

CGenbankIdResolve::~CGenbankIdResolve ( )

Definition at line 50 of file genbank_id_resolve.cpp.

◆ CGenbankIdResolve()

CGenbankIdResolve::CGenbankIdResolve ( )
private

Definition at line 43 of file genbank_id_resolve.cpp.

Member Function Documentation

◆ Get()

CGenbankIdResolve & CGenbankIdResolve::Get ( void  )
static

◆ GetBestId() [1/3]

bool CGenbankIdResolve::GetBestId ( const CMappedFeat mf,
string best_id 
)

◆ GetBestId() [2/3]

bool CGenbankIdResolve::GetBestId ( const CSeq_loc loc,
string best_id 
)

◆ GetBestId() [3/3]

bool CGenbankIdResolve::GetBestId ( CSeq_id_Handle  idh,
CScope scope,
string best_id 
)

◆ SetLabelType()

void CGenbankIdResolve::SetLabelType ( CSeq_id::ELabelType  labelType)
inline

Definition at line 61 of file genbank_id_resolve.hpp.

References mLabelType.

Referenced by CAlnWriter::CAlnWriter().

◆ SetThrowOnUnresolvedGi()

void CGenbankIdResolve::SetThrowOnUnresolvedGi ( bool  doThrow)
inline

Definition at line 57 of file genbank_id_resolve.hpp.

References mThrowOnUnresolvedGi.

Referenced by CAnnotWriterApp::xSetupIdResolving().

◆ xGetDefaultScope()

CScope & CGenbankIdResolve::xGetDefaultScope ( )
private

Member Data Documentation

◆ mLabelType

CSeq_id::ELabelType CGenbankIdResolve::mLabelType
private

Definition at line 89 of file genbank_id_resolve.hpp.

Referenced by GetBestId(), and SetLabelType().

◆ mpDefaultScope

CRef<CScope> CGenbankIdResolve::mpDefaultScope
private

Definition at line 87 of file genbank_id_resolve.hpp.

Referenced by xGetDefaultScope().

◆ mThrowOnUnresolvedGi

bool CGenbankIdResolve::mThrowOnUnresolvedGi
private

Definition at line 88 of file genbank_id_resolve.hpp.

Referenced by GetBestId(), and SetThrowOnUnresolvedGi().


The documentation for this class was generated from the following files:
Modified on Wed May 22 11:37:00 2024 by modify_doxy.py rev. 669887