#include <bdlat_fuzzutil.h>
This utility class provides a namespace for a suite of functions operating on objects of type bslim::FuzzDataView and providing the consumption of fuzz data bytes into bdlat-compatible types.
See bdlat_fuzzutil
◆ consumeMessage() [1/2]
template<class t_MESSAGE >
Load into the specified message content generated using bytes from the specified fuzzData, and update fuzzData to reflect the bytes consumed. Optionally specify an options to customize the generated values. If options is not supplied, default values for the options are used. In general, this operation uses fuzzData to load the root message element, and then recursively applies consumeMessage to any child elements. More specifically:
- sequence types: recursively
consumeMessage on each of the elements of the sequence
- array types: use
fuzzData to determine the size of the array, use consumeMessage on each of the elements in the array
- choice types: use
fuzzData to select the active element of the choice, and then recursively consumeMessage for that element
- nullable values: use
fuzzData to select whether the object contains a value, and if it is engaged, recursively consumeMessage on it.
- customized and dynamic types: recursively
consumeMessage on the underlying value.
t_MESSAGE must be a bdlat-compatible type.
◆ consumeMessage() [2/2]
template<class t_MESSAGE >
◆ FuzzUtil_Manipulator
◆ FuzzUtil_ManipulatorWithCategory
The documentation for this class was generated from the following file: