FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Utilities to help scanners. More...
#include <fstream>
#include <string>
#include <list>
Go to the source code of this file.
Classes | |
struct | match |
Store the results of a regex match. More... | |
class | scanner |
Abstract class to provide interface to scanners. More... | |
Functions | |
bool | ReadFileToString (const string &fileName, string &out) |
Utility: read file to string from scanners.h. More... | |
bool | operator== (const match &m1, const match &m2) |
Compare two regex match. More... | |
bool | operator!= (const match &m1, const match &m2) |
Compare two regex match. More... | |
Utilities to help scanners.
Definition in file scanners.hpp.
Compare two regex match.
Definition at line 44 of file scanners.cc.
Compare two regex match.
Definition at line 34 of file scanners.cc.
bool ReadFileToString | ( | const string & | fileName, |
string & | out | ||
) |
Utility: read file to string from scanners.h.
[in] | fileName | Path of file to read |
[out] | out | String created from file |
Definition at line 21 of file scanners.cc.