|
|
 |
 |
|
Asn1Choice Class ReferenceInheritance diagram for Asn1Choice:
List of all members.
Detailed Description
This class represents the ASN.1 CHOICE built-in type.
Constructor & Destructor Documentation
|
|
The default constructor initializes the choiceID and value. |
Member Function Documentation
| override bool Equals |
( |
System.Object |
value |
) |
|
|
|
|
This method compares this type element with the passed type element.
- Parameters:
-
| value | The Object to compare with the current Object. Object should be instance of Asn1Choice. |
- Returns:
true if the specified Object is equal to the current Object; otherwise, false.
|
| virtual Asn1Type GetElement |
( |
|
) |
[virtual] |
|
|
|
This method returns the element object. - Returns:
element data member.
|
| override int GetHashCode |
( |
|
) |
|
|
|
|
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. - Returns:
- A hash code for the current Object.
|
| virtual void SetElement |
( |
int |
choiceID, |
|
|
Asn1Type |
element |
|
) |
[virtual] |
|
|
|
This protected method sets the choice ID and value to the given values. Refer the Set_<element>() methods in compiler generated inherited classes.
- Parameters:
-
| choiceID | The identifier for element value. The identifier value can be defined by compiler-generated derived class. |
| element | The element value. The possible value types can be defined by compiler-generated derived class. |
|
Member Data Documentation
|
|
This member variable is where the selected choice option identifier is stored. This selects the choice option to be used. It is populated with one of the generated choice ID constants in a compiler-generated derived class. |
|
|
This member variable is where the selected choice option value is stored. It can be accessed via the get and set methods in this class and in compiler-generated derived classes. |
Property Documentation
virtual int ChoiceID [get] |
|
|
|
Gets the choice identifier.
Value: choice option identifier |
abstract System.String ElemName [get] |
|
|
|
Gets the name of the selected element. A concrete version is generated by the compiler-generated derived class.
Value: choice option name |
|
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 |
|