This class provides a functor that finds and remembers all non‐optional sequence attributes.

Synopsis

Declared in <baljsn_decoder.h>

struct Decoder_RequiredAttrsVisitor;

Member Functions

Name

Description

operator()

Record the specified info for the specified value if the attribute is required. Return 0 on success and a non‐zero value otherwise.

Data Members

Name

Description

d_requiredAttributes_p

Set of required attribute names collected by this visitor (not owned).

d_usesDefaultValueFlag

Flag indicating whether default values are in use.

Created with MrDocs