62 con->SetLower(low_val);
71 con->SetUpper(hi_val);
81 con->SetRange().SetLower(low_val);
82 con->SetRange().SetUpper(hi_val);
118 con->SetSeq_mol_same_type();
127 con->SetSeq_length_lower(min_len);
136 con->SetSeq_length_upper(max_len);
156 con->SetAnnot_type(
type);
174 con->SetFeat_subtype();
183 con->SetFeat_has_product();
192 con->SetProject_item_type(
info->GetName());
204 "CPluginValueConstraint::operator,() is only valid for "
237 "CPluginValueConstraint::operator,(int): "
238 "inavlid constraint type");
User-defined methods of the data storage class.
static CPluginValueConstraint * CreateUpper(const string &hi_val)
~CPluginValueConstraint(void)
static CPluginValueConstraint * CreateFeatProduct()
CPluginValueConstraint(void)
static CPluginValueConstraint * CreateSet(void)
static CPluginValueConstraint * CreateRange(const string &low_val, const string &hi_val)
static CPluginValueConstraint * CreateProjectItemType(const CTypeInfo *info)
static CPluginValueConstraint * CreateFeatSubtype()
static CPluginValueConstraint * CreateAnnotType(CSeq_annot::TData::E_Choice)
static CPluginValueConstraint * CreateSeqMol()
static CPluginValueConstraint * CreateSeqLenRange(TSeqPos min_len, TSeqPos max_len)
CPluginValueConstraint & operator,(const string &val)
static CPluginValueConstraint * CreateSeqLenLower(TSeqPos min_len)
static CPluginValueConstraint * CreateSeqRepr()
static CPluginValueConstraint * CreateSeqSameMol(void)
static CPluginValueConstraint * CreateLower(const string &low_val)
static CPluginValueConstraint * CreateFeatType()
static CPluginValueConstraint * CreateSeqLenUpper(TSeqPos max_len)
CTypeInfo class contains all information about C++ types (both basic and classes): members and layout...
unsigned int TSeqPos
Type for sequence locations and lengths.
#define NCBI_THROW(exception_class, err_code, message)
Generic macro to throw an exception, given the exception class, error code and message string.
TObjectType * Release(void)
Release a reference to the object and return a pointer to the object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static string IntToString(int value, TNumToStringFlags flags=0, int base=10)
Convert int to string.
TFeat_subtype & SetFeat_subtype(void)
Select the variant.
TSet & SetSet(void)
Select the variant.
TSeq_repr & SetSeq_repr(void)
Select the variant.
TFeat_type & SetFeat_type(void)
Select the variant.
E_Choice Which(void) const
Which variant is currently selected.
TSeq_mol & SetSeq_mol(void)
Select the variant.
range(_Ty, _Ty) -> range< _Ty >