|
Tinman
1.0
|
#include <parser.h>
Public Types | |
| typedef std::vector< std::string > | Match |
| typedef std::vector< Match > | Results |
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_ |
| typedef std::vector<std::string> Parser::Match |
| typedef std::vector<Match> Parser::Results |
| Parser::Parser | ( | ) |
|
virtual |
|
private |
| Parser::Results Parser::get_results | ( | ) |
| void Parser::inject | ( | std::string | pattern | ) |
| void Parser::open | ( | std::string | file | ) |
|
private |
|
private |
1.8.9.1