74 return m_Choice & (1<<(**m_Desc_CI).Which()) ?
true :
false;
97 if ( !ref_id )
return;
103 : m_HaveTitle(
false),
112 : m_HaveTitle(
false),
124 : m_HaveTitle(
false),
125 m_Depth(search_depth)
137 : m_Entry(entry, search_depth),
139 m_Depth(search_depth)
148 const TDescChoices& choices,
150 : m_HaveTitle(
false),
151 m_Depth(search_depth)
161 const TDescChoices& choices,
163 : m_HaveTitle(
false),
164 m_Depth(search_depth)
173 : m_Choice(iter.m_Choice),
174 m_Entry(iter.m_Entry),
175 m_Desc_CI(iter.m_Desc_CI),
177 m_HaveTitle(iter.m_HaveTitle),
178 m_Depth(iter.m_Depth)
User-defined methods of the data storage class.
User-defined methods of the data storage class.
TDesc_CI x_GetFirstDesc(TDescTypeMask types) const
bool x_IsEndDesc(TDesc_CI iter) const
TDesc_CI x_GetNextDesc(TDesc_CI iter, TDescTypeMask types) const
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
const CSeq_id * GetId(void) const
Get the id of the location return NULL if has multiple ids or no id at all.
CBioseq_Handle GetBioseqHandle(const CSeq_id &id)
Get bioseq handle by seq-id.
const TInst_Ext & GetInst_Ext(void) const
bool IsSetInst_Ext(void) const
void Reset(void)
Reset handle and make it not to point to any bioseq.
bool IsSetInst_Repr(void) const
TInst_Repr GetInst_Repr(void) const
CScope & GetScope(void) const
Get scope this handle belongs to.
const CBioseq_Base_Info & x_GetBaseInfo(void) const
const CSeqdesc & operator*(void) const
void x_SetChoices(const TDescChoices &choices)
void x_SetChoice(CSeqdesc::E_Choice choice)
void x_RemoveChoice(CSeqdesc::E_Choice choice)
bool x_RequestedType(void) const
CSeqdesc_CI & operator=(const CSeqdesc_CI &iter)
const CSeqdesc * operator->(void) const
void x_SetEntry(const CSeq_descr_CI &entry)
void x_CheckRef(const CBioseq_Handle &handle)
CSeq_entry_Handle GetSeq_entry_Handle(void) const
vector< CSeqdesc::E_Choice > TDescChoices
CSeqdesc_CI & operator++(void)
Move to the next object in iterated sequence.
CSeq_entry_Handle GetSeq_entry_Handle(void) const
bool x_ValidDesc(void) const
const CBioseq_Base_Info & x_GetBaseInfo(void) const
void x_AddChoice(CSeqdesc::E_Choice choice)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
bool IsRef(void) const
Check if variant Ref is selected.
const TRef & GetRef(void) const
Get the variant data.
@ eRepr_ref
reference to another sequence
@ e_MaxChoice
== e_Modelev+1
@ e_Title
a title for this sequence
@ e_not_set
No variant selected.
@ e_Source
source of materials, includes Org-ref