Paths (C++)¶
-
namespace
Foundry¶ -
namespace
Katana¶ -
namespace
Util¶ -
namespace
Path¶ Functions
-
std::string
NormalizeAbsPath(const std::string &locationPath)¶
-
std::string
GetLocationParent(const std::string &locationPath)¶
-
std::string
GetLeafName(const std::string &locationPath)¶
-
void
GetLeafAndParent(std::string &parent, std::string &leaf, const std::string &locationPath)¶
-
void
GetLocationStack(std::vector<std::string> &returnStack, const std::string &locationPath, const std::string &rootPath = std::string())¶
-
bool
IsAncestorOrEqual(const std::string &locA, const std::string &locB)¶
-
bool
IsAncestor(const std::string &locA, const std::string &locB)¶
-
std::string
Join(const std::string &locA, const std::string &locB)¶
-
bool
IsRelativePath(const std::string &path)¶
-
std::string
RelativeToAbsPath(const std::string &rootPath, const std::string &path)¶
-
std::string
NormalizedRelativePath(const std::string &rootpath, const std::string &path)¶
-
std::string
RelativePath(const std::string &rootPath, const std::string &path)¶
-
void
FnMatch(FnMatchInfo &matchInfo, const std::string &testpath, const std::string &pattern)¶
-
void
ExactMatch(FnMatchInfo &matchInfo, const std::string &testpath, const std::string &pattern)¶
-
std::string
MakeUniqueName(const std::string &baseName, const std::set<std::string> &existingNames)¶
-
std::string
MakeSafeIdentifier(const std::string &identifier)¶
-
struct
FnMatchInfo¶
-
std::string
-
namespace
-
namespace
-
namespace