[#BloombergLP-balber-BerEncoder_Visitor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::BerEncoder&lowbar;Visitor
:relfileprefix: ../../
:mrdocs:

This class is used as a visitor for visiting contained objects during encoding&period; Produces always BER elements with CONTEXT&lowbar;SPECIFIC BER tag&period;

== Synopsis

Declared in `&lt;balber&lowbar;berencoder&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class BerEncoder&lowbar;Visitor;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balber/BerEncoder_Visitor/2constructor.adoc[`BerEncoder&lowbar;Visitor`]         [.small]#[constructor]#
| Create a visitor that encodes contained objects using the specified `encoder`&period;
| xref:BloombergLP/balber/BerEncoder_Visitor/2destructor.adoc[`&#126;BerEncoder&lowbar;Visitor`] [.small]#[destructor]#
| Destroy this visitor&period;
| xref:BloombergLP/balber/BerEncoder_Visitor/operator_call.adoc[`operator()`] 
| Encode the specified `value` using the specified attribute `info`&period; Return 0 on success, and a non&hyphen;zero value otherwise&period;
|===



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