BloombergLP::balber::BerDecoder

This class contains the parameterized decode functions that decode data (in BER format) from an incoming stream into bdlat types.

Synopsis

Declared in <balber_berdecoder.h>

class BerDecoder;

Enums

NameDescription
ErrorSeverity Severity of a log or error message produced during decoding.

Member Functions

NameDescription
BerDecoder [constructor]Construct a decoder object.
~BerDecoder [destructor]Destroy this object. This destruction has no effect on objects pointed-to by the pointers provided at construction.
decode decode overloads
decodeAny decodeAny overloads
decoderOptions Return the address of the BER decoder options.
errorSeverity Return the severity of the most severe log or error message encountered during the last call to the decode method.
loggedMessages Return a string containing any error or trace messages that were logged during the last call to the decode method. The log is reset each time decode is called.
maxDepthExceeded Return 'true' if the maximum depth level is exceeded and 'false' otherwise.
numUnknownElementsSkipped Return the number of unknown elements that were skipped during the previous decoding operation.
setNumUnknownElementsSkipped Set the number of unknown elements skipped by the decoder during the current decoding operation to the specified value.

Friends

NameDescription
BloombergLP::balber::BerDecoder_NodeThis class provides current context for BER decoding process and represents a node for BER element.