OmniSciDB  c07336695a
CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE > Class Template Reference

#include <CommandResolutionChain.h>

Classes

struct  FunctorSelector
 
struct  LambdaSelector
 
struct  RegexCommandSelector
 
struct  StandardCommandSelector
 

Public Types

using CommandTokenList = std::vector< std::string >
 
using ParamCountType = CommandTokenList::size_type
 
using StandardTokenExtractor = INPUT_PARSER_TYPE< CommandTokenList >
 
using RegexTokenExtractor = REGEX_INPUT_PARSER_TYPE< CommandTokenList >
 

Public Member Functions

 FRIEND_TEST (OmniSQLTest, CommandResolutionChain_DefaultTokenizer)
 
 CommandResolutionChain (CommandResolutionChain const &)=delete
 
 CommandResolutionChain ()=delete
 
CommandResolutionChainoperator= (CommandResolutionChain const &)=delete
 
template<typename RESOLUTION_FUNCTOR >
 CommandResolutionChain (char const *command_line, std::string const &target_command, ParamCountType min_param_count, ParamCountType max_param_count, RESOLUTION_FUNCTOR resolution_op, std::string const &custom_help, std::ostream &output_stream=std::cout)
 
template<typename RESOLUTION_FUNCTOR >
 CommandResolutionChain (char const *command_line, std::string const &target_command, ParamCountType min_param_count, ParamCountType max_param_count, RESOLUTION_FUNCTOR resolution_op, std::ostream &output_stream=std::cout)
 
template<typename RESOLUTION_FUNCTOR >
CommandResolutionChainoperator() (std::string const &target_command, ParamCountType min_param_count, ParamCountType max_param_count, RESOLUTION_FUNCTOR resolution_op, std::string const &custom_help)
 
template<typename RESOLUTION_FUNCTOR >
CommandResolutionChainoperator() (std::string const &target_command, ParamCountType min_param_count, ParamCountType max_param_count, RESOLUTION_FUNCTOR resolution_op)
 
bool is_resolved ()
 

Private Member Functions

void extractTokens (char const *command_line)
 
std::string custom_help_string (std::string const &target_command, ParamCountType min_param_count, ParamCountType max_param_count, std::string const &custom_help)
 
std::string default_help_string (std::string const &target_command, ParamCountType min_param_count, ParamCountType max_param_count)
 
template<typename RESOLUTION_MECHANISM >
void resolve_command (std::string const &target_command, ParamCountType min_param_count, ParamCountType max_param_count, RESOLUTION_MECHANISM resolution_op, std::string const &help_info)
 
template<typename RESOLUTION_LAMBDA >
void execute_functor_resolution_op (RESOLUTION_LAMBDA resolution_op, LambdaSelector const &)
 
template<typename RESOLUTION_FUNCTOR >
void execute_functor_resolution_op (RESOLUTION_FUNCTOR resolution_op, FunctorSelector const &)
 
template<typename RESOLUTION_FUNCTOR >
void execute_regex_aware_resolution_op (RESOLUTION_FUNCTOR resolution_op, RegexCommandSelector const &)
 
template<typename RESOLUTION_FUNCTOR >
void execute_regex_aware_resolution_op (RESOLUTION_FUNCTOR resolution_op, StandardCommandSelector const &)
 

Private Attributes

CommandTokenList m_command_token_list
 
CommandTokenList m_regex_command_token_list
 
bool m_resolved
 
std::ostream & m_output_stream
 

Detailed Description

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
class CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >

Definition at line 13 of file CommandResolutionChain.h.

Member Typedef Documentation

◆ CommandTokenList

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
using CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::CommandTokenList = std::vector<std::string>

Definition at line 17 of file CommandResolutionChain.h.

◆ ParamCountType

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
using CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::ParamCountType = CommandTokenList::size_type

Definition at line 18 of file CommandResolutionChain.h.

◆ RegexTokenExtractor

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
using CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::RegexTokenExtractor = REGEX_INPUT_PARSER_TYPE<CommandTokenList>

Definition at line 20 of file CommandResolutionChain.h.

◆ StandardTokenExtractor

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
using CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::StandardTokenExtractor = INPUT_PARSER_TYPE<CommandTokenList>

Definition at line 19 of file CommandResolutionChain.h.

Constructor & Destructor Documentation

◆ CommandResolutionChain() [1/4]

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::CommandResolutionChain ( CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE > const &  )
delete

◆ CommandResolutionChain() [2/4]

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::CommandResolutionChain ( )
delete

◆ CommandResolutionChain() [3/4]

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
template<typename RESOLUTION_FUNCTOR >
CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::CommandResolutionChain ( char const *  command_line,
std::string const &  target_command,
ParamCountType  min_param_count,
ParamCountType  max_param_count,
RESOLUTION_FUNCTOR  resolution_op,
std::string const &  custom_help,
std::ostream &  output_stream = std::cout 
)
inline

Definition at line 27 of file CommandResolutionChain.h.

References CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::custom_help_string(), CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::extractTokens(), and CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::resolve_command().

34  : m_resolved(false), m_output_stream(output_stream) {
35  extractTokens(command_line);
36 
37  resolve_command(target_command,
38  min_param_count,
39  max_param_count,
40  resolution_op,
42  target_command, min_param_count, max_param_count, custom_help));
43  }
void extractTokens(char const *command_line)
void resolve_command(std::string const &target_command, ParamCountType min_param_count, ParamCountType max_param_count, RESOLUTION_MECHANISM resolution_op, std::string const &help_info)
std::string custom_help_string(std::string const &target_command, ParamCountType min_param_count, ParamCountType max_param_count, std::string const &custom_help)
+ Here is the call graph for this function:

◆ CommandResolutionChain() [4/4]

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
template<typename RESOLUTION_FUNCTOR >
CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::CommandResolutionChain ( char const *  command_line,
std::string const &  target_command,
ParamCountType  min_param_count,
ParamCountType  max_param_count,
RESOLUTION_FUNCTOR  resolution_op,
std::ostream &  output_stream = std::cout 
)
inline

Definition at line 46 of file CommandResolutionChain.h.

References CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::default_help_string(), CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::extractTokens(), and CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::resolve_command().

52  : m_resolved(false), m_output_stream(output_stream) {
53  extractTokens(command_line);
54 
56  target_command,
57  min_param_count,
58  max_param_count,
59  resolution_op,
60  default_help_string(target_command, min_param_count, max_param_count));
61  }
std::string default_help_string(std::string const &target_command, ParamCountType min_param_count, ParamCountType max_param_count)
void extractTokens(char const *command_line)
void resolve_command(std::string const &target_command, ParamCountType min_param_count, ParamCountType max_param_count, RESOLUTION_MECHANISM resolution_op, std::string const &help_info)
+ Here is the call graph for this function:

Member Function Documentation

◆ custom_help_string()

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
std::string CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::custom_help_string ( std::string const &  target_command,
ParamCountType  min_param_count,
ParamCountType  max_param_count,
std::string const &  custom_help 
)
inlineprivate

Definition at line 112 of file CommandResolutionChain.h.

Referenced by CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::CommandResolutionChain(), and CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::operator()().

115  {
116  std::ostringstream help_stream;
117  if (min_param_count == max_param_count) {
118  help_stream << target_command << " incorrect number of parameters provided; need "
119  << min_param_count - 1 << " total parameter(s)\n"
120  << custom_help << std::endl;
121  } else {
122  help_stream << target_command
123  << " incorrect number of parameters provided; need between "
124  << min_param_count - 1 << " and " << max_param_count - 1
125  << " total parameter(s)\n"
126  << custom_help << std::endl;
127  }
128  return help_stream.str();
129  }
+ Here is the caller graph for this function:

◆ default_help_string()

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
std::string CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::default_help_string ( std::string const &  target_command,
ParamCountType  min_param_count,
ParamCountType  max_param_count 
)
inlineprivate

Definition at line 131 of file CommandResolutionChain.h.

Referenced by CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::CommandResolutionChain(), and CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::operator()().

133  {
134  std::ostringstream help_stream;
135  if (min_param_count == max_param_count) {
136  help_stream << target_command << " incorrect number of parameters provided; need "
137  << min_param_count - 1 << " total parameter(s)" << std::endl;
138  } else {
139  help_stream << target_command
140  << " incorrect number of parameters provided; need between "
141  << min_param_count - 1 << " and " << max_param_count - 1
142  << " total parameter(s)" << std::endl;
143  }
144  return help_stream.str();
145  }
+ Here is the caller graph for this function:

◆ execute_functor_resolution_op() [1/2]

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
template<typename RESOLUTION_LAMBDA >
void CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::execute_functor_resolution_op ( RESOLUTION_LAMBDA  resolution_op,
LambdaSelector const &   
)
inlineprivate

Definition at line 179 of file CommandResolutionChain.h.

References CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::m_command_token_list.

Referenced by CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::resolve_command().

180  {
181  resolution_op(m_command_token_list);
182  }
CommandTokenList m_command_token_list
+ Here is the caller graph for this function:

◆ execute_functor_resolution_op() [2/2]

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
template<typename RESOLUTION_FUNCTOR >
void CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::execute_functor_resolution_op ( RESOLUTION_FUNCTOR  resolution_op,
FunctorSelector const &   
)
inlineprivate

Definition at line 185 of file CommandResolutionChain.h.

References CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::execute_regex_aware_resolution_op(), and run-benchmark-import::type.

186  {
187  using CommandSelectorType = typename std::conditional<
188  std::is_base_of<RegexCmdDeterminant, RESOLUTION_FUNCTOR>::value,
189  RegexCommandSelector,
190  StandardCommandSelector>::type;
191  execute_regex_aware_resolution_op(resolution_op, CommandSelectorType());
192  }
void execute_regex_aware_resolution_op(RESOLUTION_FUNCTOR resolution_op, RegexCommandSelector const &)
+ Here is the call graph for this function:

◆ execute_regex_aware_resolution_op() [1/2]

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
template<typename RESOLUTION_FUNCTOR >
void CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::execute_regex_aware_resolution_op ( RESOLUTION_FUNCTOR  resolution_op,
RegexCommandSelector const &   
)
inlineprivate

Definition at line 195 of file CommandResolutionChain.h.

References CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::m_output_stream, and CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::m_regex_command_token_list.

Referenced by CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::execute_functor_resolution_op().

196  {
198  }
CommandTokenList m_regex_command_token_list
+ Here is the caller graph for this function:

◆ execute_regex_aware_resolution_op() [2/2]

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
template<typename RESOLUTION_FUNCTOR >
void CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::execute_regex_aware_resolution_op ( RESOLUTION_FUNCTOR  resolution_op,
StandardCommandSelector const &   
)
inlineprivate

◆ extractTokens()

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
void CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::extractTokens ( char const *  command_line)
inlineprivate

Definition at line 107 of file CommandResolutionChain.h.

References CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::m_command_token_list, and CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::m_regex_command_token_list.

Referenced by CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::CommandResolutionChain().

107  {
108  m_command_token_list = StandardTokenExtractor().extract_tokens(command_line);
109  m_regex_command_token_list = RegexTokenExtractor().extract_tokens(command_line);
110  }
CommandTokenList m_command_token_list
INPUT_PARSER_TYPE< CommandTokenList > StandardTokenExtractor
REGEX_INPUT_PARSER_TYPE< CommandTokenList > RegexTokenExtractor
CommandTokenList m_regex_command_token_list
+ Here is the caller graph for this function:

◆ FRIEND_TEST()

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::FRIEND_TEST ( OmniSQLTest  ,
CommandResolutionChain_DefaultTokenizer   
)

◆ is_resolved()

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
bool CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::is_resolved ( )
inline

Definition at line 98 of file CommandResolutionChain.h.

References CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::m_resolved.

Referenced by anonymous_namespace{omnisql.cpp}::process_backslash_commands().

+ Here is the caller graph for this function:

◆ operator()() [1/2]

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
template<typename RESOLUTION_FUNCTOR >
CommandResolutionChain& CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::operator() ( std::string const &  target_command,
ParamCountType  min_param_count,
ParamCountType  max_param_count,
RESOLUTION_FUNCTOR  resolution_op,
std::string const &  custom_help 
)
inline

Definition at line 64 of file CommandResolutionChain.h.

References CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::custom_help_string(), CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::m_resolved, and CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::resolve_command().

68  {
69  if (m_resolved == true) {
70  return (*this);
71  }
72  resolve_command(target_command,
73  min_param_count,
74  max_param_count,
75  resolution_op,
77  target_command, min_param_count, max_param_count, custom_help));
78  return (*this);
79  }
void resolve_command(std::string const &target_command, ParamCountType min_param_count, ParamCountType max_param_count, RESOLUTION_MECHANISM resolution_op, std::string const &help_info)
std::string custom_help_string(std::string const &target_command, ParamCountType min_param_count, ParamCountType max_param_count, std::string const &custom_help)
+ Here is the call graph for this function:

◆ operator()() [2/2]

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
template<typename RESOLUTION_FUNCTOR >
CommandResolutionChain& CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::operator() ( std::string const &  target_command,
ParamCountType  min_param_count,
ParamCountType  max_param_count,
RESOLUTION_FUNCTOR  resolution_op 
)
inline

Definition at line 82 of file CommandResolutionChain.h.

References CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::default_help_string(), CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::m_resolved, and CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::resolve_command().

85  {
86  if (m_resolved == true) {
87  return (*this);
88  }
90  target_command,
91  min_param_count,
92  max_param_count,
93  resolution_op,
94  default_help_string(target_command, min_param_count, max_param_count));
95  return (*this);
96  }
std::string default_help_string(std::string const &target_command, ParamCountType min_param_count, ParamCountType max_param_count)
void resolve_command(std::string const &target_command, ParamCountType min_param_count, ParamCountType max_param_count, RESOLUTION_MECHANISM resolution_op, std::string const &help_info)
+ Here is the call graph for this function:

◆ operator=()

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
CommandResolutionChain& CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::operator= ( CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE > const &  )
delete

◆ resolve_command()

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
template<typename RESOLUTION_MECHANISM >
void CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::resolve_command ( std::string const &  target_command,
ParamCountType  min_param_count,
ParamCountType  max_param_count,
RESOLUTION_MECHANISM  resolution_op,
std::string const &  help_info 
)
inlineprivate

Definition at line 148 of file CommandResolutionChain.h.

References CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::execute_functor_resolution_op(), CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::m_command_token_list, CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::m_output_stream, CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::m_resolved, and run-benchmark-import::type.

Referenced by CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::CommandResolutionChain(), and CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::operator()().

152  {
153  using SelectorType = typename std::conditional<
154  std::is_base_of<CmdDeterminant, RESOLUTION_MECHANISM>::value,
155  FunctorSelector,
156  LambdaSelector>::type;
157 
158  if (m_command_token_list.empty()) {
159  m_resolved = true;
160  } else if (m_command_token_list[0] == target_command) {
161  if (std::is_base_of<RegexCmdDeterminant, RESOLUTION_MECHANISM>::value) {
162  // Regexes have an optional parameter; therefore parameter counts can vary
163  // And we know the count is at least one, in this branch
164  execute_functor_resolution_op(resolution_op, SelectorType());
165  } else {
166  if (m_command_token_list.size() < min_param_count ||
167  m_command_token_list.size() > max_param_count) {
168  m_output_stream << help_info << '\n';
169  } else {
170  execute_functor_resolution_op(resolution_op, SelectorType());
171  }
172  }
173 
174  m_resolved = true;
175  }
176  }
void execute_functor_resolution_op(RESOLUTION_LAMBDA resolution_op, LambdaSelector const &)
CommandTokenList m_command_token_list
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_command_token_list

◆ m_output_stream

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
std::ostream& CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::m_output_stream
private

◆ m_regex_command_token_list

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
CommandTokenList CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::m_regex_command_token_list
private

◆ m_resolved

template<template< typename > class INPUT_PARSER_TYPE = QuotedInputSupportParser, template< typename > class REGEX_INPUT_PARSER_TYPE = DefaultInputParser>
bool CommandResolutionChain< INPUT_PARSER_TYPE, REGEX_INPUT_PARSER_TYPE >::m_resolved
private

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