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

Public Member Functions

 Asn1PerEncodeTraceHandler (Asn1PerEncodeBuffer 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 objects of these classes.

Constructor & Destructor Documentation

◆ Asn1PerEncodeTraceHandler()

This constructor initializes internal trace handler member variables.

Parameters
messageBufferPER encode message buffer object reference

Member Function Documentation

◆ Enable()

override void Enable ( )
virtual

This method is used to turn PER bit tracing on

Implements Asn1PerTraceHandler.

◆ 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 Asn1PerMessageBuffer.GetInputStream(), and Asn1PerBitFieldPrinter.Print().

◆ Reset()

override void Reset ( )
virtual

This method resets the trace bit field list.

Implements Asn1PerTraceHandler.