Objective Systems, Inc.  
Home
About ASN.1
Products
Free Software
Open Source
Documents
Services
Resources
Resellers
Customers
Careers
About Us
Contact Us
 

Google


Objective Systems, Inc.

Asn1PerBitFieldList Class Reference

List of all members.

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.


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
virtual Asn1PerBitField CurrBitField


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


Copyright © 1997-2005 Objective Systems,Inc.
All Rights Reserved.
This document may be distributed in any form, electronic
or otherwise, provided that it is distributed in its entirety
and that the copyright and this notice are included.

This file was last modified on 18 Nov 2005.
ASN1C C# Runtime Library, 5.8