This class is an implementation of the TestSpecificationGenerator_Option for options that have only two states: they are either present or not.
Declared in <bslfmt_testspecificationgenerator.h>
class TestSpecificationGenerator_BoolOption
: public TestSpecificationGenerator_Option
| Name | Description |
|---|---|
TestSpecificationGenerator_Option | Base class for linked option nodes in a TestSpecificationGenerator. |
| Name | Description |
|---|---|
TestSpecificationGenerator_BoolOption [constructor] | Create an object that displays its state through the specified value. |
~TestSpecificationGenerator_BoolOption [destructor] [virtual] | Destroy this object. |
lastOption | Return the pointer to the last item in the list of generator options (this object can also be one). |
nextOption | Return the pointer to the next item in the list of generator options if such an object exists and null otherwise. |
nextState [virtual] | Switch the state of this object to the next one. |
setNextOption | Set the specified nextOption as a successor in the list of generator options. Use the specified allocator to supply memory. |