BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bdlat::FuzzUtilOptions Class Reference

#include <bdlat_fuzzutiloptions.h>

Detailed Description

Public Member Functions

 FuzzUtilOptions ()
 
FuzzUtilOptions & setMaxArrayLength (unsigned value)
 
FuzzUtilOptions & setMaxStringLength (unsigned value)
 
FuzzUtilOptions & setPrintableAsciiCharsOnly (bool value)
 
unsigned maxArrayLength () const
 
unsigned maxStringLength () const
 
bool printableAsciiCharsOnly () const
 

Static Public Attributes

static const unsigned k_MAX_ARRAY_LENGTH_DEFAULT = 8
 
static const unsigned k_MAX_STRING_LENGTH_DEFAULT = 32
 
static const bool k_PRINTABLE_ASCII_CHARS_ONLY_DEFAULT = true
 

Constructor & Destructor Documentation

◆ FuzzUtilOptions()

bdlat::FuzzUtilOptions::FuzzUtilOptions ( )

Set all the attributes to to the corresponding default values.

Member Function Documentation

◆ maxArrayLength()

unsigned bdlat::FuzzUtilOptions::maxArrayLength ( ) const
inline

Return the maximum array length.

◆ maxStringLength()

unsigned bdlat::FuzzUtilOptions::maxStringLength ( ) const
inline

Return the maximum string length.

◆ printableAsciiCharsOnly()

bool bdlat::FuzzUtilOptions::printableAsciiCharsOnly ( ) const
inline

Return whether to generate only printable ASCII characters for strings.

◆ setMaxArrayLength()

FuzzUtilOptions & bdlat::FuzzUtilOptions::setMaxArrayLength ( unsigned  value)
inline

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

◆ setMaxStringLength()

FuzzUtilOptions & bdlat::FuzzUtilOptions::setMaxStringLength ( unsigned  value)
inline

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

◆ setPrintableAsciiCharsOnly()

FuzzUtilOptions & bdlat::FuzzUtilOptions::setPrintableAsciiCharsOnly ( bool  value)
inline

Set whether to generate only printable ASCII characters for strings.

Member Data Documentation

◆ k_MAX_ARRAY_LENGTH_DEFAULT

const unsigned bdlat::FuzzUtilOptions::k_MAX_ARRAY_LENGTH_DEFAULT = 8
static

Default values.

◆ k_MAX_STRING_LENGTH_DEFAULT

const unsigned bdlat::FuzzUtilOptions::k_MAX_STRING_LENGTH_DEFAULT = 32
static

◆ k_PRINTABLE_ASCII_CHARS_ONLY_DEFAULT

const bool bdlat::FuzzUtilOptions::k_PRINTABLE_ASCII_CHARS_ONLY_DEFAULT = true
static

The documentation for this class was generated from the following file: