8#ifndef INCLUDED_BALCL_OPTION
9#define INCLUDED_BALCL_OPTION
98#include <balscm_version.h>
111#include <bsl_iosfwd.h>
112#include <bsl_string.h>
276 bsl::ostream&
print(bsl::ostream& stream,
278 int spacesPerLevel = 4)
const;
Definition balcl_occurrenceinfo.h:120
Definition balcl_option.h:132
const bsl::string & name() const
Return the name of this option.
BSLMF_NESTED_TRAIT_DECLARATION(Option, bslma::UsesBslmaAllocator)
Option(const OptionInfo &optionInfo, bslma::Allocator *basicAllocator=0)
const bsl::string & description() const
Return the description of this option.
bool isTagValid(bsl::ostream &stream) const
~Option()
Destroy this command-line option object.
Option(const Option &original, bslma::Allocator *basicAllocator=0)
Option & operator=(const OptionInfo &rhs)
bslma::Allocator * allocator() const
bool isNameValid(bsl::ostream &stream) const
OptionInfo::ArgType argType() const
bool isDescriptionValid(bsl::ostream &stream) const
bool isLongTagValid(const char *longTag, bsl::ostream &stream) const
const char * longTag() const
const bsl::string & tagString() const
Option & operator=(const Option &rhs)
const OccurrenceInfo & occurrenceInfo() const
Option(bslma::Allocator *basicAllocator)
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
const TypeInfo & typeInfo() const
const bsl::string & environmentVariableName() const
Return the environment variable name of this option.
BSLMF_NESTED_TRAIT_DECLARATION(Option, bdlb::HasPrintMethod)
Definition balcl_typeinfo.h:117
Definition bslstl_string.h:1281
Definition bslma_allocator.h:457
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition balcl_commandline.h:1364
bsl::ostream & operator<<(bsl::ostream &stream, const CommandLine &rhs)
Definition balcl_optioninfo.h:132
ArgType
Enumerate the categories of command-line arguments.
Definition balcl_optioninfo.h:137
Definition bdlb_printmethods.h:306
Definition bslma_usesbslmaallocator.h:343
Definition bsls_objectbuffer.h:276