NCBI C++ ToolKit
Public Member Functions | Public Attributes | List of all members
SSNPDb_Defs::SFilter Struct Reference

Search Toolkit Book for SSNPDb_Defs::SFilter

#include <sra/readers/sra/snpread.hpp>

Public Member Functions

 SFilter ()
 
 SFilter (TFilter filter, TFilter filter_mask=TFilter(-1))
 
void SetNoFilter (void)
 
void SetFilter (TFilter filter, TFilter filter_mask=TFilter(-1))
 
void Normalize (void)
 
bool IsSet (void) const
 
bool Matches (TFilter bits) const
 

Public Attributes

TFilter m_Filter
 
TFilter m_FilterMask
 

Detailed Description

Definition at line 98 of file snpread.hpp.

Constructor & Destructor Documentation

◆ SFilter() [1/2]

SSNPDb_Defs::SFilter::SFilter ( )
inline

Definition at line 99 of file snpread.hpp.

◆ SFilter() [2/2]

SSNPDb_Defs::SFilter::SFilter ( TFilter  filter,
TFilter  filter_mask = TFilter(-1) 
)
inline

Definition at line 104 of file snpread.hpp.

Member Function Documentation

◆ IsSet()

bool SSNPDb_Defs::SFilter::IsSet ( void  ) const
inline

Definition at line 128 of file snpread.hpp.

References m_FilterMask.

Referenced by CSNPDbFeatIterator::x_Excluded().

◆ Matches()

bool SSNPDb_Defs::SFilter::Matches ( TFilter  bits) const
inline

Definition at line 132 of file snpread.hpp.

References m_Filter, and m_FilterMask.

Referenced by CSNPDbFeatIterator::x_Excluded(), and CSNPDbFeatIterator::x_SetFilter().

◆ Normalize()

void SSNPDb_Defs::SFilter::Normalize ( void  )
inline

Definition at line 123 of file snpread.hpp.

References m_Filter, and m_FilterMask.

Referenced by CSNPDbFeatIterator::x_SetFilter().

◆ SetFilter()

void SSNPDb_Defs::SFilter::SetFilter ( TFilter  filter,
TFilter  filter_mask = TFilter(-1) 
)
inline

Definition at line 116 of file snpread.hpp.

References m_Filter, and m_FilterMask.

◆ SetNoFilter()

void SSNPDb_Defs::SFilter::SetNoFilter ( void  )
inline

Definition at line 111 of file snpread.hpp.

References m_Filter, and m_FilterMask.

Member Data Documentation

◆ m_Filter

TFilter SSNPDb_Defs::SFilter::m_Filter

◆ m_FilterMask

TFilter SSNPDb_Defs::SFilter::m_FilterMask

The documentation for this struct was generated from the following file:
Modified on Wed Sep 04 14:59:06 2024 by modify_doxy.py rev. 669887