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

Public Member Functions

 Asn1PerOutputStreamTraceHandler (Asn1PerOutputStream outs)
 
override void Enable ()
 
override void Print (System.IO.StreamWriter outs, System.String varName)
 
override void Reset ()
 
virtual void ResetTrace ()
 
- 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 for PER output stream. An object of the class is present in the Asn1PerOutputStream classes. It is accessed using the 'TraceHandler' property from objects of these classes.

Constructor & Destructor Documentation

◆ Asn1PerOutputStreamTraceHandler()

This constructor initializes the internal trace handler member variables.

Parameters
outsPER message stream object reference

Member Function Documentation

◆ Enable()

override void Enable ( )
virtual

This method is used to turn PER bit tracing on

Implements Asn1PerTraceHandler.

References Asn1PerOutputStream.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().

Referenced by Asn1PerOutputStream.BinDump().

◆ Reset()

override void Reset ( )
virtual

This method does nothing here.

Implements Asn1PerTraceHandler.

◆ ResetTrace()

virtual void ResetTrace ( )
virtual

This method resets the trace bit field list.