ASN1C C# Runtime Library
7.5
|
Public Member Functions | |
virtual void | AddElemName (System.String name, int arrayx) |
virtual System.Collections.IEnumerator | Iterator () |
virtual Asn1PerBitField | NewBitField (System.String nameSuffix, int bitOffset, int bitCount) |
virtual void | RemoveLastElemName () |
void | ReplaceLastFieldWithDetail (Asn1PerBitFieldList details) |
virtual void | Reset () |
Properties | |
virtual int | BitOffset [set] |
virtual Asn1PerBitField | CurrBitField [get] |
This class is used to map all of the bit fields in a PER message. After encoding or decoding is complete, this object can be used to provide a formatted printout of all of the message fields.
|
virtual |
This method adds an element name to the current fully qualified name. The fully qualified name is a string of name components separated by dots (ex. a.b.c).
name | Name component to append to string |
arrayx | Array index if named item is an element in an array (set to -1 otherwise) |
Referenced by Asn1PerTraceHandler.AddElemName().
|
virtual |
This method returns an iterator to the encapsulated bit field linked list object.
Referenced by Asn1PerBitFieldPrinter.Print(), and Asn1PerBitFieldList.ReplaceLastFieldWithDetail().
|
virtual |
This method creates a new bit field object with the given properties and appends it to the bit field list. Also sets as current bit field.
nameSuffix | Suffix to add to fully qualified name for this field (for example, 'length') |
bitOffset | Offset to the start of this field in bits from the beginning of the encode buffer. |
bitCount | Number of bits in the field. |
Referenced by Asn1PerTraceHandler.NewBitField().
|
virtual |
This method removes the last element name in the current fully qualified name string. For example, if the current string is 'a.b.c', it will be 'a.b' after calling this method.
Referenced by Asn1PerTraceHandler.RemoveLastElemName().
void ReplaceLastFieldWithDetail | ( | Asn1PerBitFieldList | details | ) |
Replaces the last bit field in this bit trace handler with the fields from the given trace handler, which are assumed to be a breakdown of the last field.
details | field list to take details from |
References Asn1PerBitField.BitOffset, Asn1PerBitFieldList.Iterator(), and Asn1PerBitField.Name.
Referenced by Asn1PerTraceHandler.ReplaceLastFieldWithDetail().
|
virtual |
This method resets the object.
|
set |
Set the current bit offset in the bit field.
Value:
The bit offset
Referenced by Asn1PerTraceHandler.SetBitOffset().
|
get |
Gets a reference to the current bit field object (i.e. the one that was last created).
Value:
Current bit field
Referenced by Asn1PerTraceHandler.SetBitCount().