Documentation for OpenFLUID
2.2.0
|
Class to check wares source code
#include <waresdev/WareSrcChecker.hpp>
Public Types | |
using | ReportingData = openfluid::utils::ReportingData< std::string, std::string > |
using | ChecksList = std::vector< std::string > |
Public Member Functions | |
CPPCLASS_DELETE_FIVE (WareSrcChecker) | |
WareSrcChecker (const std::string &SrcPath, const ChecksList &IgnoredChecks={}) | |
ReportingData | performCheck (bool Pedantic=false) |
Static Public Member Functions | |
static unsigned int | tryDetectWareSrcVersion (const openfluid::tools::FilesystemPath &PathObj) |
using openfluid::waresdev::WareSrcChecker::ChecksList = std::vector<std::string> |
using openfluid::waresdev::WareSrcChecker::ReportingData = openfluid::utils::ReportingData<std::string,std::string> |
openfluid::waresdev::WareSrcChecker::WareSrcChecker | ( | const std::string & | SrcPath, |
const ChecksList & | IgnoredChecks = {} |
||
) |
Constructs a checker
[in] | SrcPath | The path to the sources to check |
[in] | IgnoredChecks | A list of checks to ignore (none by default) |
openfluid::waresdev::WareSrcChecker::CPPCLASS_DELETE_FIVE | ( | WareSrcChecker | ) |
ReportingData openfluid::waresdev::WareSrcChecker::performCheck | ( | bool | Pedantic = false | ) |
Perform the checks
[in] | Pedantic | Enables pedantic supplementary checks |
|
static |
Tries to detect the OpenFLUID compatibility version of the sources. Currently, it tries to distinguish version 2.2.x from versions below.
[in] | PathObj | The path to the sources to detect |
Returned value | OpenFLUID version |
---|---|
202000 | 2.2.0 |
201000 | 2.1.x or below |