OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
FileExt Namespace Reference

Functions

bool hasExt (std::string_view s, const char *extIn)
 
bool hasExt (const char *s, const char *extIn)
 
bool exchangeExt (std::string &s, const char *extIn, const char *extOut)
 
void assignExt (std::string &s, const char *extOut)
 
std::string addExt (const std::string &s, const char *ext)
 

Function Documentation

◆ addExt()

std::string FileExt::addExt ( const std::string &  s,
const char *  ext 
)
inline

Definition at line 82 of file fileext.h.

◆ assignExt()

void FileExt::assignExt ( std::string &  s,
const char *  extOut 
)
inline

Definition at line 64 of file fileext.h.

◆ exchangeExt()

bool FileExt::exchangeExt ( std::string &  s,
const char *  extIn,
const char *  extOut 
)
inline

Definition at line 43 of file fileext.h.

◆ hasExt() [1/2]

bool FileExt::hasExt ( const char *  s,
const char *  extIn 
)
inline

Definition at line 26 of file fileext.h.

◆ hasExt() [2/2]

bool FileExt::hasExt ( std::string_view  s,
const char *  extIn 
)
inline

Definition at line 8 of file fileext.h.