FOSSology  4.4.0
Open Source License Compliance by Open Source Software
ojomatch Struct Reference

Store the results of a regex match. More...

#include <ojomatch.hpp>

Collaboration diagram for ojomatch:
Collaboration graph

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
 

Detailed Description

Store the results of a regex match.

Definition at line 16 of file ojomatch.hpp.

Constructor & Destructor Documentation

◆ ojomatch() [1/2]

ojomatch::ojomatch ( const long int  s,
const long int  e,
const long int  l,
const std::string  c 
)
inline

Constructor for ojomatch structure

Parameters
sStart of match
eEnd of match
lLength of match
cContent of match

Definition at line 42 of file ojomatch.hpp.

◆ ojomatch() [2/2]

ojomatch::ojomatch ( )
inline

Default constructor for ojomatch structure

Definition at line 51 of file ojomatch.hpp.

Member Data Documentation

◆ end

long int ojomatch::end

End position of match

Definition at line 28 of file ojomatch.hpp.

◆ len

long int ojomatch::len

Length of match

Definition at line 28 of file ojomatch.hpp.

◆ license_fk

long int ojomatch::license_fk

License ref of the match if found

Definition at line 28 of file ojomatch.hpp.

◆ start

long int ojomatch::start

Start position of match

Definition at line 28 of file ojomatch.hpp.


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