ASN1C C# Runtime Library  7.8
Public Member Functions | List of all members
Asn1PerDecodeTraceHandler Class Reference
Inheritance diagram for Asn1PerDecodeTraceHandler:
Asn1PerTraceHandler

Public Member Functions

 Asn1PerDecodeTraceHandler (Asn1PerDecodeBuffer messageBuffer)
 
override void Enable ()
 
override void Print (System.IO.StreamWriter outs, System.String varName)
 
override void Reset ()
 
- Public Member Functions inherited from Asn1PerTraceHandler
virtual void AddElemName (System.String name, int arrayx)
 
bool IsEnabled ()
 
virtual void NewBitField (System.String name, int bitCount)
 
virtual void RemoveLastElemName ()
 
void ReplaceLastFieldWithDetail (Asn1PerTraceHandler details)
 
virtual void SetBitCount ()
 
virtual void SetBitOffset ()
 

Additional Inherited Members

- Properties inherited from Asn1PerTraceHandler
virtual Asn1PerBitFieldList BitFieldList [get]
 

Detailed Description

This is a utility class for handling the collection and printing of PER bit field trace information. An object of the class is present within both the Asn1PerEncodeBuffer and Asn1PerDecodeBuffer classes. It is accessed using the 'TraceHandler' property from within objects of these classes.

Constructor & Destructor Documentation

◆ Asn1PerDecodeTraceHandler()

This constructor initializes the internal trace handler member variables.

Parameters
messageBufferPER decode message buffer object reference

Member Function Documentation

◆ Enable()

override void Enable ( )
virtual

This method is used to turn PER bit tracing on

Implements Asn1PerTraceHandler.

References Asn1DecodeBuffer.AddCaptureBuffer().

◆ Print()

override void Print ( System.IO.StreamWriter  outs,
System.String  varName 
)
virtual

This method prints the trace to the given output stream in a default format.

Parameters
outsPrint stream to which output is to be written.
varNameName of the object variable being printed.

Implements Asn1PerTraceHandler.

References Asn1PerBitFieldPrinter.Print().

◆ Reset()

override void Reset ( )
virtual

This method resets the trace bit field list.

Implements Asn1PerTraceHandler.