Tinman  1.0
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
Parser Class Reference

#include <parser.h>

Public Types

typedef std::vector< std::string > Match
 
typedef std::vector< MatchResults
 

Public Member Functions

 Parser ()
 
virtual ~Parser ()
 
void open (std::string file)
 
void inject (std::string pattern)
 
Results get_results ()
 

Private Member Functions

void close ()
 

Private Attributes

std::ifstream file_
 
std::regex pattern_
 

Member Typedef Documentation

typedef std::vector<std::string> Parser::Match
typedef std::vector<Match> Parser::Results

Constructor & Destructor Documentation

Parser::Parser ( )
Parser::~Parser ( )
virtual

Member Function Documentation

void Parser::close ( )
private
Parser::Results Parser::get_results ( )
void Parser::inject ( std::string  pattern)
void Parser::open ( std::string  file)

Member Data Documentation

std::ifstream Parser::file_
private
std::regex Parser::pattern_
private

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