41 #ifndef OBJECTS_SEQALIGN_STD_SEG_BASE_HPP
42 #define OBJECTS_SEQALIGN_STD_SEG_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
92 typedef vector< CRef< CSeq_id > >
TIds;
93 typedef vector< CRef< CSeq_loc > >
TLoc;
117 bool IsSetDim(
void)
const;
124 bool CanGetDim(
void)
const;
130 void SetDefaultDim(
void);
136 TDim GetDim(
void)
const;
157 bool IsSetIds(
void)
const;
164 bool CanGetIds(
void)
const;
188 bool IsSetLoc(
void)
const;
195 bool CanGetLoc(
void)
const;
219 bool IsSetScores(
void)
const;
226 bool CanGetScores(
void)
const;
229 void ResetScores(
void);
235 const TScores& GetScores(
void)
const;
244 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.
static char UnassignedByte(void)
CSeq_loc(void)
constructors
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 TScores & GetScores(void) const
Get the Scores member data.
vector< CRef< CScore > > TScores
TIds & SetIds(void)
Assign a value to Ids data member.
vector< CRef< CSeq_loc > > TLoc
Tparent::CMemberIndex< E_memberIndex, 5 > TmemberIndex
const TLoc & GetLoc(void) const
Get the Loc member data.
CStd_seg_Base(const CStd_seg_Base &)
const TIds & GetIds(void) const
Get the Ids member data.
bool CanGetScores(void) const
Check if it is safe to call GetScores method.
TDim & SetDim(void)
Assign a value to Dim data member.
bool CanGetDim(void) const
Check if it is safe to call GetDim method.
vector< CRef< CScore > > m_Scores
TLoc & SetLoc(void)
Assign a value to Loc data member.
void ResetDim(void)
Reset Dim data member.
vector< CRef< CSeq_loc > > m_Loc
TScores & SetScores(void)
Assign a value to Scores data member.
bool IsSetDim(void) const
dimensionality Check if a value has been assigned to Dim data member.
bool IsSetIds(void) const
Check if a value has been assigned to Ids data member.
vector< CRef< CSeq_id > > TIds
bool IsSetScores(void) const
Check if a value has been assigned to Scores data member.
TDim GetDim(void) const
Get the Dim member data.
DECLARE_INTERNAL_TYPE_INFO()
bool CanGetIds(void) const
Check if it is safe to call GetIds method.
vector< CRef< CSeq_id > > m_Ids
bool CanGetLoc(void) const
Check if it is safe to call GetLoc method.
void SetDefaultDim(void)
Assign default value to Dim data member.
CStd_seg_Base & operator=(const CStd_seg_Base &)
bool IsSetLoc(void) const
Check if a value has been assigned to Loc data member.
const GenericPointer< typename T::ValueType > T2 value
int GetLoc(const string &acc, const string &pat, CSeq_loc &loc, CScope &scope)
static bool GetIds(const T &d, set< string > &labels, const string name="", bool detect=false, bool found=false)