C++ Utilities 5.27.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
|
The ArgumentCompletionInfo struct holds information internally used for shell completion and suggestions. More...
Public Member Functions | |
ArgumentCompletionInfo (const ArgumentReader &reader) | |
Constructs a new completion info for the specified reader. | |
Public Attributes | |
const Argument *const | lastDetectedArg |
size_t | lastDetectedArgIndex = 0 |
vector< Argument * > | lastDetectedArgPath |
list< const Argument * > | relevantArgs |
list< const Argument * > | relevantPreDefinedValues |
const char *const * | lastSpecifiedArg = nullptr |
unsigned int | lastSpecifiedArgIndex = 0 |
bool | nextArgumentOrValue = false |
bool | completeFiles = false |
bool | completeDirs = false |
The ArgumentCompletionInfo struct holds information internally used for shell completion and suggestions.
Definition at line 47 of file argumentparser.cpp.
CppUtilities::ArgumentCompletionInfo::ArgumentCompletionInfo | ( | const ArgumentReader & | reader | ) |
Constructs a new completion info for the specified reader.
Definition at line 65 of file argumentparser.cpp.
bool CppUtilities::ArgumentCompletionInfo::completeDirs = false |
Definition at line 58 of file argumentparser.cpp.
bool CppUtilities::ArgumentCompletionInfo::completeFiles = false |
Definition at line 58 of file argumentparser.cpp.
const Argument* const CppUtilities::ArgumentCompletionInfo::lastDetectedArg |
Definition at line 50 of file argumentparser.cpp.
size_t CppUtilities::ArgumentCompletionInfo::lastDetectedArgIndex = 0 |
Definition at line 51 of file argumentparser.cpp.
vector<Argument *> CppUtilities::ArgumentCompletionInfo::lastDetectedArgPath |
Definition at line 52 of file argumentparser.cpp.
const char* const* CppUtilities::ArgumentCompletionInfo::lastSpecifiedArg = nullptr |
Definition at line 55 of file argumentparser.cpp.
unsigned int CppUtilities::ArgumentCompletionInfo::lastSpecifiedArgIndex = 0 |
Definition at line 56 of file argumentparser.cpp.
bool CppUtilities::ArgumentCompletionInfo::nextArgumentOrValue = false |
Definition at line 57 of file argumentparser.cpp.
list<const Argument *> CppUtilities::ArgumentCompletionInfo::relevantArgs |
Definition at line 53 of file argumentparser.cpp.
list<const Argument *> CppUtilities::ArgumentCompletionInfo::relevantPreDefinedValues |
Definition at line 54 of file argumentparser.cpp.