ResetSelection(
void);
156E_Choice Which(
void)
const;
162 voidCheckSelected(E_Choice index)
const;
168NCBI_NORETURN
voidThrowInvalidSelection(E_Choice index)
const;
176 static stringSelectionName(E_Choice index);
196 typedeflist< CRef< CStd_seg > >
TStd;
212 boolIsDendiag(
void)
const;
218 const TDendiag& GetDendiag(
void)
const;
233 boolIsDenseg(
void)
const;
239 const TDenseg& GetDenseg(
void)
const;
259 boolIsStd(
void)
const;
265 const TStd& GetStd(
void)
const;
271 TStd& SetStd(
void);
280 boolIsPacked(
void)
const;
286 const TPacked& GetPacked(
void)
const;
306 boolIsDisc(
void)
const;
312 const TDisc& GetDisc(
void)
const;
318 TDisc& SetDisc(
void);
332 boolIsSpliced(
void)
const;
338 const TSpliced& GetSpliced(
void)
const;
358 boolIsSparse(
void)
const;
364 const TSparse& GetSparse(
void)
const;
387 static const char*
constsm_SelectionNames[];
391NCBI_NS_NCBI::CUnionBuffer<TStd>
m_Std;
398 typedefvector< CRef< CScore > >
TScore;
401 typedeflist< CRef< CObject_id > >
TId;
402 typedeflist< CRef< CUser_object > >
TExt;
427 boolIsSetType(
void)
const;
434 boolCanGetType(
void)
const;
437 voidResetType(
void);
443 TTypeGetType(
void)
const;
455 TType& SetType(
void);
465 boolIsSetDim(
void)
const;
472 boolCanGetDim(
void)
const;
475 voidResetDim(
void);
481 TDimGetDim(
void)
const;
493 TDim& SetDim(
void);
503 boolIsSetScore(
void)
const;
510 boolCanGetScore(
void)
const;
513 voidResetScore(
void);
519 const TScore& GetScore(
void)
const;
525 TScore& SetScore(
void);
534 boolIsSetSegs(
void)
const;
541 boolCanGetSegs(
void)
const;
544 voidResetSegs(
void);
550 const TSegs& GetSegs(
void)
const;
562 TSegs& SetSegs(
void);
573 boolIsSetBounds(
void)
const;
580 boolCanGetBounds(
void)
const;
583 voidResetBounds(
void);
589 const TBounds& GetBounds(
void)
const;
605 boolIsSetId(
void)
const;
612 boolCanGetId(
void)
const;
615 voidResetId(
void);
637 boolIsSetExt(
void)
const;
644 boolCanGetExt(
void)
const;
647 voidResetExt(
void);
653 const TExt& GetExt(
void)
const;
659 TExt& SetExt(
void);
662 virtual voidReset(
void);
677list< CRef< CObject_id > >
m_Id;
678list< CRef< CUser_object > >
m_Ext;
699 if( m_choice != index )
700ThrowInvalidSelection(index);
709DoSelect(index, pool);
716Select(index, reset, 0);
722 returnm_choice == e_Dendiag;
728CheckSelected(e_Dendiag);
742 returnm_choice == e_Denseg;
748 returnm_choice == e_Std;
754CheckSelected(e_Std);
768 returnm_choice == e_Packed;
774 returnm_choice == e_Disc;
780 returnm_choice == e_Spliced;
786 returnm_choice == e_Sparse;
911 return m_Segs.NotEmpty();
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
#define ENUM_METHOD_NAME(EnumName)
const CSeq_id & GetId(const CSeq_loc &loc, CScope *scope)
If all CSeq_ids embedded in CSeq_loc refer to the same CBioseq, returns the first CSeq_id found,...
uint32_t Uint4
4-byte (32-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_SEQALIGN_EXPORT
const TId & GetId(void) const
Get the Id member data.
TId & SetId(void)
Assign a value to Id data member.
TScore & SetScore(void)
Assign a value to Score data member.
TSegs & SetSegs(void)
Assign a value to Segs data member.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
CSeq_align_Base & operator=(const CSeq_align_Base &)
NCBI_NS_NCBI::CUnionBuffer< TStd > m_Std
bool IsSetBounds(void) const
regions of sequence over which align was computed Check if a value has been assigned to Bounds data m...
E_Choice Which(void) const
Which variant is currently selected.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
TStd & SetStd(void)
Select the variant.
TType & SetType(void)
Assign a value to Type data member.
vector< CRef< CScore > > TScore
list< CRef< CStd_seg > > TStd
bool CanGetBounds(void) const
Check if it is safe to call GetBounds method.
bool IsSetId(void) const
alignment id Check if a value has been assigned to Id data member.
bool CanGetType(void) const
Check if it is safe to call GetType method.
E_Choice
Choice variants.
bool IsSetExt(void) const
extra info Check if a value has been assigned to Ext data member.
void ResetSegs(void)
Reset Segs data member.
void ResetDim(void)
Reset Dim data member.
TDim GetDim(void) const
Get the Dim member data.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
list< CRef< CUser_object > > m_Ext
bool IsSetSegs(void) const
Check if a value has been assigned to Segs data member.
NCBI_NS_NCBI::CSerialObject * m_object
bool CanGetScore(void) const
Check if it is safe to call GetScore method.
vector< CRef< CScore > > m_Score
NCBI_NS_NCBI::CUnionBuffer< TDendiag > m_Dendiag
list< CRef< CObject_id > > TId
list< CRef< CUser_object > > TExt
bool IsPacked(void) const
Check if variant Packed is selected.
bool IsSparse(void) const
Check if variant Sparse is selected.
bool IsDendiag(void) const
Check if variant Dendiag is selected.
bool CanGetSegs(void) const
Check if it is safe to call GetSegs method.
list< CRef< CSeq_loc > > TBounds
bool IsSetType(void) const
Check if a value has been assigned to Type data member.
TExt & SetExt(void)
Assign a value to Ext data member.
TDendiag & SetDendiag(void)
Select the variant.
const TStd & GetStd(void) const
Get the variant data.
Tparent::CMemberIndex< E_memberIndex, 8 > TmemberIndex
DECLARE_INTERNAL_TYPE_INFO()
bool CanGetExt(void) const
Check if it is safe to call GetExt method.
bool CanGetDim(void) const
Check if it is safe to call GetDim method.
const TDendiag & GetDendiag(void) const
Get the variant data.
bool IsStd(void) const
Check if variant Std is selected.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
CSeq_align_Base(const CSeq_align_Base &)
bool IsDisc(void) const
Check if variant Disc is selected.
TType GetType(void) const
Get the Type member data.
TDim & SetDim(void)
Assign a value to Dim data member.
bool IsSetDim(void) const
dimensionality Check if a value has been assigned to Dim data member.
const TExt & GetExt(void) const
Get the Ext member data.
C_Segs & operator=(const C_Segs &)
bool IsSetScore(void) const
for whole alignment Check if a value has been assigned to Score data member.
bool IsSpliced(void) const
Check if variant Spliced is selected.
DECLARE_INTERNAL_TYPE_INFO()
const TScore & GetScore(void) const
Get the Score member data.
TBounds & SetBounds(void)
Assign a value to Bounds data member.
list< CRef< CDense_diag > > TDendiag
const TSegs & GetSegs(void) const
Get the Segs member data.
list< CRef< CSeq_loc > > m_Bounds
bool IsDenseg(void) const
Check if variant Denseg is selected.
const TBounds & GetBounds(void) const
Get the Bounds member data.
bool CanGetId(void) const
Check if it is safe to call GetId method.
void ResetType(void)
Reset Type data member.
list< CRef< CObject_id > > m_Id
const GenericPointer< typename T::ValueType > T2 value
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