librostlab-blast  1.0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
rostlab::blast::position Class Reference

Abstract a position. More...

#include <blast-parser-position.h>

Public Member Functions

 position ()
 Construct a position. More...
 
void initialize (std::string *fn)
 Initialization. More...
 
Line and Column related manipulators
void lines (int count=1)
 (line related) Advance to the COUNT next lines. More...
 
void columns (int count=1)
 (column related) Advance to the COUNT next columns. More...
 

Public Attributes

std::string * filename
 File name to which this position refers. More...
 
unsigned int line
 Current line number. More...
 
unsigned int column
 Current column number. More...
 

Detailed Description

Abstract a position.

Definition at line 53 of file blast-parser-position.h.

Constructor & Destructor Documentation

rostlab::blast::position::position ( )
inline

Construct a position.

Definition at line 58 of file blast-parser-position.h.

Member Function Documentation

void rostlab::blast::position::columns ( int  count = 1)
inline

(column related) Advance to the COUNT next columns.

Definition at line 83 of file blast-parser-position.h.

void rostlab::blast::position::initialize ( std::string *  fn)
inline

Initialization.

Definition at line 65 of file blast-parser-position.h.

void rostlab::blast::position::lines ( int  count = 1)
inline

(line related) Advance to the COUNT next lines.

Definition at line 76 of file blast-parser-position.h.

Member Data Documentation

unsigned int rostlab::blast::position::column

Current column number.

Definition at line 95 of file blast-parser-position.h.

std::string* rostlab::blast::position::filename

File name to which this position refers.

Definition at line 91 of file blast-parser-position.h.

unsigned int rostlab::blast::position::line

Current line number.

Definition at line 93 of file blast-parser-position.h.


The documentation for this class was generated from the following file: