SPH
Classes | Functions
Path.h File Reference

Object representing a path on a filesystem, similar to std::filesystem::path in c++17. More...

#include "common/Assert.h"
#include <unistd.h>

Go to the source code of this file.

Classes

class  Path
 Object representing a path on a filesystem. More...
 

Functions

Path operator""_path (const char *nativePath, const std::size_t size)
 

Detailed Description

Object representing a path on a filesystem, similar to std::filesystem::path in c++17.

Author
Pavel Sevecek (sevecek at sirrah.troja.mff.cuni.cz)
Date
2016-2021

Definition in file Path.h.

Function Documentation

◆ operator""_path()

Path operator""_path ( const char *  nativePath,
const std::size_t  size 
)

Useful literal returning path from given string.

Given path cannot be empty.

Definition at line 236 of file Path.cpp.