This class serves the purpose to automatically increment‐decrement the current depth level.

Synopsis

Declared in <balber_berencoder.h>

class BerEncoder_LevelGuard;

Member Functions

Name

Description

BerEncoder_LevelGuard [constructor]

Increment the current depth level of the specified encoder and restore it on destruction.

~BerEncoder_LevelGuard [destructor]

Decrement the current depth level of the held encoder.

Created with MrDocs