|
| static void | CreateFolder (const std::string &nameFolder) |
| | Creating Folders if not exists.
|
| |
| static std::vector< std::string > | StringSplit (const std::string &stringToSplit, const char character) |
| | Split a std::string in more strings dived by character.
|
| |
| static bool | FileExists (const std::string &nameFile) |
| | Check if a file exists.
|
| |
| static void | GetFilePath (const std::string &nameFilePath, std::string &filePath, std::string &fileName, std::string &fileExtension) |
| | Get the path from a file path.
|
| |
| static void | GetFileList (const std::string &mainDirectory, std::vector< std::string > &out, const FileFilter &filter=Output::FilesAndDirectories, const bool &hiddenElements=false) |
| | Returns a list of files/directories in mainDirectory.
|
| |
| static void | FindPaths (const std::string &mainDirectory, const std::string &objectNameToFind, std::vector< std::string > &paths, const FileFilter &filter=Output::FilesAndDirectories, const bool &hiddenElements=false) |
| | Returns a list of paths containing the file/directory found in mainDirectory.
|
| |
| static void | GetBinaryFileSize (const std::string &nameFile, unsigned int &fileSize, const unsigned int &sizeOfSingleDataToWrite, const unsigned int &startingPosition=0) |
| |
| static void | ReadBinaryFile (const std::string &nameFile, void *dataToRead, const unsigned int &sizeOfSingleDataToWrite, const unsigned int &dataSizeToRead, const unsigned int &startingPosition=0) |
| |
| static bool | ReadBinaryFile (const std::string &nameFile, std::vector< double > &dataToRead, const unsigned int &dataSizeToRead=0, const unsigned int &startingPosition=0) |
| |
| static void | WriteBinaryFile (const std::string &nameFile, const void *dataToWrite, const unsigned int &sizeOfSingleDataToWrite, const unsigned int &dataSizeToWrite, const bool &append=false) |
| |
| static bool | WriteBinaryFile (const std::string &nameFile, const std::vector< double > &dataToWrite, const unsigned int &dataSizeToWrite=0, const unsigned int &dataStartingPositionToWrite=0, const bool &append=false) |
| |
| static void | PrintLine (char character=' ', bool onlyMaster=true) |
| | Print a line of symbol.
|
| |
| static std::ostream & | PrintStars (std::ostream &out) |
| | Print a line of stars * in out.
|
| |
| static std::ostream & | PrintLines (std::ostream &out) |
| | Print a line of lines - in out.
|
| |
| static void | PrintStatusProgram (const std::string &programStep,...) |
| | Used to print to file, or on screen the status of the program.
|
| |
| static void | PrintGenericMessageOnLine (const std::string &message,...) |
| | Used to print only on screen a generic message in the same line.
|
| |
| static void | PrintGenericMessage (const std::string &message, const bool &onlyMaster,...) |
| | Used to print to file, or on screen a generic message.
|
| |
| static void | PrintErrorMessage (const std::string &message, const bool &onlyMaster,...) |
| | Used to print to file, or on screen an error message.
|
| |
| static void | PrintWarningMessage (const std::string &message, const bool &onlyMaster,...) |
| | Used to print to file, or on screen a warning message.
|
| |
| static void | PrintDebugMessage (const std::string &message, const bool &onlyMaster,...) |
| | Used to print to file, or on screen a debug message.
|
| |
| static void | PrintSuccessMessage (const std::string &message, const bool &onlyMaster,...) |
| | Used to print to file, or on screen a success message.
|
| |
| static void | Assert (const bool &logicResult) |
| | Assert for all code, generate exception if something goes wrong.
|
| |
| static void | Assert (const bool &logicResult, const std::string &message,...) |
| | Assert for all code, generate exception if something goes wrong with a message.
|
| |
Class to print variables.