[#BloombergLP-baljsn-Decoder_RequiredAttrsVisitor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::Decoder_RequiredAttrsVisitor :relfileprefix: ../../ :mrdocs: This class provides a functor that finds and remembers all non‐optional sequence attributes. == Synopsis Declared in `<baljsn_decoder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct Decoder_RequiredAttrsVisitor; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/Decoder_RequiredAttrsVisitor/operator_call.adoc[`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 [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/Decoder_RequiredAttrsVisitor/d_requiredAttributes_p.adoc[`d_requiredAttributes_p`] | Set of required attribute names collected by this visitor (not owned). | xref:BloombergLP/baljsn/Decoder_RequiredAttrsVisitor/d_usesDefaultValueFlag.adoc[`d_usesDefaultValueFlag`] | Flag indicating whether default values are in use. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#