BloombergLP::balcl::Option::Option

Constructors

Synopses

Declared in <balcl_option.h>

Create a default (empty) command-line option. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Option();
» more...

Create a default (empty) command-line option using the specified basicAllocator to supply memory.

explicit
Option(bslma::Allocator* basicAllocator);
» more...

Create a Option object having the same value as the specified original object. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Option(
    Option const& original,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a command-line option containing the value of the specified optionInfo. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

explicit
Option(
    OptionInfo const& optionInfo,
    bslma::Allocator* basicAllocator = 0);
» more...