![]() |
FOSSology
4.5.1
Open Source License Compliance by Open Source Software
|
Store the results of a regex match. More...
#include <ojomatch.hpp>

Public Member Functions | |
| ojomatch (const long int s, const long int e, const long int l, const std::string c) | |
| ojomatch () | |
| bool | operator== (const std::string &matchcontent) const |
| bool | operator== (const ojomatch &matchcontent) const |
Public Attributes | |
| long int | start |
| long int | end |
| long int | len |
| long int | license_fk |
| std::string | content |
Store the results of a regex match.
Definition at line 16 of file ojomatch.hpp.
|
inline |
Constructor for ojomatch structure
| s | Start of match |
| e | End of match |
| l | Length of match |
| c | Content of match |
Definition at line 42 of file ojomatch.hpp.
|
inline |
Default constructor for ojomatch structure
Definition at line 51 of file ojomatch.hpp.
| long int ojomatch::end |
End position of match
Definition at line 28 of file ojomatch.hpp.
| long int ojomatch::len |
Length of match
Definition at line 28 of file ojomatch.hpp.
| long int ojomatch::license_fk |
License ref of the match if found
Definition at line 28 of file ojomatch.hpp.
| long int ojomatch::start |
Start position of match
Definition at line 28 of file ojomatch.hpp.