Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <asn1enc.h>
Link against: asn1.lib

Class CASN1EncExplicitTag

class CASN1EncExplicitTag : public CASN1EncConstructed;

Description

Class used to wrap other encoding objects in order to give them an explicit tag.

Derivation

Members

Defined in CASN1EncExplicitTag:

Inherited from CASN1EncBase:

Inherited from CBase:


Construction and destruction


NewLC(CASN1EncBase *,const TTagType,const TASN1Class)

IMPORT_C static CASN1EncExplicitTag* NewLC(CASN1EncBase *aEncoder, const TTagType aType, const TASN1Class aClass=EContextSpecific);

Description

Takes ownership of the encoder, *including* the case when this method leaves.

Parameters

CASN1EncBase *aEncoder

ASN.1 encoding object to wrap

const TTagType aType

Tag type to assign

const TASN1Class aClass

Tag class to assign

Return value

CASN1EncExplicitTag *

Wrapped encoding object pushed on the cleanup stack.


NewL(CASN1EncBase *,const TTagType,const TASN1Class)

IMPORT_C static CASN1EncExplicitTag* NewL(CASN1EncBase *aEncoder, const TTagType aType, const TASN1Class aClass=EContextSpecific);

Description

Takes ownership of the encoder, *including* the case when this method leaves.

Parameters

CASN1EncBase *aEncoder

ASN.1 encoding object to wrap

const TTagType aType

Tag type to assign

const TASN1Class aClass

Tag class to assign

Return value

CASN1EncExplicitTag *

Wrapped encoding object.


~CASN1EncExplicitTag()

IMPORT_C ~CASN1EncExplicitTag();

Description

[Top]


Member functions


NumChildren()const

private: virtual TUint NumChildren() const;

Description

Return value

TUint


Child(const TUint)const

private: virtual const CASN1EncBase& Child(const TUint aIndex) const;

Description

Parameters

const TUint aIndex

Return value

const CASN1EncBase &