top | up | prev | next

Path Class

Definition at line 26 of Path.hpp

Member Functions

std::string ChangeExtension(const std::string& path, const std::string& extension) static
std::string Combine(const std::string& path1, const std::string& path2) static
std::string GetDirectoryName(const std::string& path) static
std::string GetDrive(const std::string& path) static
std::string GetExtension(const std::string& path) static
std::string GetFileName(const std::string& path) static
std::string GetFileNameWithoutExtension(const std::string& path) static
bool HasExtension(const std::string& path) static
bool IsAbsolute(const std::string& path) static
bool IsRelative(const std::string& path) static
std::string MakeCanonical(const std::string& path) static

Member Function Details

ChangeExtension Member Function

std::string soulng::util::Path::ChangeExtension(const std::string& path, const std::string& extension) static

Definition at line 175 of Path.cpp
Declaration at line 30 of Path.hpp


Combine Member Function

std::string soulng::util::Path::Combine(const std::string& path1, const std::string& path2) static

Definition at line 343 of Path.cpp
Declaration at line 37 of Path.hpp

Calls: soulng::util::Path::IsAbsolute


GetDirectoryName Member Function

std::string soulng::util::Path::GetDirectoryName(const std::string& path) static

Definition at line 319 of Path.cpp
Declaration at line 36 of Path.hpp


GetDrive Member Function

std::string soulng::util::Path::GetDrive(const std::string& path) static

Definition at line 262 of Path.cpp
Declaration at line 33 of Path.hpp


GetExtension Member Function

std::string soulng::util::Path::GetExtension(const std::string& path) static

Definition at line 242 of Path.cpp
Declaration at line 32 of Path.hpp


GetFileName Member Function

std::string soulng::util::Path::GetFileName(const std::string& path) static

Definition at line 276 of Path.cpp
Declaration at line 34 of Path.hpp

Called by: soulng::util::Path::GetFileNameWithoutExtension


GetFileNameWithoutExtension Member Function

std::string soulng::util::Path::GetFileNameWithoutExtension(const std::string& path) static

Definition at line 304 of Path.cpp
Declaration at line 35 of Path.hpp

Calls: soulng::util::Path::GetFileName


HasExtension Member Function

bool soulng::util::Path::HasExtension(const std::string& path) static

Definition at line 216 of Path.cpp
Declaration at line 31 of Path.hpp


IsAbsolute Member Function

bool soulng::util::Path::IsAbsolute(const std::string& path) static

Definition at line 372 of Path.cpp
Declaration at line 38 of Path.hpp

Called by: soulng::util::Path::Combine , soulng::util::Path::IsRelative


IsRelative Member Function

bool soulng::util::Path::IsRelative(const std::string& path) static

Definition at line 395 of Path.cpp :
396 {
397     return !IsAbsolute(path);
398 }


Declaration at line 39 of Path.hpp

Calls: soulng::util::Path::IsAbsolute


MakeCanonical Member Function

std::string soulng::util::Path::MakeCanonical(const std::string& path) static

Definition at line 118 of Path.cpp
Declaration at line 29 of Path.hpp


top | up | prev | next