15 Match::Match(
string matchName,
string type,
unsigned startPosition,
unsigned length)
16 : matchName(matchName),type(type), startPosition(startPosition), length(length) {}
27 Match::Match(
string matchName,
int percentage,
string licenseFullName,
28 string textUrl,
unsigned startPosition,
unsigned length)
29 : matchName(matchName), percentage(percentage),
30 licenseFullName(licenseFullName), textUrl(textUrl),
31 startPosition(startPosition), length(length) {}
38 : matchName(matchName) {}
unsigned getStartPosition() const
get the start byte of the matched text
const string getMatchName() const
get the match name
const string getType() const
get the match type
Match(string matchName, string type, unsigned startPosition, unsigned length)
constructor for match class intended to store copyright/holder information
const string getLicenseFullName() const
get the license full name
int getPercentage() const
get the percent match
const string getTextUrl() const
get the reference text URL
unsigned getLength() const
get the match text length