BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlt::FuzzUtil Struct Reference

#include <bdlt_fuzzutil.h>

Static Public Member Functions

static bdlt::Date consumeDate (bslim::FuzzDataView *fuzzDataView)
 
static bdlt::Date consumeDateInRange (bslim::FuzzDataView *fuzzDataView, const bdlt::Date &begin, const bdlt::Date &end)
 

Detailed Description

This utility struct provides a namespace for a suite of functions that produce objects of date and time values from fuzz data.

Member Function Documentation

◆ consumeDate()

bdlt::Date bdlt::FuzzUtil::consumeDate ( bslim::FuzzDataView fuzzDataView)
inlinestatic

Return a Date based on the next bytes from the specified fuzzDataView, and update fuzzDataView to reflect the bytes consumed.

◆ consumeDateInRange()

bdlt::Date bdlt::FuzzUtil::consumeDateInRange ( bslim::FuzzDataView fuzzDataView,
const bdlt::Date begin,
const bdlt::Date end 
)
inlinestatic

Return a Date between the specified begin and end dates based on the next bytes from the specified fuzzDataView, and update fuzzDataView to reflect the bytes consumed. The behavior is undefined unless begin <= end.


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