NCBI C++ ToolKit
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CBedColumnData Class Reference

Search Toolkit Book for CBedColumnData

#include "bed_column_data.hpp"
(Private to src/objtools/readers.)

+ Collaboration diagram for CBedColumnData:

Public Member Functions

 CBedColumnData (const CReaderBase::TReaderLine &, int flags=0)
 
const stringoperator[] (size_t) const
 
unsigned int LineNo () const
 
size_t ColumnCount () const
 

Protected Member Functions

void xSplitColumns (const string &)
 
void xCleanColumnValues ()
 
void xAddDefaultColumns ()
 

Protected Attributes

vector< stringmData
 
unsigned int mLineNo
 
string mColumnSeparator
 
NStr::TSplitFlags mColumnSplitFlags
 

Detailed Description

Definition at line 42 of file bed_column_data.hpp.

Constructor & Destructor Documentation

◆ CBedColumnData()

CBedColumnData::CBedColumnData ( const CReaderBase::TReaderLine lineData,
int  flags = 0 
)

Definition at line 40 of file bed_column_data.cpp.

References flags, xAddDefaultColumns(), xCleanColumnValues(), and xSplitColumns().

Member Function Documentation

◆ ColumnCount()

size_t CBedColumnData::ColumnCount ( ) const
inline

◆ LineNo()

unsigned int CBedColumnData::LineNo ( ) const
inline

◆ operator[]()

const string & CBedColumnData::operator[] ( size_t  index) const

Definition at line 57 of file bed_column_data.cpp.

◆ xAddDefaultColumns()

void CBedColumnData::xAddDefaultColumns ( )
protected

Definition at line 147 of file bed_column_data.cpp.

References ctll::empty(), and mData.

Referenced by CBedColumnData().

◆ xCleanColumnValues()

void CBedColumnData::xCleanColumnValues ( )
protected

Definition at line 103 of file bed_column_data.cpp.

References eDiag_Error, NStr::EqualNocase(), mData, and NStr::Replace().

Referenced by CBedColumnData().

◆ xSplitColumns()

void CBedColumnData::xSplitColumns ( const string line)
protected

Member Data Documentation

◆ mColumnSeparator

string CBedColumnData::mColumnSeparator
protected

Definition at line 70 of file bed_column_data.hpp.

Referenced by xSplitColumns().

◆ mColumnSplitFlags

NStr::TSplitFlags CBedColumnData::mColumnSplitFlags
protected

Definition at line 71 of file bed_column_data.hpp.

Referenced by xSplitColumns().

◆ mData

vector<string> CBedColumnData::mData
protected

◆ mLineNo

unsigned int CBedColumnData::mLineNo
protected

Definition at line 68 of file bed_column_data.hpp.

Referenced by LineNo().


The documentation for this class was generated from the following files:
Modified on Wed May 15 15:09:50 2024 by modify_doxy.py rev. 669887