ASN1C C# Runtime Library
7.4
|
Public Member Functions | |
Asn1CharRange (int lower, int upper) | |
override int | GetCharAtIndex (int index) |
override int | GetCharIndex (int charValue) |
override bool | validate (String s) |
Public Member Functions inherited from Asn1CharSet | |
virtual int | GetNumBitsPerChar (bool aligned) |
Properties | |
override int | MaxValue [get] |
Properties inherited from Asn1CharSet | |
abstract int | MaxValue [get] |
Asn1CharRange | ( | int | lower, |
int | upper | ||
) |
This constructor sets the range values.
lower | Range lower value |
upper | Range upper value |
|
virtual |
This method will fetch the character from the permitted alphabet at the given index.
index | Index of character within the character set |
Asn1ConsVioException | Index not within define range |
Implements Asn1CharSet.
|
virtual |
This method will determine the index of the given character within the permitted alphabet character set.
charValue | Character value to search for |
Asn1ConsVioException | Character not found in set |
Implements Asn1CharSet.
|
virtual |
This method will validate a character string by comparing its contents to the character range. Each character in the string is checked against the range. If it exceeds the upper or lower limit of the range, false is returned. Otherwise true is returned.
s | The string to be validated. |
Implements Asn1CharSet.
|
get |
Gets the maximum value of character within the given permitted alphabet character set.
Value:
Upper Bound Character or Character with max int value