Sleeping Wombat GUI  0.100
swGUI
Public Member Functions | Static Public Member Functions | Private Attributes | Friends | List of all members
filesystem::Path Class Reference

#include <Path.h>

Public Member Functions

 Path ()
 
 Path (const Path &path)
 
 Path (Path &&path)
 
 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 Compare (const Path &path1, const Path &path2)
 Porównuje ścieżki. Przed porównaniem ścieżki są normalizowane. More...
 
std::string String () const
 
std::string GetFileName () const
 
std::string GetExtension () const
 
Path GetParent () const
 
Path GetDirectory () const
 
void Normalize ()
 Normalizuje ścieżkę. More...
 
bool HasRoot () const
 
bool HasFileName () const
 
bool HasExtension () const
 
bool IsRelative () const
 
bool IsAbsolut () const
 
bool Exists () const
 Checks if file or directory exists on filesystem. More...
 
const experimental::path & GetStdPath () const
 Returns standard library path. Use only if you must. More...
 

Static Public Member Functions

static Path WorkingDirectory ()
 

Private Attributes

experimental::path m_path
 

Friends

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

Constructor & Destructor Documentation

filesystem::Path::Path ( )
inlineexplicit
filesystem::Path::Path ( const Path path)
inline
filesystem::Path::Path ( Path &&  path)
inline
filesystem::Path::Path ( const std::wstring &  path)
inline
template<class Source >
filesystem::Path::Path ( const Source &  source)
inline

Member Function Documentation

bool filesystem::Path::Compare ( const Path path1,
const Path path2 
)
inline

Porównuje ścieżki. Przed porównaniem ścieżki są normalizowane.

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

Checks if file or directory exists on filesystem.

Check if file exists.

Path filesystem::Path::GetDirectory ( ) const
inline
std::string filesystem::Path::GetExtension ( ) const
inline
std::string filesystem::Path::GetFileName ( ) const
inline
Path filesystem::Path::GetParent ( ) const
inline
const experimental::path & filesystem::Path::GetStdPath ( ) const
inline

Returns standard library path. Use only if you must.

bool filesystem::Path::HasExtension ( ) const
inline
bool filesystem::Path::HasFileName ( ) const
inline
bool filesystem::Path::HasRoot ( ) const
inline
bool filesystem::Path::IsAbsolut ( ) const
inline
bool filesystem::Path::IsRelative ( ) const
inline
void filesystem::Path::Normalize ( )
inline

Normalizuje ścieżkę.

Attention
Obecna implementacja może nie działać do końca.
Path & filesystem::Path::operator/= ( const Path other)
inline
Path & filesystem::Path::operator= ( const Path other)
inline
Path & filesystem::Path::operator= ( Path &&  other)
inline
bool filesystem::Path::operator== ( const Path other) const
inline
std::string filesystem::Path::String ( ) const
inline
Path filesystem::Path::WorkingDirectory ( )
inlinestatic

Friends And Related Function Documentation

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

Member Data Documentation

experimental::path filesystem::Path::m_path
private

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