NCBI C++ ToolKit
|
Search Toolkit Book for CSpecificHostMapForFix
#include <objtools/validator/tax_validation_and_cleanup.hpp>
Public Member Functions | |
CSpecificHostMapForFix () | |
string | GetKey (const string &orig_val, const COrg_ref &) const override |
bool | ApplyToOrg (COrg_ref &org) const override |
Public Member Functions inherited from CQualLookupMap | |
CQualLookupMap (COrgMod::ESubtype subtype) | |
virtual | ~CQualLookupMap () |
bool | IsPopulated () const |
void | Clear () |
virtual bool | Check (const COrg_ref &) const |
void | AddDesc (CConstRef< CSeqdesc > desc, CConstRef< CSeq_entry > ctx) |
void | AddFeat (CConstRef< CSeq_feat > feat) |
void | AddOrg (const COrg_ref &org) |
void | AddString (const string &val) |
vector< CRef< COrg_ref > > | GetRequestList () |
string | IncrementalUpdate (const vector< CRef< COrg_ref > > &input, const CTaxon3_reply &reply, TTaxId descTaxID=ZERO_TAX_ID) |
bool | IsUpdateComplete () const |
void | PostErrors (CValidError_imp &imp) |
virtual void | ListErrors (vector< TTaxError > &errs) const |
Protected Member Functions | |
CRef< CQualifierRequest > | x_MakeNewRequest (const string &orig_val, const COrg_ref &org) override |
Protected Member Functions inherited from CQualLookupMap | |
TQualifierRequests::iterator | x_FindRequest (const string &val) |
Static Protected Member Functions | |
static string | x_DefaultSpecificHostAdjustments (const string &host_val) |
Additional Inherited Members | |
Protected Types inherited from CQualLookupMap | |
typedef map< string, CRef< CQualifierRequest > > | TQualifierRequests |
Protected Attributes inherited from CQualLookupMap | |
TQualifierRequests | m_Map |
COrgMod::ESubtype | m_Subtype |
bool | m_Populated |
Definition at line 296 of file tax_validation_and_cleanup.hpp.
|
inline |
Definition at line 299 of file tax_validation_and_cleanup.hpp.
Implements CQualLookupMap.
Definition at line 1119 of file tax_validation_and_cleanup.cpp.
References map_checker< Container >::end(), NStr::Equal(), COrgMod_Base::eSubtype_nat_host, map_checker< Container >::find(), COrg_ref_Base::GetOrgname(), NStr::IsBlank(), COrgName_Base::IsSetMod(), COrg_ref_Base::IsSetOrgname(), CQualLookupMap::m_Map, COrg_ref_Base::SetOrgname(), CSpecificHostRequest::SuggestFix(), and x_DefaultSpecificHostAdjustments().
Referenced by CTaxValidationAndCleanup::AdjustOrgRefsForSpecificHosts().
|
inlineoverridevirtual |
Implements CQualLookupMap.
Definition at line 302 of file tax_validation_and_cleanup.hpp.
References x_DefaultSpecificHostAdjustments().
|
staticprotected |
Definition at line 1110 of file tax_validation_and_cleanup.cpp.
References COrgMod::FixHost(), and NStr::TruncateSpacesInPlace().
Referenced by ApplyToOrg(), and GetKey().
|
overrideprotectedvirtual |
Implements CQualLookupMap.
Definition at line 1103 of file tax_validation_and_cleanup.cpp.