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.

Asn1DiscreteCharSet Class Reference

Inheritance diagram for Asn1DiscreteCharSet:

Asn1CharSet List of all members.

Detailed Description

This class is used to represent a discrete set of characters from a permitted alphabet.


Public Member Functions

 Asn1DiscreteCharSet (int[] charSet)
 Asn1DiscreteCharSet (System.String charSet)
override int GetCharAtIndex (int index)
override int GetCharIndex (int charValue)

Properties

override int MaxValue


Constructor & Destructor Documentation

Asn1DiscreteCharSet System.String  charSet  ) 
 

This constructor sets the permitted alphabet chracter set

Parameters:
charSet Permitted alphabet character set

Asn1DiscreteCharSet int[]  charSet  ) 
 

This constructor sets the permitted alphabet chracter set

Parameters:
charSet Permitted alphabet character set


Member Function Documentation

override int GetCharAtIndex int  index  )  [virtual]
 

This method will fetch the character from the permitted alphabet at the given index.

Parameters:
index Index of character within the character set
Returns:
Character at given index
Exceptions:
Asn1ConsVioException Thrown if index not within define range

Implements Asn1CharSet.

override int GetCharIndex int  charValue  )  [virtual]
 

This method will determine the index of the given character within the permitted alphabet character set.

Parameters:
charValue Character value to search for
Returns:
Index of character
Exceptions:
Asn1ConsVioException thrown if 'charValue' not found in set

Implements Asn1CharSet.


Property Documentation

override int MaxValue [get]
 

Gets Upper Bound Character or Character with max int value. It will determine the maximum value of the given character within the permitted alphabet character set. As the charset is canonical order, max value is of the last character.

Reimplemented from Asn1CharSet.


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