Field properties for options in a Blast4 parameter list.
bool GetBoolean(const CBlast4_parameter &p) const
Verify parameter name and type, and get boolean value.
string m_Name
Field name string as used in Blast4_parameter objects.
static const string & GetName(EBlastOptIdx opt)
EBlast4_strand_type GetStrandType(const CBlast4_parameter &p) const
Verify parameter name and type, and get strand_type value.
static TFieldMap m_Fields
Map of all blast4 field objects.
Int8 GetBig_integer(const CBlast4_parameter &p) const
Verify parameter name and type, and get big integer value.
CConstRef< CPssmWithParameters > GetMatrix(const CBlast4_parameter &p) const
Verify parameter name and type, and get matrix (pssm) value.
CConstRef< CBlast4_cutoff > GetCutoff(const CBlast4_parameter &p) const
Verify parameter name and type, and get cutoff value.
CBlast4Field()
Default constructor (for STL)
bool Match(const CBlast4_parameter &p) const
Match field name and type to parameter.
double GetReal(const CBlast4_parameter &p) const
Verify parameter name and type, and get real value.
list< int > GetIntegerList(const CBlast4_parameter &p) const
Verify parameter name and type, and get integer list value.
string GetString(const CBlast4_parameter &p) const
Verify parameter name and type, and get string value.
int GetInteger(const CBlast4_parameter &p) const
Verify parameter name and type, and get integer value.
CBlast4_value::E_Choice GetType() const
Get field type.
CBlast4_value::E_Choice m_Type
Field value type as used in Blast4_parameter objects.
const string & GetName() const
Get field name (key).
static CBlast4Field & Get(EBlastOptIdx opt)
CConstRef< CBlast4_mask > GetQueryMask(const CBlast4_parameter &p) const
Verify parameter name and type, and get query mask value.
#define ERR_POST(message)
Error posting with file, line number information but without error codes.
void Warning(CExceptionArgs_Base &args)
int64_t Int8
8-byte (64-bit) signed integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define DEFINE_STATIC_MUTEX(id)
Define static mutex and initialize it.
TBig_integer GetBig_integer(void) const
Get the variant data.
const TCutoff & GetCutoff(void) const
Get the variant data.
const TName & GetName(void) const
Get the Name member data.
TInteger GetInteger(void) const
Get the variant data.
const TValue & GetValue(void) const
Get the Value member data.
TBoolean GetBoolean(void) const
Get the variant data.
const TMatrix & GetMatrix(void) const
Get the variant data.
E_Choice Which(void) const
Which variant is currently selected.
const TString & GetString(void) const
Get the variant data.
TReal GetReal(void) const
Get the variant data.
const TInteger_list & GetInteger_list(void) const
Get the variant data.
const TQuery_mask & GetQuery_mask(void) const
Get the variant data.
bool CanGetValue(void) const
Check if it is safe to call GetValue method.
TStrand_type GetStrand_type(void) const
Get the variant data.
EBlast4_strand_type
Access to EBlast4_strand_type's attributes (values, names) as defined in spec.
bool CanGetName(void) const
Check if it is safe to call GetName method.
@ e_Query_mask
Intended to represent user-provided masking locations for a single query sequence (name field in Blas...
@ e_not_set
No variant selected.
@ e_Big_integer
scalar types
const char * kBlast4SearchInfoReqValue_Status("status")
const char * kBlast4SearchInfoReqValue_PsiIterationNum("psi_iteration_number")
const char * kBlast4SearchInfoReqValue_Title("title")
string Blast4SearchInfo_BuildReplyName(const string &name, const string &value)
Auxiliary function to consistently build the Blast4-get-search-info-reply names.
const char * kBlast4SearchInfoReqName_Alignment("alignment")
const char * kBlast4SearchInfoReqName_Search("search")
const char * kBlast4SearchInfoReqValue_Subjects("subjects")
Names used in blast4 network communications.
EBlastOptIdx
Index of remote BLAST options.
@ eBlastOpt_WordThreshold
@ eBlastOpt_ComplexityAdjMode
@ eBlastOpt_MismatchPenalty
@ eBlastOpt_Web_StepNumber
@ eBlastOpt_CompositionBasedStats
@ eBlastOpt_SubjectBestHit
@ eBlastOpt_Web_NewWindow
@ eBlastOpt_NegativeTaxidList
@ eBlastOpt_QueryGeneticCode
@ eBlastOpt_SegFilteringHicut
@ eBlastOpt_QueryCovHspPerc
@ eBlastOpt_GapXDropoffFinal
@ eBlastOpt_DustFilteringLevel
@ eBlastOpt_OutOfFrameMode
@ eBlastOpt_MBTemplateLength
@ eBlastOpt_BestHitOverhang
@ eBlastOpt_PercentIdentity
@ eBlastOpt_SegFilteringWindow
@ eBlastOpt_UseRealDbSize
@ eBlastOpt_IgnoreMsaMaster
@ eBlastOpt_WindowMaskerTaxId
@ eBlastOpt_GapExtensionCost
@ eBlastOpt_Web_EntrezQuery
@ eBlastOpt_GapOpeningCost
@ eBlastOpt_DbFilteringAlgorithmKey
@ eBlastOpt_MaxHspsPerSubject
@ eBlastOpt_SmithWatermanMode
@ eBlastOpt_GapExtnAlgorithm
@ eBlastOpt_EvalueThreshold
@ eBlastOpt_Web_OrganismName
@ eBlastOpt_Web_BlastSpecialPage
@ eBlastOpt_RepeatFilteringDB
@ eBlastOpt_Web_RunPsiBlast
@ eBlastOpt_NegativeGiList
@ eBlastOpt_Web_ExclSeqUncult
@ eBlastOpt_DomainInclusionThreshold
@ eBlastOpt_BestHitScoreEdge
@ eBlastOpt_LongestIntronLength
@ eBlastOpt_DustFilteringLinker
@ eBlastOpt_Web_ExclModels
@ eBlastOpt_DbFilteringAlgorithmId
@ eBlastOpt_DustFiltering
@ eBlastOpt_DbGeneticCode
@ eBlastOpt_RepeatFiltering
@ eBlastOpt_SegFilteringLocut
@ eBlastOpt_MBTemplateType
@ eBlastOpt_Web_ShortQueryAdjust
@ eBlastOpt_WindowMaskerDatabase
@ eBlastOpt_EffectiveSearchSpace
@ eBlastOpt_SumStatisticsMode
@ eBlastOpt_RequiredStart
@ eBlastOpt_Web_DBSubgroup
@ eBlastOpt_GapTracebackAlgorithm
@ eBlastOpt_SubjectMaskingType
@ eBlastOpt_Web_DBSubgroupName
@ eBlastOpt_DustFilteringWindow
@ eBlastOpt_InclusionThreshold
Multi-threading – mutexes; rw-locks; semaphore.