[#BloombergLP-balxml-Decoder_SimpleContext] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::Decoder_SimpleContext :relfileprefix: ../../ :mrdocs: COMPONENT‐PRIVATE CLASS. DO NOT USE OUTSIDE OF THIS COMPONENT. == Synopsis Declared in `<balxml_decoder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> class Decoder_SimpleContext : public xref:BloombergLP/balxml/Decoder_ElementContext.adoc[Decoder_ElementContext] ---- == Description Context for simple types (uses TypesParserUtil). == Base Classes [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/balxml/Decoder_ElementContext.adoc[Decoder_ElementContext]` | COMPONENT‐PRIVATE CLASS. DO NOT USE OUTSIDE OF THIS COMPONENT. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balxml/Decoder_SimpleContext/2constructor.adoc[`Decoder_SimpleContext`] [.small]#[constructor]# | Create a simple‐type parsing context for the specified `object` using the specified `formattingMode`. | xref:BloombergLP/balxml/Decoder_SimpleContext/addCharacters.adoc[`addCharacters`] [.small]#[virtual]# | Process the specified character data while decoding. Return 0 on success, and a non‐zero value otherwise. | xref:BloombergLP/balxml/Decoder_ElementContext/beginParse.adoc[`beginParse`] | Invoked when the decoder begins parsing. Return 0 on success, and a non‐zero value otherwise. | xref:BloombergLP/balxml/Decoder_SimpleContext/endElement.adoc[`endElement`] [.small]#[virtual]# | Invoked when the decoder finishes parsing an element. Return 0 on success, and a non‐zero value otherwise. | xref:BloombergLP/balxml/Decoder_SimpleContext/parseAttribute.adoc[`parseAttribute`] [.small]#[virtual]# | Invoked when the decoder encounters an attribute of a simple‐type element. Return 0 on success, and a non‐zero value otherwise. | xref:BloombergLP/balxml/Decoder_SimpleContext/parseSubElement.adoc[`parseSubElement`] [.small]#[virtual]# | Invoked when the decoder encounters a sub‐element. Return 0 on success, and a non‐zero value otherwise. | xref:BloombergLP/balxml/Decoder_SimpleContext/startElement.adoc[`startElement`] [.small]#[virtual]# | Invoked when the decoder begins parsing a simple‐type element. Return 0 on success, and a non‐zero value otherwise. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#