Construct an OccurrenceInfo of the specified occurrence type.
Synopsis
Declared in <balcl_occurrenceinfo.h>
OccurrenceInfo(
OccurrenceType type,
bslma::Allocator* basicAllocator = 0);
Description
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.
Parameters
Name |
Description |
type |
occurrence requirement for the described option |
basicAllocator |
memory allocator; null uses the default |
Created with MrDocs