70 if (
info.IsSetField_name() && column_name ==
info.GetField_name() ) {
75 "Column not found: "+
string(column_name));
84 if (
info.IsSetField_id() && column_id ==
info.GetField_id() ) {
89 "Column not found: "+
GetIdName(column_id));
99 if (
info.IsSetField_id() && column_id ==
info.GetField_id() ) {
102 if (
info.IsSetField_name() && column_name ==
info.GetField_name() ) {
107 "Column not found: "+
string(column_name)+
"/"+
GetIdName(column_id));
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
Seq-loc and seq-align mapper exceptions.
static string GetIdName(TColumnId column_id)
const CSeqTable_column & GetColumn(CTempString column_name) const
CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...
static const char * column
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
TErrCode GetErrCode(void) const
Get error code.
#define NCBI_THROW(exception_class, err_code, message)
Generic macro to throw an exception, given the exception class, error code and message string.
virtual const char * GetErrCodeString(void) const
Get error code interpreted as text.
#define ENUM_METHOD_NAME(EnumName)
virtual const char * GetErrCodeString(void) const override
Get error code interpreted as text.
@ eIncompatibleValueType
Data cannot be converted to asked type.
@ eRowNotFound
Requested row is missing.
@ eColumnNotFound
Requested column is missing.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const TColumns & GetColumns(void) const
Get the Columns member data.
EField_id
identification of the column data in the objects described by the table known column data types posit...
vector< CRef< CSeqTable_column > > TColumns