|
|
 |
 |
|
Asn1CharRange Class ReferenceInheritance diagram for Asn1CharRange:
List of all members.
Detailed Description
- This class is used to represent a permitted alphabet that is specified
- as a large, continuous range of characters. An example of this can be found in the following extract from T.124:
- simpleTextFirstCharacter UniversalString ::= {0, 0, 0, 0}
- simpleTextLastCharacter UniversalString ::= {0, 0, 0, 255}
- SimpleTextString ::= BMPString (SIZE (0..255))
- (FROM (simpleTextFirstCharacter..simpleTextLastCharacter))
- This class is mainly for internal use by the compiler when generating
- methods that encode/Decode PER charater string components containing permitted alphabet constraints.
Constructor & Destructor Documentation
|
|
This constructor sets the range values.
- Parameters:
-
| lower | Range lower value |
| upper | Range upper value |
|
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:
-
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:
-
Implements Asn1CharSet. |
Member Data Documentation
internal int mLower [protected] |
|
|
|
This variable represents the lower value of the range. |
internal int mUpper [protected] |
|
|
|
This variable represents the upper value of the range. |
Property Documentation
override int MaxValue [get] |
|
|
|
Gets the maximum value of character within the given permitted alphabet character set.
Value: Upper Bound Character or Character with max int value
Reimplemented from Asn1CharSet. |
|
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 |
|