|
| | BSLMF_NESTED_TRAIT_DECLARATION (OccurrenceInfo, bslma::UsesBslmaAllocator) |
| |
| | BSLMF_NESTED_TRAIT_DECLARATION (OccurrenceInfo, bdlb::HasPrintMethod) |
| |
| | OccurrenceInfo () |
| |
| | OccurrenceInfo (bslma::Allocator *basicAllocator) |
| |
| | OccurrenceInfo (OccurrenceType type, bslma::Allocator *basicAllocator=0) |
| |
| | OccurrenceInfo (char defaultValue, bslma::Allocator *basicAllocator=0) |
| |
| | OccurrenceInfo (int defaultValue, bslma::Allocator *basicAllocator=0) |
| |
| | OccurrenceInfo (bsls::Types::Int64 defaultValue, bslma::Allocator *basicAllocator=0) |
| |
| | OccurrenceInfo (double defaultValue, bslma::Allocator *basicAllocator=0) |
| |
| | OccurrenceInfo (const bsl::string &defaultValue, bslma::Allocator *basicAllocator=0) |
| |
| | OccurrenceInfo (const bdlt::Datetime &defaultValue, bslma::Allocator *basicAllocator=0) |
| |
| | OccurrenceInfo (const bdlt::Date &defaultValue, bslma::Allocator *basicAllocator=0) |
| |
| | OccurrenceInfo (const bdlt::Time &defaultValue, bslma::Allocator *basicAllocator=0) |
| |
| | OccurrenceInfo (const bsl::vector< char > &defaultValue, bslma::Allocator *basicAllocator=0) |
| |
| | OccurrenceInfo (const bsl::vector< int > &defaultValue, bslma::Allocator *basicAllocator=0) |
| |
| | OccurrenceInfo (const bsl::vector< bsls::Types::Int64 > &defaultValue, bslma::Allocator *basicAllocator=0) |
| |
| | OccurrenceInfo (const bsl::vector< double > &defaultValue, bslma::Allocator *basicAllocator=0) |
| |
| | OccurrenceInfo (const bsl::vector< bsl::string > &defaultValue, bslma::Allocator *basicAllocator=0) |
| |
| | OccurrenceInfo (const bsl::vector< bdlt::Datetime > &defaultValue, bslma::Allocator *basicAllocator=0) |
| |
| | OccurrenceInfo (const bsl::vector< bdlt::Date > &defaultValue, bslma::Allocator *basicAllocator=0) |
| |
| | OccurrenceInfo (const bsl::vector< bdlt::Time > &defaultValue, bslma::Allocator *basicAllocator=0) |
| |
| | OccurrenceInfo (const OccurrenceInfo &original, bslma::Allocator *basicAllocator=0) |
| |
| | ~OccurrenceInfo () |
| | Destroy this object.
|
| |
| OccurrenceInfo & | operator= (const OccurrenceInfo &rhs) |
| |
| void | setDefaultValue (const OptionValue &defaultValue) |
| |
| void | setHidden () |
| |
| const OptionValue & | defaultValue () const |
| | Return a const reference to the default value of this object.
|
| |
| bool | hasDefaultValue () const |
| |
| bool | isHidden () const |
| |
| bool | isRequired () const |
| |
| OccurrenceType | occurrenceType () const |
| |
| bslma::Allocator * | allocator () const |
| |
| bsl::ostream & | print (bsl::ostream &stream, int level=0, int spacesPerLevel=4) const |
| |
This class is a simple attribute class that describes a command-line option occurrence requirement (i.e., required, optional, or optional but hidden) and default value, if any.
See balcl_occurrenceinfo