NCBI C++ ToolKit
|
Search Toolkit Book for CWinMaskUtil::CIdSet
Base class for sets of seq_id representations used with -ids and -exclude-ids options. More...
#include <algo/winmask/win_mask_util.hpp>
Public Member Functions | |
virtual | ~CIdSet () |
Object destructor. More... | |
virtual void | insert (const string &id_str)=0 |
Add a string to the id set. More... | |
virtual bool | empty () const =0 |
Check if the id set is empty. More... | |
virtual bool | find (const objects::CBioseq_Handle &bsh) const =0 |
Check if the id of the given bioseq is in the id set. More... | |
Base class for sets of seq_id representations used with -ids and -exclude-ids options.
Definition at line 57 of file win_mask_util.hpp.
|
inlinevirtual |
Object destructor.
Definition at line 63 of file win_mask_util.hpp.
|
pure virtual |
Check if the id set is empty.
Implemented in CWinMaskUtil::CIdSet_TextMatch, and CWinMaskUtil::CIdSet_SeqId.
Referenced by CWinMaskUtil::consider().
Check if the id of the given bioseq is in the id set.
bsh | bioseq handle which id is to be checked |
Implemented in CWinMaskUtil::CIdSet_TextMatch, and CWinMaskUtil::CIdSet_SeqId.
Referenced by CWinMaskUtil::consider().
Add a string to the id set.
id_str | id to add |
Implemented in CWinMaskUtil::CIdSet_TextMatch, and CWinMaskUtil::CIdSet_SeqId.
Referenced by CWinMaskConfig::FillIdList().