Asn1PerBitField Class Reference

List of all members.

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]

Detailed Description

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.


Constructor & Destructor Documentation

Asn1PerBitField ( System.String  name,
int  bitOffset,
int  bitCount 
)

This constructor initializes all of the variables used to track the bit fields.

Parameters:
name Name of the bit field.
bitOffset Offset within buffer to the bit field
bitCount Number of bits in the bit field

Member Function Documentation

virtual void SetBitCountAndOffset ( int  count,
int  offset 
) [virtual]

This method sets the count of bits in the bit field and the offset to the bit field in the message buffer.

Parameters:
count Number of bits in the bit field
offset Offset within buffer to the bit field

Property Documentation

virtual int BitCount [get, set]

Gets and Sets the number of bits in the bit field.

Value: Number of bits.

virtual int BitOffset [get, set]

Gets and Sets the offset to the bit field in the message buffer.

Value: Offset of the bitfield

virtual System.String Name [get]

This method returns the name assigned to the bit field.

Value: Bitfield name