NCBI C++ ToolKit
Public Types | Public Member Functions | Private Member Functions | List of all members
ITableFilter Class Referenceabstract

Search Toolkit Book for ITableFilter

Use to give a feature filter to CFeature_table_reader. More...

#include <objtools/readers/table_filter.hpp>

+ Inheritance diagram for ITableFilter:

Public Types

enum  EAction { eAction_Okay = 1 , eAction_AllowedButWarn , eAction_Disallowed }
 How a given feature name should be handled. More...
 

Public Member Functions

 ITableFilter (void)
 
virtual ~ITableFilter ()
 
virtual EAction GetFeatAction (const string &feature_name) const =0
 Returns how we should treat the given feature name. More...
 

Private Member Functions

 ITableFilter (const ITableFilter &)
 forbid copy More...
 
ITableFilteroperator= (const ITableFilter &)
 forbid assignment More...
 

Detailed Description

Use to give a feature filter to CFeature_table_reader.

Definition at line 48 of file table_filter.hpp.

Member Enumeration Documentation

◆ EAction

How a given feature name should be handled.

Enumerator
eAction_Okay 

Just accept the feat.

eAction_AllowedButWarn 

Accept the feat but give message eProblem_FeatureNameNotAllowed.

eAction_Disallowed 

Do not accept the feat and give message eProblem_FeatureNameNotAllowed.

Definition at line 56 of file table_filter.hpp.

Constructor & Destructor Documentation

◆ ITableFilter() [1/2]

ITableFilter::ITableFilter ( void  )
inline

Definition at line 52 of file table_filter.hpp.

◆ ~ITableFilter()

virtual ITableFilter::~ITableFilter ( )
inlinevirtual

Definition at line 53 of file table_filter.hpp.

◆ ITableFilter() [2/2]

ITableFilter::ITableFilter ( const ITableFilter )
private

forbid copy

Member Function Documentation

◆ GetFeatAction()

virtual EAction ITableFilter::GetFeatAction ( const string feature_name) const
pure virtual

Returns how we should treat the given feature name.

Implemented in CSimpleTableFilter.

Referenced by CFeatureTableReader_Imp::x_SetupSeqFeat().

◆ operator=()

ITableFilter& ITableFilter::operator= ( const ITableFilter )
private

forbid assignment


The documentation for this class was generated from the following file:
Modified on Wed Dec 06 07:14:37 2023 by modify_doxy.py rev. 669887