Lines Matching defs:CmdlineParseArgument
304 struct CmdlineParseArgument : CmdlineParseArgumentAny { struct
305 CmdlineParseArgument(CmdlineParserArgumentInfo<TArg>&& argument_info, in CmdlineParseArgument() function
313 using UserTypeInfo = CmdlineType<TArg>;
315 virtual CmdlineResult ParseArgument(const TokenRange& arguments, size_t* consumed_tokens) { in ParseArgument()
384 virtual CmdlineResult ParseArgumentSingle(const std::string& argument) { in ParseArgumentSingle()
469 virtual const char* GetTypeName() const { in GetTypeName()
479 virtual std::pair<size_t, size_t> GetNumTokens() const { in GetNumTokens()
484 virtual size_t MaybeMatches(const TokenRange& tokens) { in MaybeMatches()
489 CmdlineResult SaveArgument(const TArg& value) { in SaveArgument()
498 CmdlineParserArgumentInfo<TArg> argument_info_;
499 std::function<void(TArg&)> save_argument_;
500 std::function<TArg&(void)> load_argument_;