1 #ifndef LR_PROTOCOL_SDK_API_FUNCTIONS_WITH_NAMED_ARGS_H_
4 #define LR_PROTOCOL_SDK_API_FUNCTIONS_WITH_NAMED_ARGS_H_
42 const char* mDisplayName =
"",
52 void DefineStringArgument(
55 const char* mDefaultValue =
"",
62 void DefineBooleanArgument(
65 bool mDefaultValue =
true,
72 void DefineNumericArgument(
75 double mDefaultValue = 0,
87 GetStringArgumentValue(
98 GetBooleanArgumentValue(
109 GetNumericArgumentValue(
146 virtual bool CrossArgumentValidation();
161 void ParseArguments(va_list mVaList);
163 CArguments* m_arguments;
The template for an API function that is declared with named arguments ("key=value").
Definition: ApiFunctionWithNamedArgs.h:34
bool(* StringArgumentValidationType)(const char *)
A string argument validation function.
Definition: ApiFunctionWithNamedArgs.h:12
This file contains declarations of protocol API function calls with positional arguments.
virtual void HandleArguments(va_list mVaList)
Validates arguments and checks for completeness.
bool(* BooleanArgumentValidationType)(bool)
A boolean argument validation function.
Definition: ApiFunctionWithNamedArgs.h:13
The base class for handling API execution.
Definition: ApiFunctions.h:27
bool(* NumericArgumentValidationType)(double)
A numeric argument validation function.
Definition: ApiFunctionWithNamedArgs.h:14