ASN1C C# Runtime Library  7.6
Public Member Functions | Public Attributes | Properties | List of all members
Asn1ArrayType Class Reference
Inheritance diagram for Asn1ArrayType:
Asn1Type Asn1TypeIF

Public Member Functions

 Asn1ArrayType ()
 
 Asn1ArrayType (Asn1Type[] objects)
 
override bool Equals (System.Object cv)
 
override int GetHashCode ()
 
override void Print (System.IO.TextWriter outs, System.String varName, int level)
 
Asn1Type [] ToArray ()
 
void ToArray (Asn1Type[] objects)
 
- Public Member Functions inherited from Asn1Type
void _SetKey (byte[] rtkey)
 
virtual void Decode (Asn1BerDecodeBuffer buffer, bool explicitTagging, int implicitLength)
 
virtual void Decode (Asn1BerDecodeBuffer buffer)
 
virtual void Decode (Asn1OerDecodeBuffer buffer)
 
virtual void Decode (Asn1PerDecodeBuffer buffer)
 
virtual void Decode (System.Object reader, System.String xmlURI)
 
virtual void Decode (System.Object reader, System.IO.Stream byteStream)
 
virtual void Decode (Asn1MderDecodeBuffer buffer)
 
virtual void DecodeXML (String buffer, String attrs)
 
virtual int Encode (Asn1BerEncodeBuffer buffer, bool explicitTagging)
 
virtual int Encode (Asn1BerEncodeBuffer buffer)
 
virtual void Encode (Asn1OerEncodeBuffer buffer)
 
virtual void Encode (Asn1PerEncodeBuffer buffer)
 
virtual void Encode (Asn1XerEncoder buffer)
 
virtual void Encode (Asn1XerEncoder buffer, System.String elemName)
 
virtual void Encode (Asn1XmlEncoder buffer)
 
virtual void Encode (Asn1XmlEncoder buffer, System.String elemName, System.String nsPrefix)
 
virtual void Encode (Asn1XmlEncodeBuffer buffer)
 
virtual void Encode (Asn1MderOutputStream buffer)
 
virtual void Encode (Asn1MderOutputStream buffer, bool useCachedLength)
 
virtual void Encode (Asn1BerOutputStream outs, bool explicitTagging)
 
virtual void Encode (Asn1CerOutputStream outs, bool explicitTagging)
 
virtual void Encode (Asn1PerOutputStream outs)
 
void EncodeAsOpenType (Asn1OerEncodeBuffer buffer)
 
virtual void EncodeAttribute (Asn1XmlEncoder buffer, System.String attrName)
 
virtual bool Equals (Asn1Type obj)
 
String GetNonParameterizedTypeName ()
 
virtual void Indent (System.IO.TextWriter outs, int level)
 
virtual bool IsOpenType ()
 
virtual bool MatchTypeName (System.String typeName)
 
virtual void Pdiag (System.String s)
 
virtual void Print (System.String varName)
 
void SetNonParameterizedTypeName (String value)
 
virtual void SetOpenType ()
 

Public Attributes

System.Collections.ArrayList element
 
- Public Attributes inherited from Asn1Type
const short BIT_STRING = 3
 
const short BMPString = 30
 
const short BOOLEAN = 1
 
const short DATE = 31
 
const short ENUMERATED = 10
 
const short EOC = 0
 
const short EXTERNAL = 8
 
const short GeneralString = 27
 
const short GeneralTime = 24
 
const short GraphicString = 25
 
const short IA5String = 22
 
const short INTEGER = 2
 
const short NULL = 5
 
const short NumericString = 18
 
const short OBJECT_IDENTIFIER = 6
 
const short ObjectDescriptor = 7
 
const short OCTET_STRING = 4
 
const short OpenType = 99
 
const short PrintableString = 19
 
const short REAL = 9
 
const short RELATIVE_OID_IRI = 36
 
const short RelativeOID = 13
 
const short SEQUENCE = 16
 
const short SET = 17
 
const short T61String = TeletexString
 
const short TeletexString = 20
 
const short TIME = 14
 
const short UniversalString = 28
 
const short UTCTime = 23
 
const short UTF8String = 12
 
const short VideotexString = 21
 
const short VisibleString = 26
 

Properties

int Count [get]
 
- Properties inherited from Asn1Type
virtual String AsnTypeName [get]
 
virtual int Length [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from Asn1Type
static void _SetKey2 (byte[] rtkey)
 
static void _SetLicLocation (String path)
 
static Asn1Type Decode (Asn1BerDecodeBuffer buffer, Asn1OpenTypeField openTypeField, bool explicitTag, int implicitLength)
 
static Asn1Type Decode (Asn1OerDecodeBuffer buffer, Asn1OpenTypeField openTypeField)
 
static Asn1Type Decode (Asn1PerDecodeBuffer buffer, Asn1OpenTypeField openTypeField)
 
static System.String GetTypeName (short typeCode)
 
- Static Public Attributes inherited from Asn1Type
static readonly Asn1Tag _TAG
 

Detailed Description

This class represents the temporaray list of XSD type inside choice group

Constructor & Destructor Documentation

◆ Asn1ArrayType() [1/2]

The default constructor initializes the array element.

◆ Asn1ArrayType() [2/2]

Asn1ArrayType ( Asn1Type []  objects)

This constructor creates a an internal array using the given array of objects derived from Asn1Type.

References Asn1Type.Length.

Member Function Documentation

◆ Equals()

override bool Equals ( System.Object  cv)

This method compares this type element arry with the passed value.

Parameters
cvThe Object to compare with the current Object. Object should be instance of Asn1ArrayType.
Returns
true if the specified Object is equal to the current Object; otherwise, false.

References Asn1ArrayType.element, and Asn1Type.Length.

◆ GetHashCode()

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.

◆ Print()

override void Print ( System.IO.TextWriter  outs,
System.String  varName,
int  level 
)
virtual

This method will format and output a primitive value to the given print stream.

Parameters
outsPrint output stream
varNameName of variable
levelIndentation level

Reimplemented from Asn1Type.

◆ ToArray() [1/2]

Asn1Type [] ToArray ( )

This method returns a new array of the element objects.

◆ ToArray() [2/2]

void ToArray ( Asn1Type []  objects)

This method returns the array of element object.

Member Data Documentation

◆ element

System.Collections.ArrayList element

This member variable is where the list value is stored.

Referenced by Asn1ArrayType.Equals().

Property Documentation

◆ Count

int Count
get

Gets the length of the BIT STRING in bits.

Value: Number of bits.