A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/gff3__line__reader_8cpp_source.html below:

NCBI C++ ToolKit: src/objtools/import/ftable/gff3_line_reader.cpp Source File

52

mColumnDelimiter(

""

),

67  string

nextLine =

""

;

68  while

(!lineReader.

AtEOF

()) {

69

nextLine = *(++lineReader);

92  "Invalid score value - assuming \".\""

,

97  "Bad phase value - assuming \".\""

,

117

scoreIsValid =

false

;

131

scoreIsValid, score, seqStrand, phase,

attributes

);

156  throw

errorInvalidColumnCount;

162  const

vector<string>&

columns

,

172  const

vector<string>&

columns

,

194  catch

(std::exception&) {

195  throw

errorInvalidSeqStartValue;

200  catch

(std::exception&) {

201  throw

errorInvalidSeqStopValue;

204

vector<string> strandLegals = {

"."

,

"+"

,

"-"

};

205  if

(find(strandLegals.begin(), strandLegals.end(),

columns

[6]) ==

206

strandLegals.end()) {

207  throw

errorInvalidSeqStrandValue;

215  const

vector<string>&

columns

,

225  const

vector<string>&

columns

,

233  string

attributesStr =

columns

[8];

237

vector<string> attributesVec;

241  for

(

auto

singleAttr: attributesVec) {

244  throw

errorInvalidAttributeFormat;

258

std::vector<std::string>& attrVec)

261  string

strCurrAttrib;

262  bool

inQuotes =

false

;

264  for

(

auto

curChar: attrStr) {

266  if

(curChar ==

'\"'

) {

269

strCurrAttrib += curChar;

271  if

(curChar ==

';'

) {

273  if

(!strCurrAttrib.empty())

274

attrVec.push_back(strCurrAttrib);

275

strCurrAttrib.clear();

277  if

(curChar ==

'\"'

) {

280

strCurrAttrib += curChar;

286  if

(!strCurrAttrib.empty()) {

287

attrVec.push_back(strCurrAttrib);

virtual void xReportProgress()

virtual bool xIgnoreLine(const string &) const

CImportMessageHandler & mErrorReporter

unsigned int LineCount() const

unsigned int mRecordCount

void Initialize(const std::string &, const std::string &, const std::string &, TSeqPos, TSeqPos, bool, double, ENa_strand, const std::string &, const std::vector< std::pair< std::string, std::string >> &)

std::vector< std::string > mValidFeatureTypes

void xInitializeType(const std::vector< std::string > &, std::string &)

void xSplitLine(const std::string &, std::vector< std::string > &)

void xInitializeSource(const std::vector< std::string > &, std::string &)

void xSplitAttributeStringBySemicolons(const std::string &, std::vector< std::string > &)

void xInitializeRecord(const std::vector< std::string > &, CFeatImportData &) override

void xInitializeLocation(const std::vector< std::string > &, std::string &, TSeqPos &, TSeqPos &, ENa_strand &)

CGff3LineReader(CImportMessageHandler &)

void xInitializeAttributes(const std::vector< std::string > &, std::vector< std::pair< std::string, std::string >> &)

std::string mColumnDelimiter

virtual bool GetNextRecord(CStreamLineReader &, CFeatImportData &) override

virtual void ReportError(const CImportError &)

static bool GetSupportedSoTerms(vector< string > &)

Simple implementation of ILineReader for i(o)streams.

static bool InitializeFrame(const std::vector< std::string > &, std::string &)

static bool InitializeScore(const std::vector< std::string > &, bool &, double &)

static const struct attribute attributes[]

static const column_t columns[]

unsigned int TSeqPos

Type for sequence locations and lengths.

bool AtEOF(void) const

Indicates (negatively) whether there is any more input.

static int StringToInt(const CTempString str, TStringToNumFlags flags=0, int base=10)

Convert string to int.

static list< string > & Split(const CTempString str, const CTempString delim, list< string > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL)

Split a string using specified delimiters.

static bool EndsWith(const CTempString str, const CTempString end, ECase use_case=eCase)

Check if a string ends with a specified suffix value.

static void TruncateSpacesInPlace(string &str, ETrunc where=eTrunc_Both)

Truncate whitespace in a string (in-place)

static string Join(const TContainer &arr, const CTempString &delim)

Join strings using the specified delimiter.

static bool StartsWith(const CTempString str, const CTempString start, ECase use_case=eCase)

Check if a string starts with a specified prefix value.

static bool SplitInTwo(const CTempString str, const CTempString delim, string &str1, string &str2, TSplitFlags flags=0)

Split a string into two pieces using the specified delimiters.

static string & ToLower(string &str)

Convert string to lower case – string& version.

ENa_strand

strand of nucleic acid

const struct ncbi::grid::netcache::search::fields::KEY key

const GenericPointer< typename T::ValueType > T2 value

const CharType(& source)[N]

Defines classes: CDirEntry, CFile, CDir, CSymLink, CMemoryFile, CFileUtil, CFileLock,...


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4