52 _ASSERT(annot.x_GetInfo().GetInfo(index).IsAlign());
67 if (
info.IsRemoved() ) {
69 "CSeq_align_Handle: removed");
71 return info.GetAlign();
91 processor.
run(
new TCommand(*
this));
99 processor.
run(
new TCommand(*
this, new_obj));
bool IsRemoved(void) const
CMDReturn< CMD >::TReturn run(CMD *cmd)
Base class for all object manager exceptions.
void x_ClearAnnotCache(void)
void Remove(TAnnotIndex index)
const CAnnotObject_Info & GetInfo(TAnnotIndex index) const
void Update(TAnnotIndex index)
#define NCBI_THROW(exception_class, err_code, message)
Generic macro to throw an exception, given the exception class, error code and message string.
CSeq_annot_Info & x_GetInfo(void) const
void Update(void) const
Update index after manual modification of the object.
void Remove(void) const
Remove the Seq-align from Seq-annot.
CScope_Impl & x_GetScopeImpl(void) const
CSeq_annot_Handle m_Annot
void Replace(const CSeq_align &new_obj) const
Replace the Seq-align with new Seq-align object.
void x_RealRemove(void) const
Remove the Seq-align from Seq-annot.
CConstRef< CSeq_align > GetSeq_align(void) const
Get const reference to current seq-align.
const CSeq_align & x_GetSeq_align(void) const
CSeq_annot_EditHandle GetEditHandle(void) const
Get 'edit' version of handle.
const CSeq_annot_Info & x_GetInfo(void) const
bool IsRemoved(void) const
Return true if this Seq-align was removed already.
void x_RealReplace(const CSeq_align &new_obj) const
Replace the Seq-align with new Seq-align object.
const CSeq_annot_Handle & GetAnnot(void) const
Get handle to the seq-annot.
CConstRef< C > ConstRef(const C *object)
Template function for conversion of const object pointer to CConstRef.
#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.