NCBI C++ ToolKit
|
Search Toolkit Book for CAutoDefModifierCombo
#include <objmgr/util/autodef_mod_combo.hpp>
Public Types | |
enum | EInfluenzaType { eNotInfluenza = 0 , eInfluenzaA , eInfluenzaB , eInfluenzaC , eInfluenzaD } |
typedef vector< CSubSource::ESubtype > | TSubSourceTypeVector |
typedef vector< COrgMod::ESubtype > | TOrgModTypeVector |
typedef vector< CRef< CAutoDefSourceGroup > > | TGroupListVector |
![]() | |
enum | EAllocFillMode { eAllocFillNone = 1 , eAllocFillZero , eAllocFillPattern } |
Control filling of newly allocated memory. More... | |
typedef CObjectCounterLocker | TLockerType |
Default locker type for CRef. More... | |
typedef atomic< Uint8 > | TCounter |
Counter type is CAtomiCounter. More... | |
typedef Uint8 | TCount |
Alias for value type of counter. More... | |
Static Public Member Functions | |
static bool | IsUsableInDefline (CSubSource::ESubtype subtype) |
static bool | IsUsableInDefline (COrgMod::ESubtype subtype) |
static bool | IsModifierRequiredByDefault (bool is_orgmod, int subtype) |
static bool | IsModifierInString (const string &find_this, const string &find_in, bool ignore_at_end) |
static EInfluenzaType | GetInfluenzaType (const string &taxname) |
![]() | |
static NCBI_XNCBI_EXPORT void | ThrowNullPointerException (void) |
Define method to throw null pointer exception. More... | |
static NCBI_XNCBI_EXPORT void | ThrowNullPointerException (const type_info &type) |
static EAllocFillMode | GetAllocFillMode (void) |
static void | SetAllocFillMode (EAllocFillMode mode) |
static void | SetAllocFillMode (const string &value) |
Set mode from configuration parameter value. More... | |
![]() | |
static void | EnableDebugDump (bool on) |
Private Types | |
typedef pair< COrgMod::ESubtype, bool > | TExtraOrgMod |
typedef map< COrgMod::ESubtype, bool > | TExtraOrgMods |
typedef pair< CSubSource::ESubtype, bool > | TExtraSubSrc |
typedef map< CSubSource::ESubtype, bool > | TExtraSubSrcs |
Private Member Functions | |
string | x_GetSubSourceLabel (CSubSource::ESubtype st) |
string | x_GetOrgModLabel (COrgMod::ESubtype st) |
void | x_CleanUpTaxName (string &tax_name) |
bool | x_AddSubsourceString (string &source_description, const CBioSource &bsrc, CSubSource::ESubtype st) |
bool | x_AddOrgModString (string &source_description, const CBioSource &bsrc, COrgMod::ESubtype st) |
void | x_AddHIVModifiers (TExtraOrgMods &extra_orgmods, TExtraSubSrcs &extra_subsrcs, const CBioSource &bsrc) |
void | x_AddInfluenzaModifiers (TExtraOrgMods &extra_orgmods, TExtraSubSrcs &extra_subsrcs, EInfluenzaType influenza_type) |
void | x_AddRequiredSubSourceModifiers (TExtraOrgMods &extra_orgmods, TExtraSubSrcs &extra_subsrcs, const CBioSource &bsrc) |
void | x_AddTypeStrainModifiers (TExtraOrgMods &extra_orgmods, TExtraSubSrcs &extra_subsrcs, const CBioSource &bsrc) |
Static Private Member Functions | |
static bool | x_AddMinicircle (string &source_description, const CBioSource &bsrc) |
static bool | x_AddMinicircle (string &source_description, const string ¬e_text) |
static bool | x_BioSourceHasSubSrc (const CBioSource &src, CSubSource::ESubtype subtype) |
static bool | x_BioSourceHasOrgMod (const CBioSource &src, COrgMod::ESubtype subtype) |
static bool | x_SpecialHandlingForInfluenza (EInfluenzaType influenza_type, CSubSource::ESubtype subtype) |
static bool | x_SpecialHandlingForInfluenza (EInfluenzaType influenza_type, COrgMod::ESubtype subtype) |
static bool | x_HasTypeStrainComment (const CBioSource &bsrc) |
Additional Inherited Members | |
![]() | |
static const TCount | eCounterBitsCanBeDeleted = 1 << 0 |
Define possible object states. More... | |
static const TCount | eCounterBitsInPlainHeap = 1 << 1 |
Heap signature was found. More... | |
static const TCount | eCounterBitsPlaceMask |
Mask for 'in heap' state flags. More... | |
static const int | eCounterStep = 1 << 2 |
Skip over the "in heap" bits. More... | |
static const TCount | eCounterValid = TCount(1) << (sizeof(TCount) * 8 - 2) |
Minimal value for valid objects (reference counter is zero) Must be a single bit value. More... | |
static const TCount | eCounterStateMask |
Valid object, and object in heap. More... | |
![]() | |
virtual void | DeleteThis (void) |
Virtual method "deleting" this object. More... | |
Definition at line 57 of file autodef_mod_combo.hpp.
|
private |
Definition at line 185 of file autodef_mod_combo.hpp.
|
private |
Definition at line 186 of file autodef_mod_combo.hpp.
|
private |
Definition at line 187 of file autodef_mod_combo.hpp.
|
private |
Definition at line 188 of file autodef_mod_combo.hpp.
typedef vector<CRef<CAutoDefSourceGroup> > CAutoDefModifierCombo::TGroupListVector |
Definition at line 117 of file autodef_mod_combo.hpp.
typedef vector<COrgMod::ESubtype> CAutoDefModifierCombo::TOrgModTypeVector |
Definition at line 116 of file autodef_mod_combo.hpp.
typedef vector<CSubSource::ESubtype> CAutoDefModifierCombo::TSubSourceTypeVector |
Definition at line 115 of file autodef_mod_combo.hpp.
Enumerator | |
---|---|
eNotInfluenza | |
eInfluenzaA | |
eInfluenzaB | |
eInfluenzaC | |
eInfluenzaD |
Definition at line 145 of file autodef_mod_combo.hpp.
CAutoDefModifierCombo::CAutoDefModifierCombo | ( | ) |
Definition at line 51 of file autodef_mod_combo.cpp.
Referenced by ExpandByAnyPresent().
CAutoDefModifierCombo::CAutoDefModifierCombo | ( | CAutoDefModifierCombo * | orig | ) |
Definition at line 72 of file autodef_mod_combo.cpp.
References _ASSERT, ITERATE, m_AllowModAtEndOfTaxname, m_ExcludeAffOrgs, m_ExcludeCfOrgs, m_ExcludeNrOrgs, m_ExcludeSpOrgs, m_GroupList, m_HIVCloneIsolateRule, m_KeepAfterSemicolon, m_KeepCountryText, m_KeepParen, m_MaxModifiers, m_Modifiers, m_OrgMods, m_SubSources, m_UseModifierLabels, and orig.
CAutoDefModifierCombo::~CAutoDefModifierCombo | ( | ) |
Definition at line 111 of file autodef_mod_combo.cpp.
void CAutoDefModifierCombo::AddOrgMod | ( | COrgMod::ESubtype | st, |
bool | even_if_not_uniquifying = false |
||
) |
Definition at line 248 of file autodef_mod_combo.cpp.
References AddQual().
Referenced by ConfigureAutodefForSeqEntry(), CAutoDef::GetAllModifierCombo(), and CAutodefJob::x_MakeChanges().
bool CAutoDefModifierCombo::AddQual | ( | bool | IsOrgMod, |
int | subtype, | ||
bool | even_if_not_uniquifying = false |
||
) |
Definition at line 1031 of file autodef_mod_combo.cpp.
References CompareAutoDefSourceGroupByStrings(), m_GroupList, m_KeepAfterSemicolon, m_Modifiers, m_OrgMods, m_SubSources, NON_CONST_ITERATE, ct::sort(), and split().
Referenced by AddOrgMod(), AddSubsource(), and InitFromOptions().
void CAutoDefModifierCombo::AddSource | ( | const CBioSource & | bs, |
const string & | feature_clauses = "" |
||
) |
Definition at line 222 of file autodef_mod_combo.cpp.
References g(), and m_GroupList.
Referenced by CAutoDef::AddDescriptors(), and CAutoDef::AddSources().
void CAutoDefModifierCombo::AddSubsource | ( | CSubSource::ESubtype | st, |
bool | even_if_not_uniquifying = false |
||
) |
Definition at line 242 of file autodef_mod_combo.cpp.
References AddQual().
Referenced by ConfigureAutodefForSeqEntry(), CAutoDef::GetAllModifierCombo(), and CAutodefJob::x_MakeChanges().
bool CAutoDefModifierCombo::AreFeatureClausesUnique | ( | ) |
Definition at line 1108 of file autodef_mod_combo.cpp.
References NStr::Equal(), g(), ITERATE, m_GroupList, prev(), and ct::sort().
int CAutoDefModifierCombo::Compare | ( | const CAutoDefModifierCombo & | other | ) | const |
Definition at line 984 of file autodef_mod_combo.cpp.
References GetGroupList(), GetMaxInGroup(), GetModifiers(), GetNumUnique(), m_GroupList, and m_Modifiers.
vector< CRef< CAutoDefModifierCombo > > CAutoDefModifierCombo::ExpandByAnyPresent | ( | ) |
Definition at line 1083 of file autodef_mod_combo.cpp.
References CAutoDefModifierCombo(), and m_GroupList.
|
inline |
Definition at line 238 of file autodef_mod_combo.hpp.
References m_AllowModAtEndOfTaxname.
void CAutoDefModifierCombo::GetAvailableModifiers | ( | CAutoDefSourceDescription::TAvailableModifierVector & | modifier_list | ) |
Definition at line 719 of file autodef_mod_combo.cpp.
References kNumPreferred, m_GroupList, and s_PreferredList.
Referenced by CAutoDef::GetAllModifierCombo(), CAutoDef::GetAvailableModifiers(), and CAutoDef::GetNumAvailableModifiers().
bool CAutoDefModifierCombo::GetDefaultExcludeSp | ( | ) |
Definition at line 612 of file autodef_mod_combo.cpp.
References m_GroupList.
Referenced by CAutoDef::AddDescriptors(), and CAutoDef::AddSources().
|
inline |
Definition at line 308 of file autodef_mod_combo.hpp.
References m_ExcludeAffOrgs.
|
inline |
Definition at line 280 of file autodef_mod_combo.hpp.
References m_ExcludeCfOrgs.
|
inline |
Definition at line 294 of file autodef_mod_combo.hpp.
References m_ExcludeNrOrgs.
|
inline |
Definition at line 266 of file autodef_mod_combo.hpp.
References m_ExcludeSpOrgs.
|
inline |
Definition at line 119 of file autodef_mod_combo.hpp.
Referenced by Compare().
|
inline |
Definition at line 350 of file autodef_mod_combo.hpp.
References m_HIVCloneIsolateRule.
|
static |
Definition at line 532 of file autodef_mod_combo.cpp.
References eInfluenzaA, eInfluenzaB, eInfluenzaC, eInfluenzaD, NStr::eNocase, eNotInfluenza, and NStr::StartsWith().
Referenced by GetSourceDescriptionString().
|
inline |
Definition at line 336 of file autodef_mod_combo.hpp.
References m_KeepAfterSemicolon.
|
inline |
Definition at line 252 of file autodef_mod_combo.hpp.
References m_KeepCountryText.
|
inline |
Definition at line 322 of file autodef_mod_combo.hpp.
References m_KeepParen.
unsigned int CAutoDefModifierCombo::GetMaxInGroup | ( | ) | const |
Definition at line 967 of file autodef_mod_combo.cpp.
References ITERATE, and m_GroupList.
Referenced by Compare().
|
inline |
Definition at line 224 of file autodef_mod_combo.hpp.
References m_MaxModifiers.
|
inline |
Definition at line 120 of file autodef_mod_combo.hpp.
Referenced by Compare().
unsigned int CAutoDefModifierCombo::GetNumGroups | ( | ) |
Definition at line 166 of file autodef_mod_combo.cpp.
References m_GroupList.
unsigned int CAutoDefModifierCombo::GetNumOrgMods | ( | ) |
Definition at line 186 of file autodef_mod_combo.cpp.
References m_OrgMods.
unsigned int CAutoDefModifierCombo::GetNumSubSources | ( | ) |
Definition at line 172 of file autodef_mod_combo.cpp.
References m_SubSources.
unsigned int CAutoDefModifierCombo::GetNumUnique | ( | ) | const |
Definition at line 954 of file autodef_mod_combo.cpp.
References ITERATE, and m_GroupList.
Referenced by Compare().
COrgMod::ESubtype CAutoDefModifierCombo::GetOrgMod | ( | unsigned int | index | ) |
Definition at line 192 of file autodef_mod_combo.cpp.
|
virtual |
Implements IAutoDefCombo.
Definition at line 782 of file autodef_mod_combo.cpp.
References CBioSource_Base::CanGetOrigin(), eInfluenzaA, map_checker< Container >::end(), NStr::EndsWith(), eNotInfluenza, CBioSource_Base::eOrigin_mut, CSubSource_Base::eSubtype_clone, CSubSource_Base::eSubtype_plasmid_name, CSubSource_Base::eSubtype_segment, COrgMod_Base::eSubtype_serotype, COrgMod_Base::eSubtype_strain, NStr::Find(), map_checker< Container >::find(), GetInfluenzaType(), COrgName_Base::GetMod(), CBioSource_Base::GetOrg(), COrg_ref_Base::GetOrgname(), CBioSource_Base::GetOrigin(), COrg_ref_Base::GetTaxname(), map_checker< Container >::insert(), NStr::IsBlank(), kNumPreferred, m_ExcludeAffOrgs, m_ExcludeCfOrgs, m_ExcludeNrOrgs, m_ExcludeSpOrgs, m_OrgMods, m_SubSources, m_UseModifierLabels, s_PreferredList, NStr::StartsWith(), x_AddHIVModifiers(), x_AddInfluenzaModifiers(), x_AddMinicircle(), x_AddOrgModString(), x_AddRequiredSubSourceModifiers(), x_AddSubsourceString(), x_AddTypeStrainModifiers(), x_BioSourceHasOrgMod(), x_BioSourceHasSubSrc(), x_CleanUpTaxName(), and x_SpecialHandlingForInfluenza().
Referenced by CAutoDef::GetOneDefLine().
CSubSource::ESubtype CAutoDefModifierCombo::GetSubSource | ( | unsigned int | index | ) |
Definition at line 178 of file autodef_mod_combo.cpp.
References _ASSERT, and m_SubSources.
|
inline |
Definition at line 210 of file autodef_mod_combo.hpp.
References m_UseModifierLabels.
bool CAutoDefModifierCombo::HasOrgMod | ( | COrgMod::ESubtype | st | ) |
Definition at line 211 of file autodef_mod_combo.cpp.
References m_OrgMods.
Referenced by CAutoDef::GetAllModifierCombo(), and x_AddHIVModifiers().
bool CAutoDefModifierCombo::HasSubSource | ( | CSubSource::ESubtype | st | ) |
Definition at line 200 of file autodef_mod_combo.cpp.
References m_SubSources.
Referenced by CAutoDef::GetAllModifierCombo(), and x_AddHIVModifiers().
bool CAutoDefModifierCombo::HasTrickyHIV | ( | ) |
Definition at line 464 of file autodef_mod_combo.cpp.
References m_GroupList.
void CAutoDefModifierCombo::InitFromOptions | ( | const CAutoDefOptions & | options | ) |
Definition at line 116 of file autodef_mod_combo.cpp.
References AddQual(), CAutoDefOptions::GetAllowModAtEndOfTaxname(), CAutoDefOptions::GetDoNotApplyToAff(), CAutoDefOptions::GetDoNotApplyToCf(), CAutoDefOptions::GetDoNotApplyToNr(), CAutoDefOptions::GetDoNotApplyToSp(), CAutoDefOptions::GetHIVRule(), CAutoDefOptions::GetIncludeCountryText(), CAutoDefOptions::GetKeepAfterSemicolon(), CAutoDefOptions::GetLeaveParenthetical(), CAutoDefOptions::GetMaxMods(), CAutoDefOptions::GetOrgMods(), CAutoDefOptions::GetSubSources(), CAutoDefOptions::GetUseLabels(), ITERATE, m_AllowModAtEndOfTaxname, m_ExcludeAffOrgs, m_ExcludeCfOrgs, m_ExcludeNrOrgs, m_ExcludeSpOrgs, m_HIVCloneIsolateRule, m_KeepAfterSemicolon, m_KeepCountryText, m_KeepParen, m_MaxModifiers, and m_UseModifierLabels.
void CAutoDefModifierCombo::InitOptions | ( | CAutoDefOptions & | options | ) | const |
Definition at line 141 of file autodef_mod_combo.cpp.
References CAutoDefOptions::AddOrgMod(), CAutoDefOptions::AddSubSource(), ITERATE, m_AllowModAtEndOfTaxname, m_ExcludeAffOrgs, m_ExcludeCfOrgs, m_ExcludeNrOrgs, m_ExcludeSpOrgs, m_HIVCloneIsolateRule, m_KeepAfterSemicolon, m_KeepCountryText, m_KeepParen, m_MaxModifiers, m_Modifiers, m_UseModifierLabels, CAutoDefOptions::SetAllowModAtEndOfTaxname(), CAutoDefOptions::SetDoNotApplyToAff(), CAutoDefOptions::SetDoNotApplyToCf(), CAutoDefOptions::SetDoNotApplyToNr(), CAutoDefOptions::SetDoNotApplyToSp(), CAutoDefOptions::SetHIVRule(), CAutoDefOptions::SetIncludeCountryText(), CAutoDefOptions::SetKeepAfterSemicolon(), CAutoDefOptions::SetLeaveParenthetical(), CAutoDefOptions::SetMaxMods(), and CAutoDefOptions::SetUseLabels().
Referenced by BOOST_AUTO_TEST_CASE(), CAutoDef::GetOneDefLine(), and CAutoDef::SetOptions().
|
static |
Definition at line 380 of file autodef_mod_combo.cpp.
References NStr::Find().
Referenced by BOOST_AUTO_TEST_CASE(), and x_AddOrgModString().
Definition at line 764 of file autodef_mod_combo.cpp.
References CSubSource_Base::eSubtype_endogenous_virus_name, CSubSource_Base::eSubtype_plasmid_name, and CSubSource_Base::eSubtype_transgenic.
|
static |
Definition at line 752 of file autodef_mod_combo.cpp.
References kNumPreferred, and s_PreferredList.
|
static |
Definition at line 740 of file autodef_mod_combo.cpp.
References kNumPreferred, and s_PreferredList.
Referenced by BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 131 of file autodef_mod_combo.hpp.
References Compare().
|
inline |
Definition at line 126 of file autodef_mod_combo.hpp.
References Compare().
Definition at line 1072 of file autodef_mod_combo.cpp.
References m_GroupList, and NON_CONST_ITERATE.
|
inline |
Definition at line 231 of file autodef_mod_combo.hpp.
References m_AllowModAtEndOfTaxname.
|
inline |
Definition at line 301 of file autodef_mod_combo.hpp.
References m_ExcludeAffOrgs.
Referenced by ConfigureAutodefForSeqEntry(), and CAutodefJob::x_MakeChanges().
|
inline |
Definition at line 273 of file autodef_mod_combo.hpp.
References m_ExcludeCfOrgs.
Referenced by ConfigureAutodefForSeqEntry(), and CAutodefJob::x_MakeChanges().
|
inline |
Definition at line 287 of file autodef_mod_combo.hpp.
References m_ExcludeNrOrgs.
Referenced by ConfigureAutodefForSeqEntry(), and CAutodefJob::x_MakeChanges().
|
inline |
Definition at line 259 of file autodef_mod_combo.hpp.
References m_ExcludeSpOrgs.
Referenced by CAutoDef::AddDescriptors(), CAutoDef::AddSources(), ConfigureAutodefForSeqEntry(), and CAutodefJob::x_MakeChanges().
|
inline |
Definition at line 343 of file autodef_mod_combo.hpp.
References m_HIVCloneIsolateRule.
Referenced by ConfigureAutodefForSeqEntry(), and CAutodefJob::x_MakeChanges().
|
inline |
Definition at line 329 of file autodef_mod_combo.hpp.
References m_KeepAfterSemicolon.
Referenced by ConfigureAutodefForSeqEntry(), and CAutodefJob::x_MakeChanges().
|
inline |
Definition at line 245 of file autodef_mod_combo.hpp.
References m_KeepCountryText.
Referenced by ConfigureAutodefForSeqEntry(), and CAutodefJob::x_MakeChanges().
|
inline |
Definition at line 315 of file autodef_mod_combo.hpp.
References m_KeepParen.
Referenced by ConfigureAutodefForSeqEntry(), and CAutodefJob::x_MakeChanges().
|
inline |
Definition at line 217 of file autodef_mod_combo.hpp.
References m_MaxModifiers.
Referenced by ConfigureAutodefForSeqEntry(), and CAutodefJob::x_MakeChanges().
|
inline |
Definition at line 67 of file autodef_mod_combo.hpp.
Referenced by CDeflineGenerator::GenerateDefline(), CAutoDef::RegenerateDefLine(), and CMacroFunction_RefreshDefline::s_RefreshDeflineCommand().
|
inline |
Definition at line 203 of file autodef_mod_combo.hpp.
References m_UseModifierLabels.
Referenced by ConfigureAutodefForSeqEntry(), and CAutodefJob::x_MakeChanges().
|
private |
Definition at line 475 of file autodef_mod_combo.cpp.
References map_checker< Container >::end(), CAutoDefOptions::ePreferClone, CAutoDefOptions::ePreferIsolate, NStr::Equal(), CSubSource_Base::eSubtype_clone, CSubSource_Base::eSubtype_country, COrgMod_Base::eSubtype_isolate, COrgMod_Base::eSubtype_strain, CAutoDefOptions::eWantBoth, map_checker< Container >::find(), CBioSource_Base::GetOrg(), COrg_ref_Base::GetTaxname(), HasOrgMod(), HasSubSource(), map_checker< Container >::insert(), CBioSource_Base::IsSetOrg(), COrg_ref_Base::IsSetTaxname(), m_HIVCloneIsolateRule, x_BioSourceHasOrgMod(), x_BioSourceHasSubSrc(), and x_CleanUpTaxName().
Referenced by GetSourceDescriptionString().
|
private |
Definition at line 575 of file autodef_mod_combo.cpp.
References eInfluenzaA, eInfluenzaB, eInfluenzaC, eInfluenzaD, map_checker< Container >::end(), eNotInfluenza, CSubSource_Base::eSubtype_clone, CSubSource_Base::eSubtype_segment, COrgMod_Base::eSubtype_serotype, COrgMod_Base::eSubtype_strain, map_checker< Container >::find(), and map_checker< Container >::insert().
Referenced by GetSourceDescriptionString().
|
staticprivate |
Definition at line 931 of file autodef_mod_combo.cpp.
References COrgMod_Base::eSubtype_other, CSubSource_Base::eSubtype_other, COrgName_Base::GetMod(), CBioSource_Base::GetOrg(), COrg_ref_Base::GetOrgname(), CBioSource_Base::GetSubtype(), COrgName_Base::IsSetMod(), CBioSource_Base::IsSetOrg(), COrg_ref_Base::IsSetOrgname(), CBioSource_Base::IsSetSubtype(), and ITERATE.
Referenced by GetSourceDescriptionString().
|
staticprivate |
Definition at line 913 of file autodef_mod_combo.cpp.
References NStr::Find(), NStr::fSplit_Tokenize, ITERATE, NStr::Split(), t, and NStr::TruncateSpacesInPlace().
|
private |
Definition at line 415 of file autodef_mod_combo.cpp.
References COrgMod_Base::eSubtype_forma, COrgMod_Base::eSubtype_forma_specialis, COrgMod_Base::eSubtype_isolate, COrgMod_Base::eSubtype_pathovar, COrgMod_Base::eSubtype_specimen_voucher, COrgMod_Base::eSubtype_strain, COrgMod_Base::eSubtype_sub_species, COrgMod_Base::eSubtype_variety, NStr::Find(), COrgName_Base::GetMod(), CBioSource_Base::GetOrg(), COrg_ref_Base::GetOrgname(), COrg_ref_Base::GetTaxname(), IsModifierInString(), COrgName_Base::IsSetMod(), CBioSource_Base::IsSetOrg(), COrg_ref_Base::IsSetOrgname(), ITERATE, m_AllowModAtEndOfTaxname, m_KeepAfterSemicolon, NStr::StartsWith(), val, and x_GetOrgModLabel().
Referenced by GetSourceDescriptionString().
|
private |
Definition at line 623 of file autodef_mod_combo.cpp.
References map_checker< Container >::end(), CSubSource_Base::eSubtype_endogenous_virus_name, CSubSource_Base::eSubtype_plasmid_name, CSubSource_Base::eSubtype_segment, CSubSource_Base::eSubtype_transgenic, map_checker< Container >::find(), CBioSource_Base::GetOrg(), COrg_ref_Base::GetTaxname(), map_checker< Container >::insert(), CBioSource_Base::IsSetOrg(), COrg_ref_Base::IsSetTaxname(), and NStr::StartsWith().
Referenced by GetSourceDescriptionString().
|
private |
Definition at line 341 of file autodef_mod_combo.cpp.
References NStr::EqualNocase(), CSubSource_Base::eSubtype_country, CSubSource_Base::eSubtype_plasmid_name, NStr::Find(), CBioSource_Base::GetSubtype(), NStr::IsBlank(), CBioSource_Base::IsSetSubtype(), ITERATE, m_KeepAfterSemicolon, m_KeepCountryText, val, and x_GetSubSourceLabel().
Referenced by GetSourceDescriptionString().
|
private |
Definition at line 660 of file autodef_mod_combo.cpp.
References map_checker< Container >::end(), COrgMod_Base::eSubtype_strain, map_checker< Container >::find(), map_checker< Container >::insert(), and x_HasTypeStrainComment().
Referenced by GetSourceDescriptionString().
|
staticprivate |
Definition at line 326 of file autodef_mod_combo.cpp.
References COrgName_Base::GetMod(), CBioSource_Base::GetOrg(), COrg_ref_Base::GetOrgname(), COrgName_Base::IsSetMod(), CBioSource_Base::IsSetOrg(), COrg_ref_Base::IsSetOrgname(), and ITERATE.
Referenced by GetSourceDescriptionString(), and x_AddHIVModifiers().
|
staticprivate |
Definition at line 312 of file autodef_mod_combo.cpp.
References CBioSource_Base::GetSubtype(), CBioSource_Base::IsSetSubtype(), and ITERATE.
Referenced by GetSourceDescriptionString(), and x_AddHIVModifiers().
|
private |
Definition at line 295 of file autodef_mod_combo.cpp.
References NStr::eNocase, NStr::Equal(), NStr::Find(), m_KeepParen, and NStr::TruncateSpacesInPlace().
Referenced by GetSourceDescriptionString(), and x_AddHIVModifiers().
|
private |
Definition at line 277 of file autodef_mod_combo.cpp.
References COrgMod_Base::eSubtype_nat_host, CAutoDefAvailableModifier::GetOrgModLabel(), NStr::IsBlank(), label, and m_UseModifierLabels.
Referenced by x_AddOrgModString().
|
private |
Definition at line 254 of file autodef_mod_combo.cpp.
References CSubSource_Base::eSubtype_country, CSubSource_Base::eSubtype_endogenous_virus_name, CSubSource_Base::eSubtype_plasmid_name, CSubSource_Base::eSubtype_segment, CSubSource_Base::eSubtype_transgenic, CAutoDefAvailableModifier::GetSubSourceLabel(), NStr::IsBlank(), label, and m_UseModifierLabels.
Referenced by x_AddSubsourceString().
|
staticprivate |
Definition at line 644 of file autodef_mod_combo.cpp.
References COrgMod_Base::eSubtype_other, NStr::FindNoCase(), COrgName_Base::GetMod(), CBioSource_Base::GetOrg(), COrg_ref_Base::GetOrgname(), COrgName_Base::IsSetMod(), CBioSource_Base::IsSetOrg(), COrg_ref_Base::IsSetOrgname(), and ITERATE.
Referenced by x_AddTypeStrainModifiers().
|
staticprivate |
Definition at line 560 of file autodef_mod_combo.cpp.
References eInfluenzaA, eNotInfluenza, COrgMod_Base::eSubtype_serotype, and COrgMod_Base::eSubtype_strain.
|
staticprivate |
Definition at line 548 of file autodef_mod_combo.cpp.
References eNotInfluenza, CSubSource_Base::eSubtype_clone, and CSubSource_Base::eSubtype_segment.
Referenced by GetSourceDescriptionString().
|
private |
Definition at line 163 of file autodef_mod_combo.hpp.
Referenced by CAutoDefModifierCombo(), GetAllowModAtEndOfTaxname(), InitFromOptions(), InitOptions(), SetAllowModAtEndOfTaxname(), and x_AddOrgModString().
|
private |
Definition at line 170 of file autodef_mod_combo.hpp.
Referenced by CAutoDefModifierCombo(), GetExcludeAffOrgs(), GetSourceDescriptionString(), InitFromOptions(), InitOptions(), and SetExcludeAffOrgs().
|
private |
Definition at line 168 of file autodef_mod_combo.hpp.
Referenced by CAutoDefModifierCombo(), GetExcludeCfOrgs(), GetSourceDescriptionString(), InitFromOptions(), InitOptions(), and SetExcludeCfOrgs().
|
private |
Definition at line 169 of file autodef_mod_combo.hpp.
Referenced by CAutoDefModifierCombo(), GetExcludeNrOrgs(), GetSourceDescriptionString(), InitFromOptions(), InitOptions(), and SetExcludeNrOrgs().
|
private |
Definition at line 165 of file autodef_mod_combo.hpp.
Referenced by CAutoDefModifierCombo(), GetExcludeSpOrgs(), GetSourceDescriptionString(), InitFromOptions(), InitOptions(), and SetExcludeSpOrgs().
|
private |
Definition at line 158 of file autodef_mod_combo.hpp.
Referenced by AddQual(), AddSource(), AreFeatureClausesUnique(), CAutoDefModifierCombo(), Compare(), ExpandByAnyPresent(), GetAvailableModifiers(), GetDefaultExcludeSp(), GetMaxInGroup(), GetNumGroups(), GetNumUnique(), HasTrickyHIV(), and RemoveQual().
|
private |
Definition at line 174 of file autodef_mod_combo.hpp.
Referenced by CAutoDefModifierCombo(), GetHIVCloneIsolateRule(), InitFromOptions(), InitOptions(), SetHIVCloneIsolateRule(), and x_AddHIVModifiers().
|
private |
Definition at line 173 of file autodef_mod_combo.hpp.
Referenced by AddQual(), CAutoDefModifierCombo(), GetKeepAfterSemicolon(), InitFromOptions(), InitOptions(), SetKeepAfterSemicolon(), x_AddOrgModString(), and x_AddSubsourceString().
|
private |
Definition at line 164 of file autodef_mod_combo.hpp.
Referenced by CAutoDefModifierCombo(), GetKeepCountryText(), InitFromOptions(), InitOptions(), SetKeepCountryText(), and x_AddSubsourceString().
|
private |
Definition at line 172 of file autodef_mod_combo.hpp.
Referenced by CAutoDefModifierCombo(), GetKeepParen(), InitFromOptions(), InitOptions(), SetKeepParen(), and x_CleanUpTaxName().
|
private |
Definition at line 162 of file autodef_mod_combo.hpp.
Referenced by CAutoDefModifierCombo(), GetMaxModifiers(), InitFromOptions(), InitOptions(), and SetMaxModifiers().
|
private |
Definition at line 159 of file autodef_mod_combo.hpp.
Referenced by AddQual(), CAutoDefModifierCombo(), Compare(), and InitOptions().
|
private |
Definition at line 157 of file autodef_mod_combo.hpp.
Referenced by AddQual(), CAutoDefModifierCombo(), GetNumOrgMods(), GetOrgMod(), GetSourceDescriptionString(), and HasOrgMod().
|
private |
Definition at line 156 of file autodef_mod_combo.hpp.
Referenced by AddQual(), CAutoDefModifierCombo(), GetNumSubSources(), GetSourceDescriptionString(), GetSubSource(), and HasSubSource().
|
private |
Definition at line 161 of file autodef_mod_combo.hpp.
Referenced by CAutoDefModifierCombo(), GetSourceDescriptionString(), GetUseModifierLabels(), InitFromOptions(), InitOptions(), SetUseModifierLabels(), x_GetOrgModLabel(), and x_GetSubSourceLabel().