Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:

Inherited from CASN1EncBase:

Inherited from CBase:


Member functions


AddChildL(CASN1EncBase *)

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 CASN1EncBase::ContentsLengthChanged().

Parameters

CASN1EncBase *aChild

Child ASN1 encoding object to add.


AddAndPopChildL(CASN1EncBase *)

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 CASN1EncBase::ContentsLengthChanged(). Pops added child object off the cleanup stack.

Parameters

CASN1EncBase *aChild

Child ASN1 encoding object to add.


AddChildIntL(const CASN1EncBase *)

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 CASN1EncBase::ContentsLengthChanged(). Takes ownership, but only if you don't leave.

Parameters

const CASN1EncBase *aChild

Child encoding object to add.