BDE 4.14.0 Production release
Loading...
Searching...
No Matches
balcl_option

Detailed Description

Outline

Purpose

Provide an allocator-aware command-line-option descriptor class.

Classes

See also
balcl_optioninfo, balcl_commandline

Description

This component provides an unconstrained, allocator-aware, in-core (value-semantic) attribute class, balcl::Option, that describes a command-line option. Class balcl::Option is used to specify the user-defined command-line options accepted by a balcl::CommandLine object.

The value of a balcl::Option object is the same as that of the balcl::OptionInfo object accessible from the option object via a conversion operator. That value consists of several (subordinate) attributes:

Since balcl::TypeInfo is an in-core VST, so is balcl::Option.

When constructing a balcl::Option from a balcl::OptionInfo object, the class places no constraints on the latter's value except, of course, for the constraints required by the types that compose the balcl::OptionInfo class.

Additionally, the balcl::Option class provides:

Usage

The intended use of this component is illustrated in Usage .