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>.
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 & qpaIncludeDir () const
 
const std::string & rhiIncludeDir () const
 
const std::string & ssgIncludeDir () 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 & ssgHeadersRegex () 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 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 181 of file main.cpp.

Constructor & Destructor Documentation

◆ CommandLineOptions()

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

Definition at line 196 of file main.cpp.

Member Function Documentation

◆ binaryDir()

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

Definition at line 204 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 246 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 244 of file main.cpp.

◆ generatedHeaders()

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

Definition at line 234 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 232 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 206 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:

◆ isInternal()

bool CommandLineOptions::isInternal ( ) const
inline

Definition at line 238 of file main.cpp.

◆ isNonQtModule()

bool CommandLineOptions::isNonQtModule ( ) const
inline

Definition at line 240 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 198 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 220 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 248 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 200 of file main.cpp.

Referenced by SyncScanner::copyGeneratedHeadersToStagingDirectory(), 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 254 of file main.cpp.

Referenced by main().

+ Here is the caller graph for this function:

◆ printHelpOnly()

bool CommandLineOptions::printHelpOnly ( ) const
inline

Definition at line 242 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 228 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 208 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 230 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 222 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 210 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 224 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 212 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 236 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 250 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 202 of file main.cpp.

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

+ Here is the caller graph for this function:

◆ ssgHeadersRegex()

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

Definition at line 226 of file main.cpp.

Referenced by SyncScanner::isHeaderSsg().

+ Here is the caller graph for this function:

◆ ssgIncludeDir()

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

Definition at line 214 of file main.cpp.

Referenced by SyncScanner::processHeader().

+ Here is the caller graph for this function:

◆ stagingDir()

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

Definition at line 216 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 218 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 252 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: