CASN1EncContainer Class Reference

class CASN1EncContainer : public CASN1EncConstructed

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

Inherits from

Constructor & Destructor Documentation

CASN1EncContainer(const TTagType)

CASN1EncContainer ( const TTagType aType ) [protected]

Parameters

const TTagType aType

Member Functions Documentation

AddAndPopChildL(CASN1EncBase *)

IMPORT_C void AddAndPopChildL ( CASN1EncBase * aChild )

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(const CASN1EncBase *)

void AddChildIntL ( const CASN1EncBase * aChild ) [private, pure virtual]

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.

AddChildL(CASN1EncBase *)

IMPORT_C void AddChildL ( CASN1EncBase * aChild )

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.