Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <iostream>
#include <fstream>
#include <string>
#include <string_view>
#include <cstring>
#include <sstream>
#include <filesystem>
#include <unordered_map>
#include <vector>
#include <regex>
#include <map>
#include <set>
#include <stdexcept>
#include <array>
Go to the source code of this file.
Classes | |
class | utils::DummyOutputStream |
class | CommandLineOptions |
class | SyncScanner |
Namespaces | |
namespace | utils |
Typedefs | |
using | FileStamp = std::filesystem::file_time_type |
Enumerations | |
enum | ErrorCodes { NoError = 0 , InvalidArguments , SyncFailed } |
enum | HeaderChecks { NoChecks = 0 , NamespaceChecks = 1 , PrivateHeaderChecks = 2 , IncludeChecks = 4 , WeMeantItChecks = 8 , PragmaOnceChecks = 16 , CriticalChecks = PrivateHeaderChecks | PragmaOnceChecks , AllChecks = NamespaceChecks | CriticalChecks | IncludeChecks | WeMeantItChecks } |
Functions | |
static const std::regex | GlobalHeaderRegex ("^q(.*)global\\.h$") |
bool | MasterHeaderIncludeComparator (const std::string &a, const std::string &b) |
std::string | utils::asciiToLower (std::string s) |
std::string | utils::asciiToUpper (std::string s) |
bool | utils::parseVersion (const std::string &version, int &major, int &minor) |
void | utils::printInternalError () |
void | utils::printFilesystemError (const std::filesystem::filesystem_error &fserr, std::string_view errorMsg) |
std::filesystem::path | utils::normilizedPath (const std::string &path) |
bool | utils::createDirectories (const std::string &path, std::string_view errorMsg, bool *exists=nullptr) |
int | main (int argc, char *argv[]) |
[2] | |
Variables | |
constexpr int | LinkerScriptCommentAlignment = 55 |
constexpr std::string_view | ErrorMessagePreamble = "ERROR: " |
constexpr std::string_view | WarningMessagePreamble = "WARNING: " |
utils::DummyOutputStream | utils::DummyOutput |
enum ErrorCodes |
enum HeaderChecks |
|
static |
Referenced by MasterHeaderIncludeComparator(), and SyncScanner::processHeader().
int main | ( | int | argc, |
char * | argv[] ) |
[2]
[3]
[2]
[printing a custom type]
[printing a custom type] [storing a custom value]
[storing a custom value]
[retrieving a custom value]
[retrieving a custom value]
[0]
[0] [1]
[1]
[0]
[0]
[1]
[1] [2]
[2]
[0]
[0]
[2]
[2]
[22]
[22]
[3]
[3]
[4]
[4]
[10]
[10]
[qcinfo_stream]
[qcinfo_stream]
[11]
[11]
[12]
[12]
[13]
[13]
[qcinfo_printf]
[qcinfo_printf]
[14]
[14]
[15]
[15]
[16]
[16]
[17]
[17]
[0]
[0]
[1]
[1]
[2]
[2]
[Window class using revision]
[Window class using revision]
[0]
[0]
[0]
[0]
[1]
[1]
[2]
[2]
[0]
[0]
[write output] [start stream]
[start stream]
[write element]
[write element]
[finish stream]
[finish stream] [write output]
[1]
[1]
[0]
[0]
[0]
[0] //! [1]
[1]
[0]
[0] //! [1]
[1]
[0]
[0] //! [1]
[1] //! [2]
[2]
[0]
[0]
[1]
[1]
[Adding a resource]
[Adding a resource]
[Inserting an image with a cursor]
[Inserting an image with a cursor]
[Inserting an image using HTML]
[Inserting an image using HTML]
[0]
[0] //! [1]
[1]
Definition at line 1831 of file main.cpp.
References InvalidArguments, CommandLineOptions::isValid(), NoError, CommandLineOptions::printHelp(), and CommandLineOptions::printHelpOnly().
bool MasterHeaderIncludeComparator | ( | const std::string & | a, |
const std::string & | b ) |
Definition at line 61 of file main.cpp.
References GlobalHeaderRegex().
|
constexpr |
Definition at line 56 of file main.cpp.
Referenced by SyncScanner::generateDeprecatedHeaders(), SyncScanner::parseHeader(), and SyncScanner::sync().
|
constexpr |
Definition at line 52 of file main.cpp.
Referenced by SyncScanner::parseVersionScriptContent().
|
constexpr |
Definition at line 57 of file main.cpp.
Referenced by SyncScanner::generateDeprecatedHeaders().