Asn1XerElemInfo Class Reference

List of all members.

Public Member Functions

 Asn1XerElemInfo (System.String name, bool optional, int id)
bool Equals (System.String name)
override int GetHashCode ()

Properties

virtual int ID [get]
virtual bool Optional [get]

Detailed Description

This class holds XER element information needed to assign an identifier to an element after it is parsed from an XML message.


Constructor & Destructor Documentation

Asn1XerElemInfo ( System.String  name,
bool  optional,
int  id 
)

This constructor creates the element object.

Parameters:
name element name
optional true if element is optional
id identifier

Member Function Documentation

bool Equals ( System.String  name  ) 

Determines whether the specified Object is equal to the given String.

Parameters:
name The String to compare with the current Object.
Returns:
true if the specified String is equal to the current Object; otherwise, false.
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.

Property Documentation

virtual int ID [get]

Returns the ID value for the element.

Value: Identifier value

virtual bool Optional [get]

Determines whether the this element is optional

Value: true is optional; otherwise false