class BERTREE

Base Class for single BER Record

Inheritance:

Public Methods

void AddPointer (UCHR *p)
Add a new data pointer
BERTREE (ASN1TAG tag)
Constructor - Create a new tagged BERTREE
BERTREE (const STRING & Filename)
Constructor - Create BERTREE from BER file.
BERTREE (UCHR *buf, INT4 len)
Constructor - Create BERTREE from buffered BER.
void DeletePointers ()
Delete data pointers
void Error (CHR *Msg)
Set Error Message
void ExitOnError (INT YesOrNo)
Set Exit On Error flag
PUCHR GetRecord (INT4 *len)
Get a character record
void GetRecordLength (INT4 *Length)
Get the length of a record
void HexDir ()
Hex Dump this tree to STDERR
void HexDir (ostream &os)
Hex Dump this tree to a file
friend ostream& operator<< (ostream& os, BERTREE& b)
Stream input function
~BERTREE ()
Basic Destructor

Protected Classes

enum
default number of dir_nodes to allocate
NUMDIRS

Protected Fields

UCHR* c_buf
PDATA_DIR c_dir
root of directory structure
INT c_exit_on_error
UCHR** c_ptrlist
c_ptrlist_count
c_ptrlist_maxcount

Protected Methods

void Init ()
Initialize the BERTREE

Protected

enum
default number of dir_nodes to allocate
NUMDIRS

Private Fields

friend class BERBROWSER

Documentation

Base Class for single BER Record
friend class BERBROWSER

void Init()
Initialize the BERTREE

PDATA_DIR c_dir
root of directory structure

enum
default number of dir_nodes to allocate

NUMDIRS

INT c_exit_on_error

c_ptrlist_count

c_ptrlist_maxcount

UCHR** c_ptrlist

UCHR* c_buf

BERTREE(const STRING & Filename)
Constructor - Create BERTREE from BER file.

BERTREE(UCHR *buf, INT4 len)
Constructor - Create BERTREE from buffered BER.

BERTREE(ASN1TAG tag)
Constructor - Create a new tagged BERTREE

~BERTREE()
Basic Destructor

void ExitOnError(INT YesOrNo)
Set Exit On Error flag

void Error(CHR *Msg)
Set Error Message

void AddPointer(UCHR *p)
Add a new data pointer

void DeletePointers()
Delete data pointers

PUCHR GetRecord(INT4 *len)
Get a character record

void GetRecordLength(INT4 *Length)
Get the length of a record

void HexDir(ostream &os)
Hex Dump this tree to a file

void HexDir()
Hex Dump this tree to STDERR

friend ostream& operator<<(ostream& os, BERTREE& b)
Stream input function

Direct child classes:
ZPDU

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Z&oumlckler, Roland Wunderling
contact: doc++@zib.de