ASN1C C# Runtime Library
7.4
|
Public Member Functions | |
Asn1PerBitField (System.String name, int bitOffset, int bitCount) | |
virtual void | SetBitCountAndOffset (int count, int offset) |
Properties | |
virtual int | BitCount [get, set] |
virtual int | BitOffset [get, set] |
virtual System.String | Name [get, set] |
This class is used to store information on an individual bit field within a PER message. The information can be used to print a bit trace of the components of a message. It is used in conjunction with the Asn1PerBitFieldList class to map all bits in a message.
Asn1PerBitField | ( | System.String | name, |
int | bitOffset, | ||
int | bitCount | ||
) |
This constructor initializes all of the variables used to track the bit fields.
name | Name of the bit field. |
bitOffset | Offset within buffer to the bit field |
bitCount | Number of bits in the bit field |
|
virtual |
This method sets the count of bits in the bit field and the offset to the bit field in the message buffer.
count | Number of bits in the bit field |
offset | Offset within buffer to the bit field |
|
getset |
Gets and Sets the number of bits in the bit field.
Value:
Number of bits.
Referenced by Asn1PerBitFieldPrinter.Print(), and Asn1PerTraceHandler.SetBitCount().
|
getset |
Gets and Sets the offset to the bit field in the message buffer.
Value:
Offset of the bitfield
Referenced by Asn1PerBitFieldPrinter.Print(), Asn1PerBitFieldList.ReplaceLastFieldWithDetail(), and Asn1PerTraceHandler.SetBitCount().
|
getset |
This method returns the name assigned to the bit field.
Value:
Bitfield name
Referenced by Asn1PerBitFieldPrinter.Print(), and Asn1PerBitFieldList.ReplaceLastFieldWithDetail().