NTRT Simulator  Version: Master
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
FileHelpers Class Reference

Static Public Member Functions

static std::string getFileString (std::string fileName)
 
static std::string getResourcePath (std::string relPath)
 
static std::string getTestResourcePath (std::string relPath)
 
static double getFinalScore (std::string filePath)
 

Detailed Description

Definition at line 32 of file FileHelpers.h.

Member Function Documentation

double FileHelpers::getFinalScore ( std::string  filePath)
static

Used by integration tests to check what the score was for that test Assuming its being pointed to a scores.csv file generated by evolution

Definition at line 52 of file FileHelpers.cpp.

std::string FileHelpers::getResourcePath ( std::string  relPath)
static

Directs to resources/src

Definition at line 40 of file FileHelpers.cpp.

std::string FileHelpers::getTestResourcePath ( std::string  relPath)
static

Directs paths to resources/test

Definition at line 46 of file FileHelpers.cpp.


The documentation for this class was generated from the following files: