NCBI C++ ToolKit
|
Search Toolkit Book for CAutoSqlStandardFields
#include "bed_autosql_standard.hpp"
(Private to src/objtools/readers
.)
Public Member Functions | |
CAutoSqlStandardFields () | |
bool | SetLocation (const CBedColumnData &, int bedFlags, CSeq_feat &, CReaderMessageHandler &) const |
bool | SetTitle (const CBedColumnData &, CSeq_feat &, CReaderMessageHandler &) const |
bool | SetRegion (const CBedColumnData &columnData, CSeq_feat &feat, CReaderMessageHandler &messageHandler) const |
bool | SetDisplayData (const CBedColumnData &columnData, int bedFlags, CSeq_feat &feat, CReaderMessageHandler &messageHandler) const |
bool | ProcessTableRow (size_t, const string &, const string &) |
bool | Validate (CReaderMessageHandler &) const |
size_t | NumFields () const |
Private Member Functions | |
bool | ContainsInfo () const |
Private Attributes | |
int | mColChrom |
int | mColSeqStart |
int | mColSeqStop |
int | mColStrand |
int | mColName |
int | mColScore |
size_t | mNumFields |
Definition at line 44 of file bed_autosql_standard.hpp.
CAutoSqlStandardFields::CAutoSqlStandardFields | ( | ) |
Definition at line 47 of file bed_autosql_standard.cpp.
|
inlineprivate |
Definition at line 97 of file bed_autosql_standard.hpp.
References mColChrom, mColName, mColScore, mColSeqStart, mColSeqStop, and mColStrand.
|
inline |
Definition at line 86 of file bed_autosql_standard.hpp.
References mNumFields.
Referenced by CBedAutoSql::Load().
bool CAutoSqlStandardFields::ProcessTableRow | ( | size_t | colIndex, |
const string & | colName, | ||
const string & | colFormat | ||
) |
Definition at line 55 of file bed_autosql_standard.cpp.
References mColChrom, mColName, mColScore, mColSeqStart, mColSeqStop, mColStrand, and mNumFields.
Referenced by CBedAutoSql::xProcessLine().
bool CAutoSqlStandardFields::SetDisplayData | ( | const CBedColumnData & | columnData, |
int | bedFlags, | ||
CSeq_feat & | feat, | ||
CReaderMessageHandler & | messageHandler | ||
) | const |
Definition at line 190 of file bed_autosql_standard.cpp.
References NStr::fAllowTrailingSymbols, NStr::fConvErr_NoThrow, mColScore, Ref(), CSeq_feat_Base::SetExts(), and NStr::StringToInt().
bool CAutoSqlStandardFields::SetLocation | ( | const CBedColumnData & | columnData, |
int | bedFlags, | ||
CSeq_feat & | feat, | ||
CReaderMessageHandler & | messageHandler | ||
) | const |
Definition at line 92 of file bed_autosql_standard.cpp.
References CReadUtil::AsSeqId(), eDiag_Error, eDiag_Warning, eNa_strand_minus, eNa_strand_plus, location, and NStr::StringToUInt().
bool CAutoSqlStandardFields::SetRegion | ( | const CBedColumnData & | columnData, |
CSeq_feat & | feat, | ||
CReaderMessageHandler & | messageHandler | ||
) | const |
Definition at line 170 of file bed_autosql_standard.cpp.
References mColChrom, mColName, and CSeq_feat_Base::SetData().
bool CAutoSqlStandardFields::SetTitle | ( | const CBedColumnData & | columnData, |
CSeq_feat & | feat, | ||
CReaderMessageHandler & | messageHandler | ||
) | const |
Definition at line 155 of file bed_autosql_standard.cpp.
bool CAutoSqlStandardFields::Validate | ( | CReaderMessageHandler & | messageHandler | ) | const |
Definition at line 212 of file bed_autosql_standard.cpp.
References eDiag_Error, and fatal().
|
private |
Definition at line 89 of file bed_autosql_standard.hpp.
Referenced by ContainsInfo(), ProcessTableRow(), and SetRegion().
|
private |
Definition at line 93 of file bed_autosql_standard.hpp.
Referenced by ContainsInfo(), ProcessTableRow(), and SetRegion().
|
private |
Definition at line 94 of file bed_autosql_standard.hpp.
Referenced by ContainsInfo(), ProcessTableRow(), and SetDisplayData().
|
private |
Definition at line 90 of file bed_autosql_standard.hpp.
Referenced by ContainsInfo(), and ProcessTableRow().
|
private |
Definition at line 91 of file bed_autosql_standard.hpp.
Referenced by ContainsInfo(), and ProcessTableRow().
|
private |
Definition at line 92 of file bed_autosql_standard.hpp.
Referenced by ContainsInfo(), and ProcessTableRow().
|
private |
Definition at line 95 of file bed_autosql_standard.hpp.
Referenced by NumFields(), and ProcessTableRow().