43 ostrm <<
"Description: " << constraint.
m_Label << endl;
44 ostrm <<
"Constr. expression: " << constraint.
m_Constraint << endl;
45 ostrm <<
"Variables: " << constraint.
m_Variables.size() << endl;
49 ostrm <<
"Field name: " << constraint.
m_Fieldname << endl;
76 if (
func_info.m_FName == macro::CMacroFunction_LocationDistConstraint::sm_FromStart ||
77 func_info.m_FName == macro::CMacroFunction_LocationDistConstraint::sm_FromStop) {
Class to store one function as it appears in the macro and its arguments (as GUI fieldnames)
static map< string, vector< EMMatcherPanelType > > sm_FunctionToPanelMap
Map between constraint macro function and panel type(s)
static const EMMatcherPanelType s_GetMatcherPanels(const CFuncWithArgs &func_info)
const_iterator end() const
const_iterator find(const key_type &key) const
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
static bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)
Case-insensitive equality of a substring with another string.
CNcbiOstream & operator<<(CNcbiOstream &ostrm, const SMacroConstraint &constraint)
EMMatcherPanelType
Denotes the type of panel that is used to create macro constraint.
const string kComparisonOp
vector< CFuncWithArgs > m_FuncInfo
interpreted functions with their arguments
string m_Fieldname
fieldname referred in the constraint
vector< string > m_Variables
variables used in the constraint
string m_Constraint
constraint expression, e.g., Strand() = "plus"
string m_Label
description of the constraint as it is listed in the macro editor