Construct an OccurrenceInfo of the specified occurrence type.
Declared in <balcl_occurrenceinfo.h>
OccurrenceInfo(
OccurrenceType type,
bslma::Allocator* basicAllocator = 0);
Construct an OccurrenceInfo object that describes a command-line option of the specified type and has no default value. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
| Name | Description |
|---|---|
| type | occurrence requirement for the described option |
| basicAllocator | memory allocator; null uses the default |