HEBI C++ API  3.8.0
hebi::util::file::File Class Reference

#include <file.hpp>

Public Member Functions

 File (const char *path)
 
 File (std::string path)
 
File getParentDirectory () const
 
bool isAbsolute () const
 
void append (std::string file_or_dir)
 
std::string getAbsolutePath () const
 
bool exists () const
 

Static Public Member Functions

static constexpr char getPlatformDelimiter ()
 
static constexpr char getNonPlatformDelimiter ()
 

Static Public Attributes

static constexpr char WinDelimiter = '\\'
 
static constexpr char PosixDelimiter = '/'
 

Constructor & Destructor Documentation

◆ File() [1/2]

hebi::util::file::File::File ( const char *  path)
inline

◆ File() [2/2]

hebi::util::file::File::File ( std::string  path)
inline

Member Function Documentation

◆ getParentDirectory()

File hebi::util::file::File::getParentDirectory ( ) const

◆ isAbsolute()

bool hebi::util::file::File::isAbsolute ( ) const

◆ append()

void hebi::util::file::File::append ( std::string  file_or_dir)

◆ getAbsolutePath()

std::string hebi::util::file::File::getAbsolutePath ( ) const

◆ exists()

bool hebi::util::file::File::exists ( ) const

◆ getPlatformDelimiter()

static constexpr char hebi::util::file::File::getPlatformDelimiter ( )
inlinestatic

◆ getNonPlatformDelimiter()

static constexpr char hebi::util::file::File::getNonPlatformDelimiter ( )
inlinestatic

Member Data Documentation

◆ WinDelimiter

constexpr char hebi::util::file::File::WinDelimiter = '\\'
static

◆ PosixDelimiter

constexpr char hebi::util::file::File::PosixDelimiter = '/'
static

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