This class provides current context for BER decoding process and represents a node for BER element.
Synopsis
Declared in <balber_berdecoder.h>
class BerDecoder_Node;
Description
The BER element consists of element tag, length field, body field and optional end of tag. The class also provides various methods to read the different parts of BER element such as tag header (tag itself and length fields), body for any type of data, and optional tag trailer.
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this decoder node. |
Return field name for this node. |
|
Return formatting mode for this node. |
|
Return |
|
Return expected length of the body or ‐1 when the length is indefinite. |
|
Log a decode error for this node and return a non‐zero value. |
|
Function call operators |
|
Return the address of the parent node. |
|
Print this node to the specified |
|
Print the chain of nodes to the specified |
|
Read the node tag field containing tag class, tag type and tag number, and the node length field. Return zero on success, and a non‐zero value otherwise. |
|
Read the node end‐of‐octets field, if present. |
|
Load the node body content into the specified |
|
Load the node body content into the specified |
|
Set the object field name associated with this node to the specified |
|
Set the formatting mode to the specified |
|
Skip the field body of the current node. |
|
Return the position of node tag from the beginning of input stream. |
|
Return the BER tag class for this node. |
|
Return the BER tag number for this node. |
|
Return the BER tag type for this node. |
Created with MrDocs