Go to the SVN repository for this file.
44mLineNo(lineData.mLine),
45mColumnSeparator(
""),
50 if(
flags& CBedReader::EBedFlags::fAddDefaultColumns) {
69 boolsplitSuccessful =
false;
74 if(
mData.size() > 2) {
75splitSuccessful =
true;
82 if(!splitSuccessful) {
85 if(
mData.size() > 2) {
86splitSuccessful =
true;
89 if(!splitSuccessful) {
93 "Invalid data line: Unable to split data line into data columns");
112 if(
mData.size() < 3) {
116 "Invalid data line: Insufficient column count.");
124 catch(std::exception&) {
128 "Invalid data line: Invalid \"SeqStart\" (column 2) value.");
136 catch(std::exception&) {
140 "Invalid data line: Invalid \"SeqStop\" (column 3) value.");
150 autocolumnCount =
mData.size();
NStr::TSplitFlags mColumnSplitFlags
const string & operator[](size_t) const
void xCleanColumnValues()
void xAddDefaultColumns()
CBedColumnData(const CReaderBase::TReaderLine &, int flags=0)
void xSplitColumns(const string &)
The NCBI C++ standard methods for dealing with std::string.
static const char * column
@ eDiag_Error
Error message.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
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 void TruncateSpacesInPlace(string &str, ETrunc where=eTrunc_Both)
Truncate whitespace in a string (in-place)
static string & Replace(const string &src, const string &search, const string &replace, string &dst, SIZE_TYPE start_pos=0, SIZE_TYPE max_replace=0, SIZE_TYPE *num_replace=0)
Replace occurrences of a substring within a string.
static bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)
Case-insensitive equality of a substring with another string.
@ fSplit_MergeDelimiters
Merge adjacent delimiters.
constexpr bool empty(list< Ts... >) noexcept
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