MolSim
Loading...
Searching...
No Matches
Namespaces | Functions
PathUtils.h File Reference

Platform-independent utility functions for working with input test files. More...

#include <algorithm>
#include <cstdlib>
#include <limits.h>
#include <string>
#include <unistd.h>

Go to the source code of this file.

Namespaces

namespace  PathUtils
 Namespace defining utility functions for working with file paths.
 

Functions

static bool PathUtils::isXmlFile (const std::string &filename)
 Checks if a file is an XML file by verifying its extension in a case-insensitive way.
 
static std::string PathUtils::getTargetPath (const std::string &fullPath, const std::string &targetDir)
 Helper method to get the absolute path of a file or directory contained within a given path.
 
static bool PathUtils::setupFileTests (std::string &targetPath, std::string &skipReason)
 Checks if the test file directory can be found.
 

Detailed Description

Platform-independent utility functions for working with input test files.

Date
2024-11-29