Asn1XerElemInfo Class Reference

List of all members.

Public Member Functions

 Asn1XerElemInfo (System.String[] names, bool optional, int id)
bool Matches (System.String name)

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[]  names,
bool  optional,
int  id 
)

This constructor creates the element object.

Parameters:
names first element names
optional true if component having given names is optional
id identifier

Member Function Documentation

bool Matches ( System.String  name  ) 

Determines whether this object matches the given element name.

Parameters:
name The element name to check for a match.
Returns:
true if the given element name matches any of the names associated with this object; otherwise, false.

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