8#ifndef INCLUDED_BALCL_OPTIONINFO
9#define INCLUDED_BALCL_OPTIONINFO
69#include <balscm_version.h>
76#include <bsl_iosfwd.h>
77#include <bsl_string.h>
84#undef BALCL_OPTIONINFO_HAS_CONSTRUCTORS
85#if 201103L <= BSLS_COMPILERFEATURES_CPLUSPLUS
86# define BALCL_OPTIONINFO_HAS_CONSTRUCTORS
166#ifdef BALCL_OPTIONINFO_HAS_CONSTRUCTORS
195#ifdef BALCL_OPTIONINFO_HAS_CONSTRUCTORS
203, d_description(description)
206, d_environmentVariableName()
214 const TypeInfo& typeInfo)
217, d_description(description)
218, d_typeInfo(typeInfo)
220, d_environmentVariableName()
228 const TypeInfo& typeInfo,
229 const OccurrenceInfo& defaultInfo,
233, d_description(description)
234, d_typeInfo(typeInfo)
235, d_defaultInfo(defaultInfo)
236, d_environmentVariableName(envVarName)
277 return lhs.d_tag == rhs.d_tag
278 && lhs.d_name == rhs.d_name
279 && lhs.d_description == rhs.d_description
280 && lhs.d_typeInfo == rhs.d_typeInfo
281 && lhs.d_defaultInfo == rhs.d_defaultInfo
282 && lhs.d_environmentVariableName == rhs.d_environmentVariableName;
288 return lhs.d_tag !=
rhs.d_tag
289 ||
lhs.d_name !=
rhs.d_name
290 ||
lhs.d_description !=
rhs.d_description
291 ||
lhs.d_typeInfo !=
rhs.d_typeInfo
292 ||
lhs.d_defaultInfo !=
rhs.d_defaultInfo
293 ||
lhs.d_environmentVariableName !=
rhs.d_environmentVariableName;
Definition balcl_occurrenceinfo.h:120
Definition balcl_typeinfo.h:118
Definition bslstl_stringview.h:471
Definition bslstl_string.h:1252
#define BSLS_IDENT(str)
BSLS_IDENT() - insert string into .comment binary segment (if supported)
Definition bsls_ident.h:238
Definition balcl_commandline.h:1364
bool operator==(const CommandLine_SchemaData &lhs, const CommandLine_SchemaData &rhs)
bsl::ostream & operator<<(bsl::ostream &stream, const CommandLine &rhs)
bool operator!=(const CommandLine_SchemaData &lhs, const CommandLine_SchemaData &rhs)
ALLOCATOR const STRING_VIEW_LIKE_TYPE & rhs
Definition bslstl_string.h:3918
ALLOCATOR & lhs
Definition bslstl_string.h:3917
Definition balcl_optioninfo.h:135
bsl::string d_tag
Definition balcl_optioninfo.h:147
bsl::string d_name
Definition balcl_optioninfo.h:149
TypeInfo d_typeInfo
Definition balcl_optioninfo.h:153
bsl::string d_description
Definition balcl_optioninfo.h:151
OccurrenceInfo d_defaultInfo
Definition balcl_optioninfo.h:157
ArgType
Enumerate the categories of command-line arguments.
Definition balcl_optioninfo.h:140
@ e_FLAG
Definition balcl_optioninfo.h:141
@ e_OPTION
Definition balcl_optioninfo.h:142
@ e_NON_OPTION
Definition balcl_optioninfo.h:143
bsl::string d_environmentVariableName
Definition balcl_optioninfo.h:163