);
75 "empty Seq-descr is not allowed");
110 if((**it).Which() == which)
125 boolerased =
false;
126 for(CSeq_descr::Tdata::iterator it = descr.
Set().begin(); it!= descr.
Set().end(); )
128 if((**it).Which() == which)
131descr.
Set().erase(it++);
static CSafeStatic< NCBI_PARAM_TYPE(OBJECTS, SEQ_DESCR_ALLOW_EMPTY)> s_SeqDescrAllowEmpty
NCBI_PARAM_DEF_EX(bool, OBJECTS, SEQ_DESCR_ALLOW_EMPTY, false, eParam_NoThread, OBJECTS_SEQ_DESCR_ALLOW_EMPTY)
NCBI_PARAM_DECL(bool, OBJECTS, SEQ_DESCR_ALLOW_EMPTY)
CRef< CSeq_descr > m_descr
CSeqdesc & Set(bool skip_lookup=false)
const CSeqdesc & Get() const
static CRef< CSeqdesc > LocateDesc(const CSeq_descr &descr, CSeqdesc::E_Choice which)
CSeqdesc::E_Choice m_which
static bool EraseDesc(CSeq_descr &descr, CSeqdesc::E_Choice which)
@Seq_descr.hpp User-defined methods of the data storage class.
void PreWrite(void) const
void PostRead(void) const
Root class for all serialization exceptions.
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
#define NCBI_THROW(exception_class, err_code, message)
Generic macro to throw an exception, given the exception class, error code and message string.
void Reset(void)
Reset reference object.
bool IsNull(void) const THROWS_NONE
Check if pointer is null â same effect as Empty().
#define NCBI_PARAM_TYPE(section, name)
Generate typename for a parameter from its {section, name} attributes.
@ eParam_NoThread
Do not use per-thread values.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
list< CRef< CSeqdesc > > Tdata
const Tdata & Get(void) const
Get the member data.
E_Choice
Choice variants.
Tdata & Set(void)
Assign a value to data member.
constexpr bool empty(list< Ts... >) noexcept
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4