NCBI C++ ToolKit
Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
CSpecificHostMapForFix Class Reference

Search Toolkit Book for CSpecificHostMapForFix

#include <objtools/validator/tax_validation_and_cleanup.hpp>

+ Inheritance diagram for CSpecificHostMapForFix:
+ Collaboration diagram for CSpecificHostMapForFix:

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< CQualifierRequestx_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
 

Detailed Description

Definition at line 296 of file tax_validation_and_cleanup.hpp.

Constructor & Destructor Documentation

◆ CSpecificHostMapForFix()

CSpecificHostMapForFix::CSpecificHostMapForFix ( )
inline

Definition at line 299 of file tax_validation_and_cleanup.hpp.

Member Function Documentation

◆ ApplyToOrg()

bool CSpecificHostMapForFix::ApplyToOrg ( COrg_ref org) const
overridevirtual

◆ GetKey()

string CSpecificHostMapForFix::GetKey ( const string orig_val,
const COrg_ref  
) const
inlineoverridevirtual

Implements CQualLookupMap.

Definition at line 302 of file tax_validation_and_cleanup.hpp.

References x_DefaultSpecificHostAdjustments().

◆ x_DefaultSpecificHostAdjustments()

string CSpecificHostMapForFix::x_DefaultSpecificHostAdjustments ( const string host_val)
staticprotected

Definition at line 1110 of file tax_validation_and_cleanup.cpp.

References COrgMod::FixHost(), and NStr::TruncateSpacesInPlace().

Referenced by ApplyToOrg(), and GetKey().

◆ x_MakeNewRequest()

CRef< CQualifierRequest > CSpecificHostMapForFix::x_MakeNewRequest ( const string orig_val,
const COrg_ref org 
)
overrideprotectedvirtual

Implements CQualLookupMap.

Definition at line 1103 of file tax_validation_and_cleanup.cpp.


The documentation for this class was generated from the following files:
Modified on Wed Sep 04 14:58:48 2024 by modify_doxy.py rev. 669887