Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: asn1enc.h
Link against: asn1.lib

Class CASN1EncContainer

class CASN1EncContainer : public CASN1EncConstructed;

Description

Base class for all ASN1 container types - sequences, sets, etc.

Derivation

Members

Defined in CASN1EncContainer:
AddAndPopChildL(), AddChildIntL(), AddChildL()

Inherited from CASN1EncBase:
ConstructL(), LengthDER(), SetTag(), WriteDERL(), WriteLengthDER(), iContentsLengthDER, iLengthLengthDER, iTagLengthDER

Inherited from CASN1EncConstructed:
CalculateContentsLengthDER(), Child(), IsConstructed(), NumChildren(), WriteContentsDERL()

Inherited from CBase:
Delete(), Extension_(), operator new()


Member functions


AddChildL()

IMPORT_C void AddChildL(CASN1EncBase *aChild);

Description

Call this to add a child object to the container. Takes ownership if and only if it doesn't Leave. Checks for null input, calls AddChildInt, calls ContentsLengthChanged().

Parameters

CASN1EncBase *aChild

Child ASN1 encoding object to add.


AddAndPopChildL()

IMPORT_C void AddAndPopChildL(CASN1EncBase *aChild);

Description

Call this to add a child object to the container. Takes ownership if and only if it doesn't Leave. Checks for null input, calls AddChildInt, calls ContentsLengthChanged(). Pops added child object off the cleanup stack.

Parameters

CASN1EncBase *aChild

Child ASN1 encoding object to add.


AddChildIntL()

private: virtual void AddChildIntL(const CASN1EncBase *aChild)=0;

Description

Internal method, derived classes implement to add a child. No need to check for null input or call ContentsLengthChanged(). Takes ownership, but only if you don't leave.

Parameters

const CASN1EncBase *aChild

Child encoding object to add.