20 lines
592 B
C++
20 lines
592 B
C++
#ifndef FILE_HELPER_H
|
|
#define FILE_HELPER_H
|
|
|
|
#include <string>
|
|
|
|
namespace Recon
|
|
{
|
|
const std::string DEFAULT_CONFIG_PATH = "/home/UR/ConfigFiles/";
|
|
const std::string DEFAULT_OUTPUT_PATH = "/home/UR/ReconResult/";
|
|
const std::string DEFAULT_OUTPUT_FILENAME = "USCT_Result1219.mat";
|
|
|
|
std::string getPath(const std::string &aFullPath);
|
|
bool endsWithMat(const std::string &aStr);
|
|
bool isDirectory(const std::string &aPath);
|
|
bool exists(const std::string &aPath);
|
|
bool mkdir(const std::string &aPath);
|
|
std::string fixPathSlash(const std::string& aPath);
|
|
}
|
|
|
|
#endif |