cli20 0.1.2
A C++20 typed-schema command-line parser
Loading...
Searching...
No Matches
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 1234]
 Ncli
 NconversionActions that convert a raw std::string_view token to a typed value
 CIntegerConverts a string token to an integral type T using std::from_chars
 CFloatingConverts a string token to a floating-point type T using std::from_chars
 CStringConverts a string_view token to a std::string by copying
 CBoolConverts a string token to bool
 CPathConverts a string token to std::filesystem::path without filesystem validation
 CExistingFileConverts a string token to std::filesystem::path, requiring the path to exist and be a regular file
 CExistingDirectoryConverts a string token to std::filesystem::path, requiring the path to exist and be a directory
 CChoiceConverts a string token to type T via a user-supplied mapper function
 CNegatableResultResult of the negatable<> conversion
 CNegatableConverts a string token to NegatableResult by detecting a compile-time negation prefix
 CDefaultMissingValueInjects a compile-time default value when an option is invoked as a flag (no value provided)
 NvalidationActions that validate a typed value after conversion
 CMinValidates that the input value is greater than or equal to MinValue
 CMaxValidates that the input value is less than or equal to MaxValue
 CRangeValidates that the input value is within the closed interval [MinValue, MaxValue]
 CPositiveValidates that the input value is strictly positive (> 0)
 CNonNegativeValidates that the input value is non-negative (>= 0)
 CNonEmptyValidates that the input value is not empty (requires .empty() member)
 CNotBlankValidates that the input string is not blank (not all whitespace)
 COneOfValidates that the input value equals one of the compile-time constants Allowed
 CMatchesValidates that the input string matches a compile-time regular expression
 CExistsValidates that a std::filesystem::path exists on the filesystem
 CIsRegularFileValidates that a std::filesystem::path refers to a regular file
 CIsDirectoryValidates that a std::filesystem::path refers to a directory
 CParentExistsValidates that the parent directory of a std::filesystem::path exists
 CPredicateValidates a value using a user-supplied compile-time predicate
 NpackTerminal actions that write the converted (and validated) value into argument storage
 CSetTrueSets the bool storage to true
 CSetFalseSets the bool storage to false
 CToggleFlips the bool storage each time the option is seen
 CIncrementIncrements a std::size_t counter each time the option is seen
 CRejectDuplicatePasses the value through unchanged, but returns ErrorCode::duplicate_argument if the option has been seen more than once
 CSetOnceStores the input value and rejects subsequent occurrences
 CPushUniqueAppends the value to a std::vector<T>, rejecting duplicate values
 CPushAppends the value to a std::vector<T>
 CInsertInserts the value into a std::set<T> (duplicates are silently ignored by the set)
 CInsertOrAssign
 CStorageTypeImpl
 CStorageTypeImpl< Prev, true >
 CExtend
 CMarkPresentSets a bool flag to true when the option is seen, regardless of value
 CStoreIntoWrites the value directly into an external variable via a T* pointer
 CCallbackInvokes a compile-time callable Fn with the parsed value as a terminal action
 NactionActions that control the parser's control flow (help, exit)
 CCustomWraps a user-defined callable as a non-terminal action pipeline step
 CPrintHelpWraps the current value in a HelpRequested<T> sentinel type
 CExitSuccessTerminates the pipeline by returning a ParseError with code exit_success (or help_requested when preceded by PrintHelp)
 CActionResultThe result type produced and consumed at each step of an action pipeline
 CActionResult< void >Specialisation of ActionResult for terminal (pack) actions that produce no value
 CActionCtxContext passed to each action function during pipeline execution
 CActionCtx< void >Partial specialisation of ActionCtx used for intermediate pipeline steps
 CActionA compile-time pipeline of action functions applied sequentially to a parsed token
 CAction<>
 CParserThe main parsing engine for a typed argument specification
 CArgParameterParameter bag used when constructing ArgImpl or PositionalImpl with named fields
 CPositionalImpl
 CDescriptionA DescriptionTag field that carries the top-level CLI description
 CCommandParameterParameter bag used when constructing a Command field
 CCommandA named subcommand that nests another argument specification
 CSpecMemberTagBase tag for all members that may appear in an argument specification struct
 COptionTagTag base class for command-line option/flag fields
 CPositionalTagTag base class for positional argument fields
 CCommandTagTag base class for subcommand fields
 CDescriptionTagTag base class for the Description field that provides the CLI's help text
 CNargsSpecifies the minimum and maximum number of values an option or positional accepts
 CHelpPaletteANSI palette used by generated help output
 CRecurseHelpTagTag type passed to format_help() to request recursive sub-command output
 CConstraintResultThe result type returned by a constraints() post-parse hook
 CParseErrorCarries all context about a single parse/validation failure
 CTokenA single token produced by tokenize()
 CTokenizeResultThe result returned by tokenize()
 CSmallVector
 CTokenizerConfigControls how tokenize() recognises option and separator syntax
 CParseResultThe result returned by Parser::parse() and the free cli::parse() function
 CNameList
 CGroupParams
 CGroupRelation
 CConflictsRelation
 CDependsOnRelation
 CRelationSet
 CIsRelationSet
 CIsRelationSet< RelationSet< Relations... > >
 CStringLiteralCompile-time string type usable as a non-type template parameter
 NstdSTL namespace
 Ctuple_size< cli::conversion::NegatableResult >
 Ctuple_element< 0, cli::conversion::NegatableResult >
 Ctuple_element< 1, cli::conversion::NegatableResult >