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, int descTaxID=0)
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 269 of file tax_validation_and_cleanup.hpp.

Constructor & Destructor Documentation

◆ CSpecificHostMapForFix()

CSpecificHostMapForFix::CSpecificHostMapForFix ( )

Definition at line 272 of file tax_validation_and_cleanup.hpp.

Member Function Documentation

◆ ApplyToOrg()

bool CSpecificHostMapForFix::ApplyToOrg ( COrg_ref org) const

◆ GetKey()

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

Implements CQualLookupMap.

Definition at line 275 of file tax_validation_and_cleanup.hpp.

References x_DefaultSpecificHostAdjustments().

◆ x_DefaultSpecificHostAdjustments()

string CSpecificHostMapForFix::x_DefaultSpecificHostAdjustments ( const string host_val)

Definition at line 594 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 

Implements CQualLookupMap.

Definition at line 587 of file tax_validation_and_cleanup.cpp.

The documentation for this class was generated from the following files:
Modified on Thu Feb 29 12:16:52 2024 by rev. 669887