NCBI C++ ToolKit
Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
CAutoDefModifierCombo Class Reference

Search Toolkit Book for CAutoDefModifierCombo

#include <objmgr/util/autodef_mod_combo.hpp>

+ Inheritance diagram for CAutoDefModifierCombo:
+ Collaboration diagram for CAutoDefModifierCombo:

Public Types

enum  EInfluenzaType {
  eNotInfluenza = 0 , eInfluenzaA , eInfluenzaB , eInfluenzaC ,
  eInfluenzaD
}
 
typedef vector< CSubSource::ESubtypeTSubSourceTypeVector
 
typedef vector< COrgMod::ESubtypeTOrgModTypeVector
 
typedef vector< CRef< CAutoDefSourceGroup > > TGroupListVector
 
- Public Types inherited from CObject
enum  EAllocFillMode { eAllocFillNone = 1 , eAllocFillZero , eAllocFillPattern }
 Control filling of newly allocated memory. More...
 
typedef CObjectCounterLocker TLockerType
 Default locker type for CRef. More...
 
typedef atomic< Uint8TCounter
 Counter type is CAtomiCounter. More...
 
typedef Uint8 TCount
 Alias for value type of counter. More...
 

Public Member Functions

 CAutoDefModifierCombo ()
 
 CAutoDefModifierCombo (CAutoDefModifierCombo *orig)
 
 ~CAutoDefModifierCombo ()
 
void InitFromOptions (const CAutoDefOptions &options)
 
void SetOptions (const CAutoDefOptions &options)
 
void InitOptions (CAutoDefOptions &options) const
 
unsigned int GetNumGroups ()
 
unsigned int GetNumSubSources ()
 
CSubSource::ESubtype GetSubSource (unsigned int index)
 
unsigned int GetNumOrgMods ()
 
COrgMod::ESubtype GetOrgMod (unsigned int index)
 
bool HasSubSource (CSubSource::ESubtype st)
 
bool HasOrgMod (COrgMod::ESubtype st)
 
void AddSource (const CBioSource &bs, const string &feature_clauses="")
 
void AddSubsource (CSubSource::ESubtype st, bool even_if_not_uniquifying=false)
 
void AddOrgMod (COrgMod::ESubtype st, bool even_if_not_uniquifying=false)
 
void GetAvailableModifiers (CAutoDefSourceDescription::TAvailableModifierVector &modifier_list)
 
bool HasTrickyHIV ()
 
bool GetDefaultExcludeSp ()
 
void SetUseModifierLabels (bool use)
 
bool GetUseModifierLabels ()
 
void SetMaxModifiers (int max_mods)
 
int GetMaxModifiers ()
 
void SetAllowModAtEndOfTaxname (bool keep)
 
bool GetAllowModAtEndOfTaxname ()
 
void SetKeepCountryText (bool keep)
 
bool GetKeepCountryText ()
 
void SetExcludeSpOrgs (bool exclude)
 
bool GetExcludeSpOrgs ()
 
void SetExcludeCfOrgs (bool exclude)
 
bool GetExcludeCfOrgs ()
 
void SetExcludeNrOrgs (bool exclude)
 
bool GetExcludeNrOrgs ()
 
void SetExcludeAffOrgs (bool exclude)
 
bool GetExcludeAffOrgs ()
 
void SetKeepParen (bool keep)
 
bool GetKeepParen ()
 
void SetKeepAfterSemicolon (bool keep)
 
bool GetKeepAfterSemicolon ()
 
void SetHIVCloneIsolateRule (CAutoDefOptions::EHIVCloneIsolateRule rule_num)
 
CAutoDefOptions::EHIVCloneIsolateRule GetHIVCloneIsolateRule ()
 
string GetSourceDescriptionString (const CBioSource &bsrc)
 
const TGroupListVectorGetGroupList () const
 
const CAutoDefSourceDescription::TModifierVectorGetModifiers () const
 
unsigned int GetNumUnique () const
 
unsigned int GetMaxInGroup () const
 
int Compare (const CAutoDefModifierCombo &other) const
 
bool operator> (const CAutoDefModifierCombo &src) const
 
bool operator< (const CAutoDefModifierCombo &src) const
 
bool AddQual (bool IsOrgMod, int subtype, bool even_if_not_uniquifying=false)
 
bool RemoveQual (bool IsOrgMod, int subtype)
 
vector< CRef< CAutoDefModifierCombo > > ExpandByAnyPresent ()
 
bool AreFeatureClausesUnique ()
 
- Public Member Functions inherited from CObject
 CObject (void)
 Constructor. More...
 
 CObject (const CObject &src)
 Copy constructor. More...
 
virtual ~CObject (void)
 Destructor. More...
 
CObjectoperator= (const CObject &src) THROWS_NONE
 Assignment operator. More...
 
bool CanBeDeleted (void) const THROWS_NONE
 Check if object can be deleted. More...
 
bool IsAllocatedInPool (void) const THROWS_NONE
 Check if object is allocated in memory pool (not system heap) More...
 
bool Referenced (void) const THROWS_NONE
 Check if object is referenced. More...
 
bool ReferencedOnlyOnce (void) const THROWS_NONE
 Check if object is referenced only once. More...
 
void AddReference (void) const
 Add reference to object. More...
 
void RemoveReference (void) const
 Remove reference to object. More...
 
void ReleaseReference (void) const
 Remove reference without deleting object. More...
 
virtual void DoNotDeleteThisObject (void)
 Mark this object as not allocated in heap – do not delete this object. More...
 
virtual void DoDeleteThisObject (void)
 Mark this object as allocated in heap – object can be deleted. More...
 
void * operator new (size_t size)
 Define new operator for memory allocation. More...
 
void * operator new[] (size_t size)
 Define new[] operator for 'array' memory allocation. More...
 
void operator delete (void *ptr)
 Define delete operator for memory deallocation. More...
 
void operator delete[] (void *ptr)
 Define delete[] operator for memory deallocation. More...
 
void * operator new (size_t size, void *place)
 Define new operator. More...
 
void operator delete (void *ptr, void *place)
 Define delete operator. More...
 
void * operator new (size_t size, CObjectMemoryPool *place)
 Define new operator using memory pool. More...
 
void operator delete (void *ptr, CObjectMemoryPool *place)
 Define delete operator. More...
 
virtual void DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
- Public Member Functions inherited from CDebugDumpable
 CDebugDumpable (void)
 
virtual ~CDebugDumpable (void)
 
void DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const
 
void DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const
 
void DumpToConsole (void) const
 
- Public Member Functions inherited from IAutoDefCombo
virtual ~IAutoDefCombo ()
 

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 Public Member Functions inherited from CObject
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 Public Member Functions inherited from CDebugDumpable
static void EnableDebugDump (bool on)
 

Private Types

typedef pair< COrgMod::ESubtype, boolTExtraOrgMod
 
typedef map< COrgMod::ESubtype, boolTExtraOrgMods
 
typedef pair< CSubSource::ESubtype, boolTExtraSubSrc
 
typedef map< CSubSource::ESubtype, boolTExtraSubSrcs
 

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 &note_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)
 

Private Attributes

TSubSourceTypeVector m_SubSources
 
TOrgModTypeVector m_OrgMods
 
TGroupListVector m_GroupList
 
CAutoDefSourceDescription::TModifierVector m_Modifiers
 
bool m_UseModifierLabels
 
int m_MaxModifiers
 
bool m_AllowModAtEndOfTaxname
 
bool m_KeepCountryText
 
bool m_ExcludeSpOrgs
 
bool m_ExcludeCfOrgs
 
bool m_ExcludeNrOrgs
 
bool m_ExcludeAffOrgs
 
bool m_KeepParen
 
bool m_KeepAfterSemicolon
 
CAutoDefOptions::EHIVCloneIsolateRule m_HIVCloneIsolateRule
 

Additional Inherited Members

- Static Public Attributes inherited from CObject
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...
 
- Protected Member Functions inherited from CObject
virtual void DeleteThis (void)
 Virtual method "deleting" this object. More...
 

Detailed Description

Definition at line 57 of file autodef_mod_combo.hpp.

Member Typedef Documentation

◆ TExtraOrgMod

Definition at line 185 of file autodef_mod_combo.hpp.

◆ TExtraOrgMods

Definition at line 186 of file autodef_mod_combo.hpp.

◆ TExtraSubSrc

Definition at line 187 of file autodef_mod_combo.hpp.

◆ TExtraSubSrcs

Definition at line 188 of file autodef_mod_combo.hpp.

◆ TGroupListVector

Definition at line 117 of file autodef_mod_combo.hpp.

◆ TOrgModTypeVector

Definition at line 116 of file autodef_mod_combo.hpp.

◆ TSubSourceTypeVector

Definition at line 115 of file autodef_mod_combo.hpp.

Member Enumeration Documentation

◆ EInfluenzaType

Enumerator
eNotInfluenza 
eInfluenzaA 
eInfluenzaB 
eInfluenzaC 
eInfluenzaD 

Definition at line 145 of file autodef_mod_combo.hpp.

Constructor & Destructor Documentation

◆ CAutoDefModifierCombo() [1/2]

CAutoDefModifierCombo::CAutoDefModifierCombo ( )

Definition at line 51 of file autodef_mod_combo.cpp.

Referenced by ExpandByAnyPresent().

◆ CAutoDefModifierCombo() [2/2]

CAutoDefModifierCombo::CAutoDefModifierCombo ( CAutoDefModifierCombo orig)

◆ ~CAutoDefModifierCombo()

CAutoDefModifierCombo::~CAutoDefModifierCombo ( )

Definition at line 111 of file autodef_mod_combo.cpp.

Member Function Documentation

◆ AddOrgMod()

void CAutoDefModifierCombo::AddOrgMod ( COrgMod::ESubtype  st,
bool  even_if_not_uniquifying = false 
)

◆ AddQual()

bool CAutoDefModifierCombo::AddQual ( bool  IsOrgMod,
int  subtype,
bool  even_if_not_uniquifying = false 
)

◆ AddSource()

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().

◆ AddSubsource()

void CAutoDefModifierCombo::AddSubsource ( CSubSource::ESubtype  st,
bool  even_if_not_uniquifying = false 
)

◆ AreFeatureClausesUnique()

bool CAutoDefModifierCombo::AreFeatureClausesUnique ( )

Definition at line 1108 of file autodef_mod_combo.cpp.

References NStr::Equal(), g(), ITERATE, m_GroupList, prev(), and ct::sort().

◆ Compare()

int CAutoDefModifierCombo::Compare ( const CAutoDefModifierCombo other) const

◆ ExpandByAnyPresent()

vector< CRef< CAutoDefModifierCombo > > CAutoDefModifierCombo::ExpandByAnyPresent ( )

Definition at line 1083 of file autodef_mod_combo.cpp.

References CAutoDefModifierCombo(), and m_GroupList.

◆ GetAllowModAtEndOfTaxname()

bool CAutoDefModifierCombo::GetAllowModAtEndOfTaxname ( )
inline

Definition at line 238 of file autodef_mod_combo.hpp.

References m_AllowModAtEndOfTaxname.

◆ GetAvailableModifiers()

void CAutoDefModifierCombo::GetAvailableModifiers ( CAutoDefSourceDescription::TAvailableModifierVector modifier_list)

◆ GetDefaultExcludeSp()

bool CAutoDefModifierCombo::GetDefaultExcludeSp ( )

Definition at line 612 of file autodef_mod_combo.cpp.

References m_GroupList.

Referenced by CAutoDef::AddDescriptors(), and CAutoDef::AddSources().

◆ GetExcludeAffOrgs()

bool CAutoDefModifierCombo::GetExcludeAffOrgs ( )
inline

Definition at line 308 of file autodef_mod_combo.hpp.

References m_ExcludeAffOrgs.

◆ GetExcludeCfOrgs()

bool CAutoDefModifierCombo::GetExcludeCfOrgs ( )
inline

Definition at line 280 of file autodef_mod_combo.hpp.

References m_ExcludeCfOrgs.

◆ GetExcludeNrOrgs()

bool CAutoDefModifierCombo::GetExcludeNrOrgs ( )
inline

Definition at line 294 of file autodef_mod_combo.hpp.

References m_ExcludeNrOrgs.

◆ GetExcludeSpOrgs()

bool CAutoDefModifierCombo::GetExcludeSpOrgs ( )
inline

Definition at line 266 of file autodef_mod_combo.hpp.

References m_ExcludeSpOrgs.

◆ GetGroupList()

const TGroupListVector& CAutoDefModifierCombo::GetGroupList ( ) const
inline

Definition at line 119 of file autodef_mod_combo.hpp.

Referenced by Compare().

◆ GetHIVCloneIsolateRule()

CAutoDefOptions::EHIVCloneIsolateRule CAutoDefModifierCombo::GetHIVCloneIsolateRule ( )
inline

Definition at line 350 of file autodef_mod_combo.hpp.

References m_HIVCloneIsolateRule.

◆ GetInfluenzaType()

CAutoDefModifierCombo::EInfluenzaType CAutoDefModifierCombo::GetInfluenzaType ( const string taxname)
static

◆ GetKeepAfterSemicolon()

bool CAutoDefModifierCombo::GetKeepAfterSemicolon ( )
inline

Definition at line 336 of file autodef_mod_combo.hpp.

References m_KeepAfterSemicolon.

◆ GetKeepCountryText()

bool CAutoDefModifierCombo::GetKeepCountryText ( )
inline

Definition at line 252 of file autodef_mod_combo.hpp.

References m_KeepCountryText.

◆ GetKeepParen()

bool CAutoDefModifierCombo::GetKeepParen ( )
inline

Definition at line 322 of file autodef_mod_combo.hpp.

References m_KeepParen.

◆ GetMaxInGroup()

unsigned int CAutoDefModifierCombo::GetMaxInGroup ( ) const

Definition at line 967 of file autodef_mod_combo.cpp.

References ITERATE, and m_GroupList.

Referenced by Compare().

◆ GetMaxModifiers()

int CAutoDefModifierCombo::GetMaxModifiers ( )
inline

Definition at line 224 of file autodef_mod_combo.hpp.

References m_MaxModifiers.

◆ GetModifiers()

const CAutoDefSourceDescription::TModifierVector& CAutoDefModifierCombo::GetModifiers ( void  ) const
inline

Definition at line 120 of file autodef_mod_combo.hpp.

Referenced by Compare().

◆ GetNumGroups()

unsigned int CAutoDefModifierCombo::GetNumGroups ( )

Definition at line 166 of file autodef_mod_combo.cpp.

References m_GroupList.

◆ GetNumOrgMods()

unsigned int CAutoDefModifierCombo::GetNumOrgMods ( )

Definition at line 186 of file autodef_mod_combo.cpp.

References m_OrgMods.

◆ GetNumSubSources()

unsigned int CAutoDefModifierCombo::GetNumSubSources ( )

Definition at line 172 of file autodef_mod_combo.cpp.

References m_SubSources.

◆ GetNumUnique()

unsigned int CAutoDefModifierCombo::GetNumUnique ( ) const

Definition at line 954 of file autodef_mod_combo.cpp.

References ITERATE, and m_GroupList.

Referenced by Compare().

◆ GetOrgMod()

COrgMod::ESubtype CAutoDefModifierCombo::GetOrgMod ( unsigned int  index)

Definition at line 192 of file autodef_mod_combo.cpp.

References _ASSERT, and m_OrgMods.

◆ GetSourceDescriptionString()

string CAutoDefModifierCombo::GetSourceDescriptionString ( const CBioSource bsrc)
virtual

◆ GetSubSource()

CSubSource::ESubtype CAutoDefModifierCombo::GetSubSource ( unsigned int  index)

Definition at line 178 of file autodef_mod_combo.cpp.

References _ASSERT, and m_SubSources.

◆ GetUseModifierLabels()

bool CAutoDefModifierCombo::GetUseModifierLabels ( )
inline

Definition at line 210 of file autodef_mod_combo.hpp.

References m_UseModifierLabels.

◆ HasOrgMod()

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().

◆ HasSubSource()

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().

◆ HasTrickyHIV()

bool CAutoDefModifierCombo::HasTrickyHIV ( )

Definition at line 464 of file autodef_mod_combo.cpp.

References m_GroupList.

◆ InitFromOptions()

void CAutoDefModifierCombo::InitFromOptions ( const CAutoDefOptions options)

◆ InitOptions()

void CAutoDefModifierCombo::InitOptions ( CAutoDefOptions options) const

◆ IsModifierInString()

bool CAutoDefModifierCombo::IsModifierInString ( const string find_this,
const string find_in,
bool  ignore_at_end 
)
static

Definition at line 380 of file autodef_mod_combo.cpp.

References NStr::Find().

Referenced by BOOST_AUTO_TEST_CASE(), and x_AddOrgModString().

◆ IsModifierRequiredByDefault()

bool CAutoDefModifierCombo::IsModifierRequiredByDefault ( bool  is_orgmod,
int  subtype 
)
static

◆ IsUsableInDefline() [1/2]

bool CAutoDefModifierCombo::IsUsableInDefline ( COrgMod::ESubtype  subtype)
static

Definition at line 752 of file autodef_mod_combo.cpp.

References kNumPreferred, and s_PreferredList.

◆ IsUsableInDefline() [2/2]

bool CAutoDefModifierCombo::IsUsableInDefline ( CSubSource::ESubtype  subtype)
static

Definition at line 740 of file autodef_mod_combo.cpp.

References kNumPreferred, and s_PreferredList.

Referenced by BOOST_AUTO_TEST_CASE().

◆ operator<()

bool CAutoDefModifierCombo::operator< ( const CAutoDefModifierCombo src) const
inline

Definition at line 131 of file autodef_mod_combo.hpp.

References Compare().

◆ operator>()

bool CAutoDefModifierCombo::operator> ( const CAutoDefModifierCombo src) const
inline

Definition at line 126 of file autodef_mod_combo.hpp.

References Compare().

◆ RemoveQual()

bool CAutoDefModifierCombo::RemoveQual ( bool  IsOrgMod,
int  subtype 
)

Definition at line 1072 of file autodef_mod_combo.cpp.

References m_GroupList, and NON_CONST_ITERATE.

◆ SetAllowModAtEndOfTaxname()

void CAutoDefModifierCombo::SetAllowModAtEndOfTaxname ( bool  keep)
inline

Definition at line 231 of file autodef_mod_combo.hpp.

References m_AllowModAtEndOfTaxname.

◆ SetExcludeAffOrgs()

void CAutoDefModifierCombo::SetExcludeAffOrgs ( bool  exclude)
inline

Definition at line 301 of file autodef_mod_combo.hpp.

References m_ExcludeAffOrgs.

Referenced by ConfigureAutodefForSeqEntry(), and CAutodefJob::x_MakeChanges().

◆ SetExcludeCfOrgs()

void CAutoDefModifierCombo::SetExcludeCfOrgs ( bool  exclude)
inline

Definition at line 273 of file autodef_mod_combo.hpp.

References m_ExcludeCfOrgs.

Referenced by ConfigureAutodefForSeqEntry(), and CAutodefJob::x_MakeChanges().

◆ SetExcludeNrOrgs()

void CAutoDefModifierCombo::SetExcludeNrOrgs ( bool  exclude)
inline

Definition at line 287 of file autodef_mod_combo.hpp.

References m_ExcludeNrOrgs.

Referenced by ConfigureAutodefForSeqEntry(), and CAutodefJob::x_MakeChanges().

◆ SetExcludeSpOrgs()

void CAutoDefModifierCombo::SetExcludeSpOrgs ( bool  exclude)
inline

◆ SetHIVCloneIsolateRule()

void CAutoDefModifierCombo::SetHIVCloneIsolateRule ( CAutoDefOptions::EHIVCloneIsolateRule  rule_num)
inline

◆ SetKeepAfterSemicolon()

void CAutoDefModifierCombo::SetKeepAfterSemicolon ( bool  keep)
inline

◆ SetKeepCountryText()

void CAutoDefModifierCombo::SetKeepCountryText ( bool  keep)
inline

Definition at line 245 of file autodef_mod_combo.hpp.

References m_KeepCountryText.

Referenced by ConfigureAutodefForSeqEntry(), and CAutodefJob::x_MakeChanges().

◆ SetKeepParen()

void CAutoDefModifierCombo::SetKeepParen ( bool  keep)
inline

Definition at line 315 of file autodef_mod_combo.hpp.

References m_KeepParen.

Referenced by ConfigureAutodefForSeqEntry(), and CAutodefJob::x_MakeChanges().

◆ SetMaxModifiers()

void CAutoDefModifierCombo::SetMaxModifiers ( int  max_mods)
inline

Definition at line 217 of file autodef_mod_combo.hpp.

References m_MaxModifiers.

Referenced by ConfigureAutodefForSeqEntry(), and CAutodefJob::x_MakeChanges().

◆ SetOptions()

void CAutoDefModifierCombo::SetOptions ( const CAutoDefOptions options)
inline

◆ SetUseModifierLabels()

void CAutoDefModifierCombo::SetUseModifierLabels ( bool  use)
inline

◆ x_AddHIVModifiers()

void CAutoDefModifierCombo::x_AddHIVModifiers ( TExtraOrgMods extra_orgmods,
TExtraSubSrcs extra_subsrcs,
const CBioSource bsrc 
)
private

◆ x_AddInfluenzaModifiers()

void CAutoDefModifierCombo::x_AddInfluenzaModifiers ( TExtraOrgMods extra_orgmods,
TExtraSubSrcs extra_subsrcs,
EInfluenzaType  influenza_type 
)
private

◆ x_AddMinicircle() [1/2]

bool CAutoDefModifierCombo::x_AddMinicircle ( string source_description,
const CBioSource bsrc 
)
staticprivate

◆ x_AddMinicircle() [2/2]

bool CAutoDefModifierCombo::x_AddMinicircle ( string source_description,
const string note_text 
)
staticprivate

◆ x_AddOrgModString()

bool CAutoDefModifierCombo::x_AddOrgModString ( string source_description,
const CBioSource bsrc,
COrgMod::ESubtype  st 
)
private

◆ x_AddRequiredSubSourceModifiers()

void CAutoDefModifierCombo::x_AddRequiredSubSourceModifiers ( TExtraOrgMods extra_orgmods,
TExtraSubSrcs extra_subsrcs,
const CBioSource bsrc 
)
private

◆ x_AddSubsourceString()

bool CAutoDefModifierCombo::x_AddSubsourceString ( string source_description,
const CBioSource bsrc,
CSubSource::ESubtype  st 
)
private

◆ x_AddTypeStrainModifiers()

void CAutoDefModifierCombo::x_AddTypeStrainModifiers ( TExtraOrgMods extra_orgmods,
TExtraSubSrcs extra_subsrcs,
const CBioSource bsrc 
)
private

◆ x_BioSourceHasOrgMod()

bool CAutoDefModifierCombo::x_BioSourceHasOrgMod ( const CBioSource src,
COrgMod::ESubtype  subtype 
)
staticprivate

◆ x_BioSourceHasSubSrc()

bool CAutoDefModifierCombo::x_BioSourceHasSubSrc ( const CBioSource src,
CSubSource::ESubtype  subtype 
)
staticprivate

◆ x_CleanUpTaxName()

void CAutoDefModifierCombo::x_CleanUpTaxName ( string tax_name)
private

◆ x_GetOrgModLabel()

string CAutoDefModifierCombo::x_GetOrgModLabel ( COrgMod::ESubtype  st)
private

◆ x_GetSubSourceLabel()

string CAutoDefModifierCombo::x_GetSubSourceLabel ( CSubSource::ESubtype  st)
private

◆ x_HasTypeStrainComment()

bool CAutoDefModifierCombo::x_HasTypeStrainComment ( const CBioSource bsrc)
staticprivate

◆ x_SpecialHandlingForInfluenza() [1/2]

bool CAutoDefModifierCombo::x_SpecialHandlingForInfluenza ( EInfluenzaType  influenza_type,
COrgMod::ESubtype  subtype 
)
staticprivate

◆ x_SpecialHandlingForInfluenza() [2/2]

bool CAutoDefModifierCombo::x_SpecialHandlingForInfluenza ( EInfluenzaType  influenza_type,
CSubSource::ESubtype  subtype 
)
staticprivate

Member Data Documentation

◆ m_AllowModAtEndOfTaxname

bool CAutoDefModifierCombo::m_AllowModAtEndOfTaxname
private

◆ m_ExcludeAffOrgs

bool CAutoDefModifierCombo::m_ExcludeAffOrgs
private

◆ m_ExcludeCfOrgs

bool CAutoDefModifierCombo::m_ExcludeCfOrgs
private

◆ m_ExcludeNrOrgs

bool CAutoDefModifierCombo::m_ExcludeNrOrgs
private

◆ m_ExcludeSpOrgs

bool CAutoDefModifierCombo::m_ExcludeSpOrgs
private

◆ m_GroupList

TGroupListVector CAutoDefModifierCombo::m_GroupList
private

◆ m_HIVCloneIsolateRule

CAutoDefOptions::EHIVCloneIsolateRule CAutoDefModifierCombo::m_HIVCloneIsolateRule
private

◆ m_KeepAfterSemicolon

bool CAutoDefModifierCombo::m_KeepAfterSemicolon
private

◆ m_KeepCountryText

bool CAutoDefModifierCombo::m_KeepCountryText
private

◆ m_KeepParen

bool CAutoDefModifierCombo::m_KeepParen
private

◆ m_MaxModifiers

int CAutoDefModifierCombo::m_MaxModifiers
private

◆ m_Modifiers

CAutoDefSourceDescription::TModifierVector CAutoDefModifierCombo::m_Modifiers
private

Definition at line 159 of file autodef_mod_combo.hpp.

Referenced by AddQual(), CAutoDefModifierCombo(), Compare(), and InitOptions().

◆ m_OrgMods

TOrgModTypeVector CAutoDefModifierCombo::m_OrgMods
private

◆ m_SubSources

TSubSourceTypeVector CAutoDefModifierCombo::m_SubSources
private

◆ m_UseModifierLabels

bool CAutoDefModifierCombo::m_UseModifierLabels
private

The documentation for this class was generated from the following files:
Modified on Wed Apr 17 13:11:01 2024 by modify_doxy.py rev. 669887