Sleeping Wombat Common Library  0.50.0
swCommonLibrary
Public Member Functions | Static Public Member Functions | Private Attributes | Friends | List of all members
filesystem::Path Class Reference

Public Member Functions

 Path (const Path &path)=default
 
 Path (Path &&path)=default
 
 Path (const std::wstring &path)
 
template<class Source >
 Path (const Source &source)
 
Pathoperator= (const Path &other)
 
Pathoperator= (Path &&other)
 
Pathoperator/= (const Path &other)
 
bool operator== (const Path &other) const
 
bool operator!= (const Path &other) const
 
bool operator< (const Path &other) const
 
bool operator<= (const Path &other) const
 
bool operator> (const Path &other) const
 
bool operator>= (const Path &other) const
 
std::string String () const
 Porównuje ścieżki. Przed porównaniem ścieżki są normalizowane. Paths must exist on file system.
 
std::wstring WString () const
 
std::string GetFileName () const
 
std::string GetExtension () const
 
Path GetParent () const
 
Path GetDirectory () const
 
void Normalize ()
 Normalizuje ścieżkę. More...
 
bool HasFileName () const
 
bool HasExtension () const
 
bool IsRelative () const
 
bool IsAbsolut () const
 
bool Exists () const
 Checks if file or directory exists on filesystem. More...
 

Static Public Member Functions

static Path WorkingDirectory ()
 

Private Attributes

path_impl m_path
 

Friends

Path operator/ (const Path &path1, const Path &path2)
 

Member Function Documentation

bool filesystem::Path::Exists ( ) const
inline

Checks if file or directory exists on filesystem.

Check if file exists.

void filesystem::Path::Normalize ( )
inline

Normalizuje ścieżkę.

Attention
Obecna implementacja może nie działać do końca.

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