NCBI C++ ToolKit
|
Search Toolkit Book for CSeqMaskerOstatFactory
Factory of CSeqMaskerOstat objects. More...
#include <algo/winmask/seq_masker_ostat_factory.hpp>
Classes | |
class | CSeqMaskerOstatFactoryException |
Exceptions that CSeqMaskerOstatFactory might throw. More... | |
Static Public Member Functions | |
static CSeqMaskerOstat * | create (const string &ustat_type, const string &name, bool use_ba, string const &metadata="") |
Method used to create a CSeqMakserOstat object by format name. More... | |
static CSeqMaskerOstat * | create (const string &ustat_type, CNcbiOstream &os, bool use_ba, string const &metadata="") |
Method used to create a CSeqMakserOstat object by format name. More... | |
Factory of CSeqMaskerOstat objects.
Definition at line 49 of file seq_masker_ostat_factory.hpp.
|
static |
Method used to create a CSeqMakserOstat object by format name.
The method instantiates the appropriate subclass of CSeqMaskerOstat corresponding to the name of the file format, or throws an exception if the format name is not recognized.
ustat_type | the name of the unit counts file format |
os | the output stream |
use_ba | whether to use bit array based optimizations |
metadata | metadata string |
Definition at line 56 of file seq_masker_ostat_factory.cpp.
References NCBI_RETHROW, NCBI_THROW, ncbi::grid::netcache::search::fields::size, string, and CException::what().
|
static |
Method used to create a CSeqMakserOstat object by format name.
The method instantiates the appropriate subclass of CSeqMaskerOstat corresponding to the name of the file format, or throws an exception if the format name is not recognized.
ustat_type | the name of the unit counts file format |
name | the name of the file to save unit counts data to |
use_ba | whether to use bit array based optimizations |
metadata | metadata string |
Definition at line 94 of file seq_masker_ostat_factory.cpp.
References NCBI_RETHROW, NCBI_THROW, ncbi::grid::netcache::search::fields::size, string, and CException::what().
Referenced by CWinMaskCountsConverter::operator()().