[#BloombergLP-balxml-HexParser]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::HexParser
:relfileprefix: ../../
:mrdocs:

This is a push parser for supported Hex types (`bsl&colon;&colon;vector&lt;char&gt;` or `bsl&colon;&colon;string`)&period;

== Synopsis

Declared in `&lt;balxml&lowbar;hexparser&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
class HexParser;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balxml/HexParser/2constructor.adoc[`HexParser`]         [.small]#[constructor]#
| Create a parser for parsing Hex types&period;
| xref:BloombergLP/balxml/HexParser/beginParse.adoc[`beginParse`] 
| Prepare the parser to start parsing a new value and associate the specified `object` with the parser&period; Return 0 if successful and non&hyphen;zero otherwise&period;
| xref:BloombergLP/balxml/HexParser/endParse.adoc[`endParse`] 
| Ends the parse operation and store the value parsed from the pushed characters into the associated object&period; Return 0 if successful and non&hyphen;zero otherwise&period; The behavior is undefined unless an object is associated with this parser&period; Upon successful completion, the parser will be disassociated with the object&period;
| xref:BloombergLP/balxml/HexParser/pushCharacters.adoc[`pushCharacters`] 
| Push the characters ranging from the specified `begin` up to (but not including) the specified `end` into this parser&period; Return 0 if successful and non&hyphen;zero otherwise&period; The parameterized `INPUT&lowbar;ITERATOR` must be dereferenceable to a `char` value&period; The behavior is undefined unless an object is associated with this parser&period;
|===



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