ASN1C C# Runtime Library  7.5
Public Member Functions | Properties | List of all members
Asn1XerElemInfo Class Reference

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()

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

This constructor creates the element object.

Parameters
namesfirst element names
optionaltrue if component having given names is optional
ididentifier

Member Function Documentation

◆ Matches()

bool Matches ( System.String  name)

Determines whether this object matches the given element name.

Parameters
nameThe 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

◆ ID

virtual int ID
get

Returns the ID value for the element.

Value: Identifier value

◆ Optional

virtual bool Optional
get

Determines whether the this element is optional

Value: true is optional; otherwise false