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/format__guess_8hpp_source.html below:

NCBI C++ ToolKit: include/util/format_guess.hpp Source File

1 #ifndef FORMATGUESS__HPP 2 #define FORMATGUESS__HPP 41 class

CFormatGuessHints;

71

eFlatFileSequence = 13,

72

eFiveColFeatureTable = 14,

119

ePeptideMapping = 60,

126

eFlatFileGenbank = 65,

128

eFlatFileUniProt = 67,

185  void

RemoveFormat(TFormat fmt);

190  bool

IsEmpty(

void

)

const

;

192  bool

IsPreferred(TFormat fmt)

const

;

194  bool

IsDisabled(TFormat fmt)

const

;

197  typedef

bitset<CFormatGuess::eFormat_max>

THints

;

271  bool

EnsureTestBuffer();

273  bool

EnsureSplitLines();

277  bool

TestFormatRepeatMasker(EMode);

278  bool

TestFormatPhrapAce(EMode);

279  bool

TestFormatGtf(EMode);

280  bool

TestFormatGvf(EMode);

281  bool

TestFormatGff3(EMode);

282  bool

TestFormatGff2(EMode);

283  bool

TestFormatGlimmer3(EMode);

284  bool

TestFormatAgp(EMode);

285  bool

TestFormatNewick(EMode);

286  bool

TestFormatXml(EMode);

287  bool

TestFormatAlignment(EMode);

288  bool

TestFormatCLUSTAL(

void

);

289  bool

TestFormatBinaryAsn(EMode);

290  bool

TestFormatDistanceMatrix(EMode);

291  bool

TestFormatTaxplot(EMode);

292  bool

TestFormatFlatFileSequence(EMode);

293  bool

TestFormatFiveColFeatureTable(EMode);

294  bool

TestFormatTable(EMode);

295  bool

TestFormatFasta(EMode);

296  bool

TestFormatTextAsn(EMode);

297  bool

TestFormatSnpMarkers(EMode);

298  bool

TestFormatBed(EMode);

299  bool

TestFormatBed15(EMode);

300  bool

TestFormatWiggle(EMode);

301  bool

TestFormatHgvs(EMode);

302  bool

TestFormatZip(EMode);

303  bool

TestFormatGZip(EMode);

304  bool

TestFormatZstd(EMode);

305  bool

TestFormatBZip2(EMode);

306  bool

TestFormatLzo(EMode);

307  bool

TestFormatSra(EMode);

308  bool

TestFormatBam(EMode);

309  bool

TestFormatVcf(EMode);

310  bool

TestFormatAugustus(EMode);

311  bool

TestFormatJson(EMode);

312  bool

TestFormatPsl(EMode);

314  bool

TestFormatFlatFileGenbank(EMode);

315  bool

TestFormatFlatFileEna(EMode);

316  bool

TestFormatFlatFileUniProt(EMode);

318  bool

IsInputRepeatMaskerWithoutHeader();

319  bool

IsInputRepeatMaskerWithHeader();

321  static bool

IsLineFlatFileSequence(

const std::string

&);

333  static bool

IsAsnComment(

const

vector<string>&);

335  static bool

IsLinePsl(

const std::string

&,

bool

ignoreFirstColumn);

344  bool

x_TestTableDelimiter(

const string

& delims);

347  bool

x_CheckJsonStart(

const string

& testString)

const

;

350  void

x_StripJsonStrings(

string

& testString)

const

;

356  void

x_FindJsonStringLimits(

const string

& testString, list<size_t>&

limits

)

const

;

359  bool

x_CheckStripJsonPunctuation(

string

& testString)

const

;

363  size_t

x_StripJsonPunctuation(

string

& testString)

const

;

366  void

x_StripJsonKeywords(

string

& testString)

const

;

368  bool

x_CheckStripJsonNumbers(

string

& testString)

const

;

370  bool

x_IsTruncatedJsonNumber(

const string

& testString)

const

;

373  bool

x_IsTruncatedJsonKeyword(

const string

& testString)

const

;

375  bool

x_IsNumber(

const string

& testString)

const

;

378  bool

x_IsBlankOrNumbers(

const string

& testString)

const

;

380  bool

x_TryProcessCLUSTALSeqData(

const string

& line,

string

&

id

,

size_t

& seg_length)

const

;

381  bool

x_LooksLikeCLUSTALConservedInfo(

const string

& line)

const

;

414

m_Preferred.reset(fmt);

422

m_Disabled = ~m_Preferred;

428

m_Disabled.reset(fmt);

429

m_Preferred.reset(fmt);

442  return

m_Preferred.count() == 0 && m_Disabled.count() == 0;

447  return

m_Preferred.test(fmt);

452  return

m_Disabled.test(fmt);

Hints for guessing formats.

CFormatHints & AddDisabledFormat(TFormat fmt)

Mark the format as disabled.

void RemoveFormat(TFormat fmt)

Remove format hint.

bitset< CFormatGuess::eFormat_max > THints

bool IsEmpty(void) const

Check if there are any hints are set at all.

CFormatHints & Reset(void)

Remove all hints.

CFormatGuess::EFormat TFormat

bool IsPreferred(TFormat fmt) const

Check if the format is listed as preferred.

CFormatHints & AddPreferredFormat(TFormat fmt)

Mark the format as preferred.

CFormatHints & DisableAllNonpreferred(void)

Disable all formats not marked as preferred.

bool IsDisabled(TFormat fmt) const

Check if the format is listed as disabled.

Class implements different ad-hoc unreliable file format identifications.

unsigned int m_iStatsCountBraces

CFormatHints & GetFormatHints(void)

Get format hints.

unsigned int m_iStatsCountData

size_t x_FindNextJsonStringStop(const string &input, const size_t from_pos) const

bool IsEnabled(EFormat format) const

Check whether testing is enabled for given format.

EFormat

The formats are checked in the same order as declared here.

unsigned int m_iStatsCountAaChars

streamsize m_iTestBufferSize

unsigned int m_iStatsCountAlNumChars

std::list< std::string > m_TestLines

streamsize m_iTestDataSize

unsigned int m_iStatsCountDnaChars

@ eThrowOnBadSource

Throw an exception if the data source (stream, file) can't be read.

@ eST_Lax

Implement historic behavior, risking false positives.

@ eST_Default

Be relatively strict, but still allow for typos.

Include a standard set of the NCBI C++ Toolkit most basic headers.

static const char * str(char *buf, int n)

static const TDS_WORD limits[]

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

IO_PREFIX::istream CNcbiIstream

Portable alias for istream.

The blob sat and sat key Both must be positive integers</td > n< td > Non empty string The interpretation of the blob id depends on a processor Cassandra n processor expects the following format

static bool IsSupportedFormat(CFormatGuess::EFormat format)

NCBI_XUTIL_EXPORT

Parameter to control printing diagnostic message about conversion of static array data from a differe...


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