BDE 4.14.0 Production release
Loading...
Searching...
No Matches
balxml::Base64Parser< TYPE > Class Template Reference

#include <balxml_base64parser.h>

Public Member Functions

 Base64Parser ()
 Create a parser for parsing Base64 types.
 
int beginParse (TYPE *object)
 
int endParse ()
 
template<class INPUT_ITERATOR >
int pushCharacters (INPUT_ITERATOR begin, INPUT_ITERATOR end)
 

Detailed Description

template<class TYPE>
class balxml::Base64Parser< TYPE >

This is a push parser for supported Base64 types (bsl::vector<char> or bsl::string).

See balxml_base64parser

Constructor & Destructor Documentation

◆ Base64Parser()

template<class TYPE >
balxml::Base64Parser< TYPE >::Base64Parser ( )

Member Function Documentation

◆ beginParse()

template<class TYPE >
int balxml::Base64Parser< TYPE >::beginParse ( TYPE *  object)

Prepare the parser to start parsing a new value and associate the specified object with the parser. Return 0 if successful and non-zero otherwise.

◆ endParse()

template<class TYPE >
int balxml::Base64Parser< TYPE >::endParse ( )

Ends the parse operation and store the value parsed from the pushed characters into the associated object. Return 0 if successful and non-zero otherwise. The behavior is undefined unless an object is associated with this parser. Upon successful completion, the parser will be disassociated with the object.

◆ pushCharacters()

template<class TYPE >
template<class INPUT_ITERATOR >
int balxml::Base64Parser< TYPE >::pushCharacters ( INPUT_ITERATOR  begin,
INPUT_ITERATOR  end 
)

Push the characters ranging from the specified begin up to (but not including) the specified end into this parser. Return 0 if successful and non-zero otherwise. The parameterized INPUT_ITERATOR must be dereferenceable to a char value. The behavior is undefined unless an object is associated with this parser.


The documentation for this class was generated from the following file: