Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
Loading...
Searching...
No Matches
fishnet::util::PathHelper Class Reference

Static Helper class to get the current Path, find the projectDirectory, obtain an absolute canonical path and replace filenames. More...

#include <PathHelper.h>

Static Public Member Functions

static std::filesystem::path getCurrentPath () noexcept
 
static std::filesystem::path projectDirectory (std::string_view searchPattern) noexcept
 
static std::filesystem::path projectDirectory () noexcept
 
static std::filesystem::path appendToFilename (const std::filesystem::path &path, std::string_view suffix) noexcept
 
static std::filesystem::path changeFilename (const std::filesystem::path &path, std::string_view filename) noexcept
 
static std::filesystem::path absoluteCanonical (const std::filesystem::path &path) noexcept
 

Detailed Description

Static Helper class to get the current Path, find the projectDirectory, obtain an absolute canonical path and replace filenames.

Member Function Documentation

◆ absoluteCanonical()

std::filesystem::path fishnet::util::PathHelper::absoluteCanonical ( const std::filesystem::path &  path)
staticnoexcept

◆ appendToFilename()

std::filesystem::path fishnet::util::PathHelper::appendToFilename ( const std::filesystem::path &  path,
std::string_view  suffix 
)
staticnoexcept

◆ changeFilename()

std::filesystem::path fishnet::util::PathHelper::changeFilename ( const std::filesystem::path &  path,
std::string_view  filename 
)
staticnoexcept

◆ getCurrentPath()

std::filesystem::path fishnet::util::PathHelper::getCurrentPath ( )
staticnoexcept

◆ projectDirectory() [1/2]

std::filesystem::path fishnet::util::PathHelper::projectDirectory ( )
staticnoexcept

◆ projectDirectory() [2/2]

std::filesystem::path fishnet::util::PathHelper::projectDirectory ( std::string_view  searchPattern)
staticnoexcept

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