Base class for linked option nodes in a TestSpecificationGenerator.
Declared in <bslfmt_testspecificationgenerator.h>
class TestSpecificationGenerator_Option;
This class is a base class for TestSpecificationGenerator option nodes, which, when compiled into a list, represent the state of the generator. The payload and the process of changing this state are programmed into specific implementations of this interface. This class contains the basic functions of adding a new link to the options chain and finding the last link in the chain.
| Name | Description |
|---|---|
TestSpecificationGenerator_Option [constructor] | Create an object, having no successor in the list of generator options. |
~TestSpecificationGenerator_Option [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. |
| Name | Description |
|---|---|
TestSpecificationGenerator_BoolOption | This class is an implementation of the TestSpecificationGenerator_Option for options that have only two states: they are either present or not. |
TestSpecificationGenerator_TypedOption | Option node that iterates through a set of typed values. |