Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
CommandLineOptions Class Reference
+ Collaboration diagram for CommandLineOptions:

Public Member Functions

 CommandLineOptions (int argc, char *argv[])
 
bool isValid () const
 
const std::string & moduleName () const
 
const std::string & sourceDir () const
 
const std::string & binaryDir () const
 
const std::string & includeDir () const
 
const std::string & privateIncludeDir () const
 
const std::string & frameworkIncludeDir () const
 
const std::string & qpaIncludeDir () const
 
const std::string & rhiIncludeDir () const
 
const std::string & stagingDir () const
 
const std::string & versionScriptFile () const
 
const std::set< std::string > & knownModules () const
 
const std::regex & qpaHeadersRegex () const
 
const std::regex & rhiHeadersRegex () const
 
const std::regex & privateHeadersRegex () const
 
const std::regex & publicNamespaceRegex () const
 
const std::set< std::string > & headers () const
 
const std::set< std::string > & generatedHeaders () const
 
bool scanAllMode () const
 
bool isFramework () const
 
bool isInternal () const
 
bool isNonQtModule () const
 
bool printHelpOnly () const
 
bool debug () const
 
bool copy () const
 
bool minimal () const
 
bool showOnly () const
 
bool warningsAreErrors () const
 
void printHelp () const
 

Detailed Description

Definition at line 119 of file main.cpp.

Constructor & Destructor Documentation

◆ CommandLineOptions()

CommandLineOptions::CommandLineOptions ( int  argc,
char *  argv[] 
)
inline

Definition at line 134 of file main.cpp.

Member Function Documentation

◆ binaryDir()

const std::string & CommandLineOptions::binaryDir ( ) const
inline

Definition at line 142 of file main.cpp.

Referenced by SyncScanner::generateHeaderCheckExceptions(), SyncScanner::parseVersionScriptContent(), and SyncScanner::processHeader().

+ Here is the caller graph for this function:

◆ copy()

bool CommandLineOptions::copy ( ) const
inline

Definition at line 184 of file main.cpp.

Referenced by SyncScanner::processHeader().

+ Here is the caller graph for this function:

◆ debug()

bool CommandLineOptions::debug ( ) const
inline

Definition at line 182 of file main.cpp.

◆ frameworkIncludeDir()

const std::string & CommandLineOptions::frameworkIncludeDir ( ) const
inline

Definition at line 148 of file main.cpp.

Referenced by SyncScanner::sync().

+ Here is the caller graph for this function:

◆ generatedHeaders()

const std::set< std::string > & CommandLineOptions::generatedHeaders ( ) const
inline

Definition at line 170 of file main.cpp.

Referenced by SyncScanner::isHeaderGenerated().

+ Here is the caller graph for this function:

◆ headers()

const std::set< std::string > & CommandLineOptions::headers ( ) const
inline

Definition at line 168 of file main.cpp.

Referenced by SyncScanner::sync().

+ Here is the caller graph for this function:

◆ includeDir()

const std::string & CommandLineOptions::includeDir ( ) const
inline

Definition at line 144 of file main.cpp.

Referenced by SyncScanner::copyGeneratedHeadersToStagingDirectory(), SyncScanner::generateDeprecatedHeaders(), SyncScanner::generateMasterHeader(), SyncScanner::parseHeader(), SyncScanner::processHeader(), and SyncScanner::sync().

+ Here is the caller graph for this function:

◆ isFramework()

bool CommandLineOptions::isFramework ( ) const
inline

Definition at line 174 of file main.cpp.

Referenced by SyncScanner::sync().

+ Here is the caller graph for this function:

◆ isInternal()

bool CommandLineOptions::isInternal ( ) const
inline

Definition at line 176 of file main.cpp.

◆ isNonQtModule()

bool CommandLineOptions::isNonQtModule ( ) const
inline

Definition at line 178 of file main.cpp.

Referenced by SyncScanner::processHeader(), and SyncScanner::sync().

+ Here is the caller graph for this function:

◆ isValid()

bool CommandLineOptions::isValid ( ) const
inline

Definition at line 136 of file main.cpp.

Referenced by main().

+ Here is the caller graph for this function:

◆ knownModules()

const std::set< std::string > & CommandLineOptions::knownModules ( ) const
inline

Definition at line 158 of file main.cpp.

Referenced by SyncScanner::parseHeader().

+ Here is the caller graph for this function:

◆ minimal()

bool CommandLineOptions::minimal ( ) const
inline

Definition at line 186 of file main.cpp.

Referenced by SyncScanner::processHeader(), and SyncScanner::sync().

+ Here is the caller graph for this function:

◆ moduleName()

const std::string & CommandLineOptions::moduleName ( ) const
inline

Definition at line 138 of file main.cpp.

Referenced by SyncScanner::generateDeprecatedHeaders(), SyncScanner::generateHeaderCheckExceptions(), SyncScanner::generateMasterHeader(), SyncScanner::generateVersionHeader(), SyncScanner::parseHeader(), and SyncScanner::sync().

+ Here is the caller graph for this function:

◆ printHelp()

void CommandLineOptions::printHelp ( ) const
inline

Definition at line 192 of file main.cpp.

Referenced by main().

+ Here is the caller graph for this function:

◆ printHelpOnly()

bool CommandLineOptions::printHelpOnly ( ) const
inline

Definition at line 180 of file main.cpp.

Referenced by main().

+ Here is the caller graph for this function:

◆ privateHeadersRegex()

const std::regex & CommandLineOptions::privateHeadersRegex ( ) const
inline

Definition at line 164 of file main.cpp.

Referenced by SyncScanner::isHeaderPrivate().

+ Here is the caller graph for this function:

◆ privateIncludeDir()

const std::string & CommandLineOptions::privateIncludeDir ( ) const
inline

Definition at line 146 of file main.cpp.

Referenced by SyncScanner::processHeader().

+ Here is the caller graph for this function:

◆ publicNamespaceRegex()

const std::regex & CommandLineOptions::publicNamespaceRegex ( ) const
inline

Definition at line 166 of file main.cpp.

Referenced by SyncScanner::parseHeader().

+ Here is the caller graph for this function:

◆ qpaHeadersRegex()

const std::regex & CommandLineOptions::qpaHeadersRegex ( ) const
inline

Definition at line 160 of file main.cpp.

Referenced by SyncScanner::isHeaderQpa().

+ Here is the caller graph for this function:

◆ qpaIncludeDir()

const std::string & CommandLineOptions::qpaIncludeDir ( ) const
inline

Definition at line 150 of file main.cpp.

Referenced by SyncScanner::processHeader().

+ Here is the caller graph for this function:

◆ rhiHeadersRegex()

const std::regex & CommandLineOptions::rhiHeadersRegex ( ) const
inline

Definition at line 162 of file main.cpp.

Referenced by SyncScanner::isHeaderRhi().

+ Here is the caller graph for this function:

◆ rhiIncludeDir()

const std::string & CommandLineOptions::rhiIncludeDir ( ) const
inline

Definition at line 152 of file main.cpp.

Referenced by SyncScanner::processHeader().

+ Here is the caller graph for this function:

◆ scanAllMode()

bool CommandLineOptions::scanAllMode ( ) const
inline

Definition at line 172 of file main.cpp.

Referenced by SyncScanner::processHeader(), and SyncScanner::sync().

+ Here is the caller graph for this function:

◆ showOnly()

bool CommandLineOptions::showOnly ( ) const
inline

Definition at line 188 of file main.cpp.

Referenced by SyncScanner::copyGeneratedHeadersToStagingDirectory(), SyncScanner::generateAliasedHeaderFileIfTimestampChanged(), SyncScanner::generateQtCamelCaseFileIfContentChanged(), SyncScanner::parseHeader(), SyncScanner::updateOrCopy(), SyncScanner::updateSymbolDescriptor(), and SyncScanner::writeIfDifferent().

+ Here is the caller graph for this function:

◆ sourceDir()

const std::string & CommandLineOptions::sourceDir ( ) const
inline

Definition at line 140 of file main.cpp.

Referenced by SyncScanner::makeHeaderAbsolute(), SyncScanner::parseVersionScriptContent(), SyncScanner::resetCurrentFileInfoData(), and SyncScanner::sync().

+ Here is the caller graph for this function:

◆ stagingDir()

const std::string & CommandLineOptions::stagingDir ( ) const
inline

Definition at line 154 of file main.cpp.

Referenced by SyncScanner::sync().

+ Here is the caller graph for this function:

◆ versionScriptFile()

const std::string & CommandLineOptions::versionScriptFile ( ) const
inline

Definition at line 156 of file main.cpp.

Referenced by SyncScanner::generateLinkerVersionScript(), SyncScanner::processHeader(), and SyncScanner::sync().

+ Here is the caller graph for this function:

◆ warningsAreErrors()

bool CommandLineOptions::warningsAreErrors ( ) const
inline

Definition at line 190 of file main.cpp.

Referenced by SyncScanner::sync().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: