41 #ifndef OBJECTS_SEQALIGN_DENSE_DIAG_BASE_HPP
42 #define OBJECTS_SEQALIGN_DENSE_DIAG_BASE_HPP
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
93 typedef vector< CRef< CSeq_id > >
TIds;
122 bool IsSetDim(
void)
const;
129 bool CanGetDim(
void)
const;
135 void SetDefaultDim(
void);
141 TDim GetDim(
void)
const;
163 bool IsSetIds(
void)
const;
170 bool CanGetIds(
void)
const;
195 bool IsSetStarts(
void)
const;
202 bool CanGetStarts(
void)
const;
205 void ResetStarts(
void);
211 const TStarts& GetStarts(
void)
const;
227 bool IsSetLen(
void)
const;
234 bool CanGetLen(
void)
const;
243 TLen GetLen(
void)
const;
264 bool IsSetStrands(
void)
const;
271 bool CanGetStrands(
void)
const;
274 void ResetStrands(
void);
280 const TStrands& GetStrands(
void)
const;
295 bool IsSetScores(
void)
const;
302 bool CanGetScores(
void)
const;
305 void ResetScores(
void);
311 const TScores& GetScores(
void)
const;
320 virtual void Reset(
void);
void SetScores(objects::CSeq_align &seq_align, objects::CScope &scope, const string &matrix_name="BLOSUM62")
Base class for all serializable objects.
unsigned int TSeqPos
Type for sequence locations and lengths.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
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
bool CanGetScores(void) const
Check if it is safe to call GetScores method.
bool IsSetStarts(void) const
start OFFSETS in ids order Check if a value has been assigned to Starts data member.
bool IsSetDim(void) const
dimensionality Check if a value has been assigned to Dim data member.
void ResetLen(void)
Reset Len data member.
const TScores & GetScores(void) const
Get the Scores member data.
TScores & SetScores(void)
Assign a value to Scores data member.
TLen & SetLen(void)
Assign a value to Len data member.
bool CanGetStarts(void) const
Check if it is safe to call GetStarts method.
bool IsSetIds(void) const
sequences in order Check if a value has been assigned to Ids data member.
TStrands & SetStrands(void)
Assign a value to Strands data member.
bool CanGetIds(void) const
Check if it is safe to call GetIds method.
TLen GetLen(void) const
Get the Len member data.
Tparent::CMemberIndex< E_memberIndex, 7 > TmemberIndex
DECLARE_INTERNAL_TYPE_INFO()
vector< TSeqPos > TStarts
vector< CRef< CSeq_id > > TIds
TDim GetDim(void) const
Get the Dim member data.
const TIds & GetIds(void) const
Get the Ids member data.
TStarts & SetStarts(void)
Assign a value to Starts data member.
void ResetDim(void)
Reset Dim data member.
bool CanGetDim(void) const
Check if it is safe to call GetDim method.
vector< CRef< CSeq_id > > m_Ids
bool IsSetStrands(void) const
Check if a value has been assigned to Strands data member.
vector< ENa_strand > TStrands
vector< CRef< CScore > > TScores
bool CanGetLen(void) const
Check if it is safe to call GetLen method.
const TStrands & GetStrands(void) const
Get the Strands member data.
void SetDefaultDim(void)
Assign default value to Dim data member.
const TStarts & GetStarts(void) const
Get the Starts member data.
bool CanGetStrands(void) const
Check if it is safe to call GetStrands method.
TDim & SetDim(void)
Assign a value to Dim data member.
vector< TSeqPos > m_Starts
vector< CRef< CScore > > m_Scores
vector< ENa_strand > m_Strands
bool IsSetLen(void) const
len of aligned segments Check if a value has been assigned to Len data member.
bool IsSetScores(void) const
Check if a value has been assigned to Scores data member.
CDense_diag_Base & operator=(const CDense_diag_Base &)
CDense_diag_Base(const CDense_diag_Base &)
TIds & SetIds(void)
Assign a value to Ids data member.
static bool GetIds(const T &d, set< string > &labels, const string name="", bool detect=false, bool found=false)