NCBI C++ ToolKit
Public Types | Public Member Functions | Private Attributes | List of all members
SAnnotTypeSelector Struct Reference

Search Toolkit Book for SAnnotTypeSelector

#include <objmgr/annot_type_selector.hpp>

+ Inheritance diagram for SAnnotTypeSelector:

Public Types

typedef CSeq_annot::C_Data::E_Choice TAnnotType
 
typedef Uint1 TAnnotTypeInt
 
typedef CSeqFeatData::E_Choice TFeatType
 
typedef Uint1 TFeatTypeInt
 
typedef CSeqFeatData::ESubtype TFeatSubtype
 
typedef Uint2 TFeatSubtypeInt
 

Public Member Functions

 SAnnotTypeSelector (TAnnotType annot=CSeq_annot::C_Data::e_not_set)
 
 SAnnotTypeSelector (TFeatType feat)
 
 SAnnotTypeSelector (TFeatSubtype feat_subtype)
 
TAnnotType GetAnnotType (void) const
 
TFeatType GetFeatType (void) const
 
TFeatSubtype GetFeatSubtype (void) const
 
bool operator< (const SAnnotTypeSelector &s) const
 
bool operator== (const SAnnotTypeSelector &s) const
 
bool operator!= (const SAnnotTypeSelector &s) const
 
void SetAnnotType (TAnnotType type)
 
void SetFeatType (TFeatType type)
 
void SetFeatSubtype (TFeatSubtype subtype)
 

Private Attributes

TFeatSubtypeInt m_FeatSubtype
 
TFeatTypeInt m_FeatType
 
TAnnotTypeInt m_AnnotType
 

Detailed Description

Definition at line 44 of file annot_type_selector.hpp.

Member Typedef Documentation

◆ TAnnotType

Definition at line 46 of file annot_type_selector.hpp.

◆ TAnnotTypeInt

Definition at line 47 of file annot_type_selector.hpp.

◆ TFeatSubtype

Definition at line 50 of file annot_type_selector.hpp.

◆ TFeatSubtypeInt

Definition at line 51 of file annot_type_selector.hpp.

◆ TFeatType

Definition at line 48 of file annot_type_selector.hpp.

◆ TFeatTypeInt

Definition at line 49 of file annot_type_selector.hpp.

Constructor & Destructor Documentation

◆ SAnnotTypeSelector() [1/3]

SAnnotTypeSelector::SAnnotTypeSelector ( TAnnotType  annot = CSeq_annot::C_Data::e_not_set)
inline

Definition at line 53 of file annot_type_selector.hpp.

◆ SAnnotTypeSelector() [2/3]

SAnnotTypeSelector::SAnnotTypeSelector ( TFeatType  feat)
inline

Definition at line 60 of file annot_type_selector.hpp.

◆ SAnnotTypeSelector() [3/3]

SAnnotTypeSelector::SAnnotTypeSelector ( TFeatSubtype  feat_subtype)
inline

Definition at line 67 of file annot_type_selector.hpp.

Member Function Documentation

◆ GetAnnotType()

TAnnotType SAnnotTypeSelector::GetAnnotType ( void  ) const
inline

◆ GetFeatSubtype()

TFeatSubtype SAnnotTypeSelector::GetFeatSubtype ( void  ) const
inline

◆ GetFeatType()

TFeatType SAnnotTypeSelector::GetFeatType ( void  ) const
inline

◆ operator!=()

bool SAnnotTypeSelector::operator!= ( const SAnnotTypeSelector s) const
inline

Definition at line 105 of file annot_type_selector.hpp.

References m_AnnotType, m_FeatSubtype, and m_FeatType.

◆ operator<()

bool SAnnotTypeSelector::operator< ( const SAnnotTypeSelector s) const
inline

Definition at line 89 of file annot_type_selector.hpp.

References m_AnnotType, m_FeatSubtype, and m_FeatType.

◆ operator==()

bool SAnnotTypeSelector::operator== ( const SAnnotTypeSelector s) const
inline

Definition at line 98 of file annot_type_selector.hpp.

References m_AnnotType, m_FeatSubtype, and m_FeatType.

◆ SetAnnotType()

void SAnnotTypeSelector::SetAnnotType ( TAnnotType  type)
inline

◆ SetFeatSubtype()

void SAnnotTypeSelector::SetFeatSubtype ( TFeatSubtype  subtype)
inline

◆ SetFeatType()

void SAnnotTypeSelector::SetFeatType ( TFeatType  type)
inline

Member Data Documentation

◆ m_AnnotType

TAnnotTypeInt SAnnotTypeSelector::m_AnnotType
private

Definition at line 144 of file annot_type_selector.hpp.

Referenced by operator!=(), operator<(), and operator==().

◆ m_FeatSubtype

TFeatSubtypeInt SAnnotTypeSelector::m_FeatSubtype
private

Definition at line 142 of file annot_type_selector.hpp.

Referenced by operator!=(), operator<(), and operator==().

◆ m_FeatType

TFeatTypeInt SAnnotTypeSelector::m_FeatType
private

Definition at line 143 of file annot_type_selector.hpp.

Referenced by operator!=(), operator<(), and operator==().


The documentation for this struct was generated from the following file:
Modified on Wed Jun 19 17:00:18 2024 by modify_doxy.py rev. 669887