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
163#ifdef BALCL_OPTIONINFO_HAS_CONSTRUCTORS
192#ifdef BALCL_OPTIONINFO_HAS_CONSTRUCTORS
200, d_description(description)
203, d_environmentVariableName()
211 const TypeInfo& typeInfo)
214, d_description(description)
215, d_typeInfo(typeInfo)
217, d_environmentVariableName()
225 const TypeInfo& typeInfo,
226 const OccurrenceInfo& defaultInfo,
230, d_description(description)
231, d_typeInfo(typeInfo)
232, d_defaultInfo(defaultInfo)
233, d_environmentVariableName(envVarName)
273 return lhs.d_tag == rhs.d_tag
274 && lhs.d_name == rhs.d_name
275 && lhs.d_description == rhs.d_description
276 && lhs.d_typeInfo == rhs.d_typeInfo
277 && lhs.d_defaultInfo == rhs.d_defaultInfo
278 && lhs.d_environmentVariableName == rhs.d_environmentVariableName;
284 return lhs.d_tag != rhs.d_tag
285 || lhs.d_name != rhs.d_name
286 || lhs.d_description != rhs.d_description
287 || lhs.d_typeInfo != rhs.d_typeInfo
288 || lhs.d_defaultInfo != rhs.d_defaultInfo
289 || lhs.d_environmentVariableName != rhs.d_environmentVariableName;
Definition balcl_occurrenceinfo.h:120
Definition balcl_typeinfo.h:117
Definition bslstl_stringview.h:441
Definition bslstl_string.h:1281
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
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)
Definition balcl_optioninfo.h:132
bsl::string d_tag
Definition balcl_optioninfo.h:144
bsl::string d_name
Definition balcl_optioninfo.h:146
TypeInfo d_typeInfo
Definition balcl_optioninfo.h:150
bsl::string d_description
Definition balcl_optioninfo.h:148
OccurrenceInfo d_defaultInfo
Definition balcl_optioninfo.h:154
ArgType
Enumerate the categories of command-line arguments.
Definition balcl_optioninfo.h:137
@ e_FLAG
Definition balcl_optioninfo.h:138
@ e_OPTION
Definition balcl_optioninfo.h:139
@ e_NON_OPTION
Definition balcl_optioninfo.h:140
bsl::string d_environmentVariableName
Definition balcl_optioninfo.h:160