Loading...
Searching...
No Matches
gamspath.h
55 GAMSPath(const std::filesystem::path & dir, const std::string &file) : std::filesystem::path(dir / file){ }
GAMSPath operator/(const GAMSPath &append)
bool rename(const char *newFileName)
GAMSPath suffix(const std::string &suffix) const
void pack()
Normalizes the Path to make it comparable by converting it to it's shortest absolute representation.
GAMSPath tempDir(const std::string &tempPath=std::string())
GAMSPath & operator+=(const std::string &append)
void setSuffix(const char *suffix)
bool exists() const
const char * c_str() const
GAMSPath operator+(const std::string &append)
GAMSPath(const std::filesystem::path &dir, const std::string &file)
Definition: gamspath.h:55
bool rename(const std::string &newFileName)
static bool exists(const char *file)
GAMSPath & operator<<(const std::string &append)
GAMSPath suffix(const char *suffix) const
GAMSPath & operator=(const GAMSPath &other)
bool remove()
GAMSPath tempFile(const std::string &tempName="XXXXXX.tmp")
static bool exists(const std::string &file)
bool rmDirRecurse()
GAMSPath up() const
void setSuffix(const std::string &suffix)