FOSSology  4.4.0
Open Source License Compliance by Open Source Software
OjosDatabaseHandler.cc File Reference

Data base handler for OJO. More...

Include dependency graph for OjosDatabaseHandler.cc:

Go to the source code of this file.

Functions

bool hasEnding (string const &firstString, string const &ending)
 

Detailed Description

Data base handler for OJO.

Definition in file OjosDatabaseHandler.cc.

Function Documentation

◆ hasEnding()

bool hasEnding ( string const &  firstString,
string const &  ending 
)

Helper function to check if a string ends with other string.

Parameters
firstStringThe string to be checked
endingThe ending string
Returns
True if first string has the ending string at end, false otherwise.

Definition at line 128 of file OjosDatabaseHandler.cc.