Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
utils Namespace Reference

Classes

class  DummyOutputStream

Functions

std::string asciiToLower (std::string s)
std::string asciiToUpper (std::string s)
bool parseVersion (const std::string &version, int &major, int &minor)
void printInternalError ()
void printFilesystemError (const std::filesystem::filesystem_error &fserr, std::string_view errorMsg)
std::filesystem::path normilizedPath (const std::string &path)
bool createDirectories (const std::string &path, std::string_view errorMsg, bool *exists=nullptr)

Variables

utils::DummyOutputStream DummyOutput

Function Documentation

◆ asciiToLower()

std::string utils::asciiToLower ( std::string s)

Definition at line 81 of file main.cpp.

Referenced by SyncScanner::sync().

Here is the caller graph for this function:

◆ asciiToUpper()

std::string utils::asciiToUpper ( std::string s)

Definition at line 88 of file main.cpp.

Referenced by SyncScanner::generateMasterHeader(), and SyncScanner::generateVersionHeader().

Here is the caller graph for this function:

◆ createDirectories()

bool utils::createDirectories ( const std::string & path,
std::string_view errorMsg,
bool * exists = nullptr )

Definition at line 157 of file main.cpp.

◆ normilizedPath()

std::filesystem::path utils::normilizedPath ( const std::string & path)

Definition at line 146 of file main.cpp.

Referenced by SyncScanner::makeHeaderAbsolute().

Here is the caller graph for this function:

◆ parseVersion()

bool utils::parseVersion ( const std::string & version,
int & major,
int & minor )

Definition at line 95 of file main.cpp.

Referenced by SyncScanner::generateDeprecatedHeaders().

Here is the caller graph for this function:

◆ printFilesystemError()

void utils::printFilesystemError ( const std::filesystem::filesystem_error & fserr,
std::string_view errorMsg )

Definition at line 140 of file main.cpp.

Referenced by SyncScanner::copyGeneratedHeadersToStagingDirectory().

Here is the caller graph for this function:

◆ printInternalError()

void utils::printInternalError ( )

Definition at line 133 of file main.cpp.

Variable Documentation

◆ DummyOutput

utils::DummyOutputStream utils::DummyOutput