Asn1PerBitFieldList Class Reference
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 () |
virtual void | Reset () |
Properties | |
virtual int | BitOffset [set] |
virtual Asn1PerBitField | CurrBitField [get] |
Detailed Description
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.
Member Function Documentation
virtual void AddElemName | ( | System.String | name, | |
int | arrayx | |||
) | [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).
- Parameters:
-
name Name component to append to string arrayx Array index if named item is an element in an array (set to -1 otherwise)
virtual System.Collections.IEnumerator Iterator | ( | ) | [virtual] |
This method returns an iterator to the encapsulated bit field linked list object.
- Returns:
- System.Collections.IEnumerator value of this list
virtual Asn1PerBitField NewBitField | ( | System.String | nameSuffix, | |
int | bitOffset, | |||
int | bitCount | |||
) | [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.
- Parameters:
-
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.
- Returns:
- Created bit field
virtual void RemoveLastElemName | ( | ) | [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.
virtual void Reset | ( | ) | [virtual] |
This method resets the object.
Property Documentation
virtual int BitOffset [set] |
Set the current bit offset in the bit field.
Value:
The bit offset
virtual Asn1PerBitField CurrBitField [get] |
Gets a reference to the current bit field object (i.e. the one that was last created).
Value:
Current bit field