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

Search Toolkit Book for CAutoDefSourceModifierInfo

#include <objmgr/util/autodef_source_desc.hpp>

Public Member Functions

 CAutoDefSourceModifierInfo (bool isOrgMod, int subtype, string value)
 
 CAutoDefSourceModifierInfo (const CAutoDefSourceModifierInfo &other)
 
 ~CAutoDefSourceModifierInfo ()
 
unsigned int GetRank () const
 
int Compare (const CAutoDefSourceModifierInfo &mod) const
 
bool IsOrgMod () const
 
int GetSubtype () const
 
string GetValue () const
 
bool operator> (const CAutoDefSourceModifierInfo &mod) const
 
bool operator< (const CAutoDefSourceModifierInfo &mod) const
 

Private Attributes

bool m_IsOrgMod
 
int m_Subtype
 
string m_Value
 

Detailed Description

Definition at line 54 of file autodef_source_desc.hpp.

Constructor & Destructor Documentation

◆ CAutoDefSourceModifierInfo() [1/2]

CAutoDefSourceModifierInfo::CAutoDefSourceModifierInfo ( bool  isOrgMod,
int  subtype,
string  value 
)

Definition at line 271 of file autodef_source_desc.cpp.

References m_IsOrgMod, m_Subtype, m_Value, and value.

◆ CAutoDefSourceModifierInfo() [2/2]

CAutoDefSourceModifierInfo::CAutoDefSourceModifierInfo ( const CAutoDefSourceModifierInfo other)

Definition at line 279 of file autodef_source_desc.cpp.

References GetSubtype(), GetValue(), IsOrgMod(), m_IsOrgMod, m_Subtype, and m_Value.

◆ ~CAutoDefSourceModifierInfo()

CAutoDefSourceModifierInfo::~CAutoDefSourceModifierInfo ( )

Definition at line 287 of file autodef_source_desc.cpp.

Member Function Documentation

◆ Compare()

int CAutoDefSourceModifierInfo::Compare ( const CAutoDefSourceModifierInfo mod) const

Definition at line 331 of file autodef_source_desc.cpp.

References GetRank(), GetSubtype(), IsOrgMod(), and mod().

◆ GetRank()

unsigned int CAutoDefSourceModifierInfo::GetRank ( void  ) const

◆ GetSubtype()

int CAutoDefSourceModifierInfo::GetSubtype ( void  ) const
inline

Definition at line 91 of file autodef_source_desc.hpp.

References m_Subtype.

Referenced by CAutoDefSourceModifierInfo(), and Compare().

◆ GetValue()

string CAutoDefSourceModifierInfo::GetValue ( void  ) const
inline

Definition at line 97 of file autodef_source_desc.hpp.

References m_Value.

Referenced by CAutoDefSourceModifierInfo().

◆ IsOrgMod()

bool CAutoDefSourceModifierInfo::IsOrgMod ( ) const
inline

Definition at line 85 of file autodef_source_desc.hpp.

References m_IsOrgMod.

Referenced by CAutoDefSourceModifierInfo(), and Compare().

◆ operator<()

bool CAutoDefSourceModifierInfo::operator< ( const CAutoDefSourceModifierInfo mod) const
inline

Definition at line 72 of file autodef_source_desc.hpp.

References Compare(), and mod().

◆ operator>()

bool CAutoDefSourceModifierInfo::operator> ( const CAutoDefSourceModifierInfo mod) const
inline

Definition at line 67 of file autodef_source_desc.hpp.

References Compare(), and mod().

Member Data Documentation

◆ m_IsOrgMod

bool CAutoDefSourceModifierInfo::m_IsOrgMod
private

Definition at line 79 of file autodef_source_desc.hpp.

Referenced by CAutoDefSourceModifierInfo(), GetRank(), and IsOrgMod().

◆ m_Subtype

int CAutoDefSourceModifierInfo::m_Subtype
private

Definition at line 80 of file autodef_source_desc.hpp.

Referenced by CAutoDefSourceModifierInfo(), GetRank(), and GetSubtype().

◆ m_Value

string CAutoDefSourceModifierInfo::m_Value
private

Definition at line 81 of file autodef_source_desc.hpp.

Referenced by CAutoDefSourceModifierInfo(), and GetValue().


The documentation for this class was generated from the following files:
Modified on Wed Feb 21 09:57:59 2024 by modify_doxy.py rev. 669887