[#BloombergLP-baljsn-Decoder_RequiredAttrsVisitor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::Decoder&lowbar;RequiredAttrsVisitor
:relfileprefix: ../../
:mrdocs:

This class provides a functor that finds and remembers all non&hyphen;optional sequence attributes&period;

== Synopsis

Declared in `&lt;baljsn&lowbar;decoder&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct Decoder&lowbar;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&period; Return 0 on success and a non&hyphen;zero value otherwise&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/baljsn/Decoder_RequiredAttrsVisitor/d_requiredAttributes_p.adoc[`d&lowbar;requiredAttributes&lowbar;p`] 
| Set of required attribute names collected by this visitor (not owned)&period;
| xref:BloombergLP/baljsn/Decoder_RequiredAttrsVisitor/d_usesDefaultValueFlag.adoc[`d&lowbar;usesDefaultValueFlag`] 
| Flag indicating whether default values are in use&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
