8#ifndef INCLUDED_BALXML_BASE64PARSER
9#define INCLUDED_BALXML_BASE64PARSER
138#include <balscm_version.h>
144#include <bsl_iterator.h>
204 template <
class INPUT_ITERATOR>
219: d_base64Decoder(true)
230 enum { k_SUCCESS = 0 };
232 d_base64Decoder.resetState();
245 enum { k_SUCCESS = 0, k_FAILURE = -1 };
247 bsl::back_insert_iterator<TYPE> outputIterator(*d_object_p);
249 int status = d_base64Decoder.endConvert(outputIterator);
263template <
class INPUT_ITERATOR>
269 enum { k_SUCCESS = 0, k_FAILURE = -1 };
271 bsl::back_insert_iterator<TYPE> outputIterator(*d_object_p);
273 int status = d_base64Decoder.convert(outputIterator, begin, end);
Definition balxml_base64parser.h:161
int pushCharacters(INPUT_ITERATOR begin, INPUT_ITERATOR end)
Definition balxml_base64parser.h:264
int beginParse(TYPE *object)
Definition balxml_base64parser.h:226
int endParse()
Definition balxml_base64parser.h:241
Base64Parser()
Create a parser for parsing Base64 types.
Definition balxml_base64parser.h:218
Definition bdlde_base64decoder.h:512
#define BSLS_ASSERT(X)
Definition bsls_assert.h:1804
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition balxml_base64parser.h:150
void reset(TYPE *object)
Reset the value of the specified object to its default value.