: m_Bsrc(0), m_ConvertNote(
false), m_RemoveNote_Sp(
false), m_RemoveNote_Univ(
false) {}
59m_ConvertNote(
false),
60m_RemoveNote_Sp(
false),
61m_RemoveNote_Univ(
false) {}
65 void SetBioSource(
constobjects::CBioSource& bsrc) { m_Bsrc.Reset(&bsrc); }
66 stringGetSuggestedCorrection(
void);
68 voidCorrectBioSource(objects::CBioSource& bsrc,
bool& converted_note,
bool& removed_note_sp,
bool& removed_note_univ);
70 static strings_MakeUnculturedName(
const string& taxname,
const string& suffix =
kEmptyStr);
76 static voids_AddEnvironmentalSample(objects::CBioSource& bsrc);
77 static bools_OkToTaxFix(
const string& taxname);
78 static bools_IsUnculturedName(
const string& taxname);
79 static bools_HasTaxId(
constobjects::CBioSource& bsrc);
82 boolx_ShouldLookupTaxname(
void);
84 stringx_GetCorrection();
85 stringx_StandardFixes();
87 boolx_CheckSuggestedFix(
string& suggestion);
89 voidx_ConvertNote(objects::CBioSource& biosource,
const char* note_list[],
const string& new_note);
118 void SetBioSource(
constobjects::CBioSource& bsrc) { m_Bsrc.Reset(&bsrc); }
120 voidCorrectBioSource(objects::CBioSource& bsrc,
bool& remove_note);
125 boolx_RemoveIfFoundSubSourceNote(objects::CBioSource &bsrc,
const char* note_list[]);
126 boolx_RemoveIfFoundOrgModNote(objects::CBioSource &bsrc,
const char* note_list[]);
User-defined methods of the data storage class.
Include a standard set of the NCBI C++ Toolkit most basic headers.
DECLARE_FUNC_CLASS_WITH_FNCNAME(CMacroFunction_SetPubAuthorMI)
bool m_RemoveNote_Sp
flag to remove species-specific note
CUnculturedTool(const objects::CBioSource &bsrc)
CCulturedTool(const objects::CBioSource &bsrc)
bool m_RemoveNote_Univ
flag to remove universal note
bool m_ConvertNote
flag to convert species-specific note
CUnculturedTool(const CUnculturedTool &)
CUnculturedTool & operator=(const CUnculturedTool &)
void SetBioSource(const objects::CBioSource &bsrc)
CConstRef< objects::CBioSource > m_Bsrc
CConstRef< objects::CBioSource > m_Bsrc
void SetBioSource(const objects::CBioSource &bsrc)
CCulturedTool(const CCulturedTool &)
map< string, CRef< objects::CT3Reply > > m_ReplyCache
CCulturedTool & operator=(const CCulturedTool &)
CConstRef< C > ConstRef(const C *object)
Template function for conversion of const object pointer to CConstRef.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
#define NCBI_GUIOBJUTILS_EXPORT
Defines to provide correct exporting from DLLs in Windows.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4