41 #ifndef OBJECTS_SEQALIGN_PACKED_SEG_BASE_HPP
42 #define OBJECTS_SEQALIGN_PACKED_SEG_BASE_HPP
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
94 typedef vector< CRef< CSeq_id > >
TIds;
97 typedef vector< TSeqPos >
TLens;
126 bool IsSetDim(
void)
const;
133 bool CanGetDim(
void)
const;
139 void SetDefaultDim(
void);
145 TDim GetDim(
void)
const;
167 bool IsSetNumseg(
void)
const;
174 bool CanGetNumseg(
void)
const;
177 void ResetNumseg(
void);
205 bool IsSetIds(
void)
const;
212 bool CanGetIds(
void)
const;
237 bool IsSetStarts(
void)
const;
244 bool CanGetStarts(
void)
const;
247 void ResetStarts(
void);
253 const TStarts& GetStarts(
void)
const;
270 bool IsSetPresent(
void)
const;
277 bool CanGetPresent(
void)
const;
280 void ResetPresent(
void);
286 const TPresent& GetPresent(
void)
const;
302 bool IsSetLens(
void)
const;
309 bool CanGetLens(
void)
const;
312 void ResetLens(
void);
318 const TLens& GetLens(
void)
const;
324 TLens& SetLens(
void);
333 bool IsSetStrands(
void)
const;
340 bool CanGetStrands(
void)
const;
343 void ResetStrands(
void);
349 const TStrands& GetStrands(
void)
const;
365 bool IsSetScores(
void)
const;
372 bool CanGetScores(
void)
const;
375 void ResetScores(
void);
381 const TScores& GetScores(
void)
const;
390 virtual void Reset(
void);
void SetScores(objects::CSeq_align &seq_align, objects::CScope &scope, const string &matrix_name="BLOSUM62")
for (multiway) global or partial alignments
Base class for all serializable objects.
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
vector< CRef< CSeq_id > > TIds
TNumseg & SetNumseg(void)
Assign a value to Numseg data member.
vector< TSeqPos > TStarts
vector< CRef< CSeq_id > > m_Ids
vector< ENa_strand > TStrands
DECLARE_INTERNAL_TYPE_INFO()
TPresent & SetPresent(void)
Assign a value to Present data member.
vector< CRef< CScore > > m_Scores
const TStarts & GetStarts(void) const
Get the Starts member data.
bool IsSetNumseg(void) const
number of segments here Check if a value has been assigned to Numseg data member.
TStarts & SetStarts(void)
Assign a value to Starts data member.
vector< CRef< CScore > > TScores
TScores & SetScores(void)
Assign a value to Scores data member.
CPacked_seg_Base & operator=(const CPacked_seg_Base &)
bool IsSetScores(void) const
score for each segment Check if a value has been assigned to Scores data member.
TNumseg GetNumseg(void) const
Get the Numseg member data.
bool CanGetDim(void) const
Check if it is safe to call GetDim method.
Tparent::CMemberIndex< E_memberIndex, 9 > TmemberIndex
void ResetDim(void)
Reset Dim data member.
bool IsSetLens(void) const
length of each segment Check if a value has been assigned to Lens data member.
vector< ENa_strand > m_Strands
bool IsSetStrands(void) const
Check if a value has been assigned to Strands data member.
const TScores & GetScores(void) const
Get the Scores member data.
TIds & SetIds(void)
Assign a value to Ids data member.
bool CanGetScores(void) const
Check if it is safe to call GetScores method.
const TLens & GetLens(void) const
Get the Lens member data.
const TIds & GetIds(void) const
Get the Ids member data.
const TPresent & GetPresent(void) const
Get the Present member data.
bool CanGetStarts(void) const
Check if it is safe to call GetStarts method.
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 TStrands & GetStrands(void) const
Get the Strands member data.
void SetDefaultDim(void)
Assign default value to Dim data member.
bool CanGetIds(void) const
Check if it is safe to call GetIds method.
bool CanGetStrands(void) const
Check if it is safe to call GetStrands method.
bool IsSetIds(void) const
sequences in order Check if a value has been assigned to Ids data member.
vector< TSeqPos > m_Starts
CPacked_seg_Base(const CPacked_seg_Base &)
void ResetNumseg(void)
Reset Numseg data member.
bool IsSetPresent(void) const
Boolean if each sequence present or absent in each segment Check if a value has been assigned to Pres...
TDim GetDim(void) const
Get the Dim member data.
bool IsSetStarts(void) const
start OFFSETS in ids order for whole alignment Check if a value has been assigned to Starts data memb...
TStrands & SetStrands(void)
Assign a value to Strands data member.
bool CanGetPresent(void) const
Check if it is safe to call GetPresent method.
bool CanGetNumseg(void) const
Check if it is safe to call GetNumseg method.
bool CanGetLens(void) const
Check if it is safe to call GetLens method.
TLens & SetLens(void)
Assign a value to Lens data member.
static bool GetIds(const T &d, set< string > &labels, const string name="", bool detect=false, bool found=false)