64 if ( !strands.empty() &&
65 strands.size() != numrows) {
67 "strands.size inconsistent with dim");
86 "Negative offset greater than seq position");
95 if (row < 0 || row >=
GetDim()) {
97 "CDense_diag::GetSeqStrand():"
98 " Invalid row number");
103 "CDense_diag::GetSeqStrand():"
104 " Strand doesn't exist for this row.");
115 "Invalid row number in CreateRowSeq_interval(): " +
User-defined methods of the data storage class.
void OffsetRow(TDim row, TSignedSeqPos offset)
Offset row's coords.
ENa_strand GetSeqStrand(TDim row) const
TDim CheckNumRows(void) const
Validators.
CRef< CSeq_interval > CreateRowSeq_interval(TDim row) const
int TSignedSeqPos
Type for signed sequence position.
#define NCBI_THROW(exception_class, err_code, message)
Generic macro to throw an exception, given the exception class, error code and message string.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static string IntToString(int value, TNumToStringFlags flags=0, int base=10)
Convert int to string.
TLen GetLen(void) const
Get the Len member data.
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.
bool IsSetStrands(void) const
Check if a value has been assigned to Strands data member.
vector< ENa_strand > TStrands
const TStrands & GetStrands(void) const
Get the Strands member data.
const TStarts & GetStarts(void) const
Get the Starts member data.
bool CanGetStrands(void) const
Check if it is safe to call GetStrands method.
void SetTo(TTo value)
Assign a value to To data member.
ENa_strand
strand of nucleic acid
void SetId(TId &value)
Assign a value to Id data member.
void SetFrom(TFrom value)
Assign a value to From data member.
void SetStrand(TStrand value)
Assign a value to Strand data member.
const struct ncbi::grid::netcache::search::fields::SIZE size