Options for bdlat::FuzzUtil.

Synopsis

Declared in <bdlat_fuzzutiloptions.h>

class FuzzUtilOptions;

Member Functions

Name

Description

FuzzUtilOptions [constructor]

Set all the attributes to to the corresponding default values.

maxArrayLength

Return the maximum array length.

maxStringLength

Return the maximum string length.

printableAsciiCharsOnly

Return whether to generate only printable ASCII characters for strings.

setMaxArrayLength

Set the maximum array length to the specified value. Return a reference to *this.

setMaxStringLength

Set the maximum string length to the specified value. Return a reference to *this.

setPrintableAsciiCharsOnly

Set whether to generate only printable ASCII characters for strings.

Static Data Members

Name

Description

k_MAX_ARRAY_LENGTH_DEFAULT

Default maximum length for generated arrays.

k_MAX_STRING_LENGTH_DEFAULT

Default maximum length for generated strings.

k_PRINTABLE_ASCII_CHARS_ONLY_DEFAULT

Default for whether generated strings use only printable ASCII.

Non-Member Functions

Name

Description

operator!=

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two FuzzUtilOptions objects do not have the same value if any of the corresponding values of their maxArrayLength, maxStringLength, and printableAsciiCharsOnly attributes are not the same.

operator==

Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two FuzzUtilOptions objects have the same value if all of the corresponding values of their maxArrayLength, maxStringLength, and printableAsciiCharsOnly attributes are the same.

Created with MrDocs