CSenNamespace Class Reference

class CSenNamespace : public CBase
Implementation of XML namespace functionality All data is in UTF-8 form. SenXML.dll
Since
Series60 3.0

Inherits from

Public Member Functions
~CSenNamespace()
IMPORT_C TBoolCompare(const TDesC8 &, const TDesC8 &)
IMPORT_C TBoolCompare(const CSenNamespace &)
IMPORT_C voidInsertL(RBufWriteStream &)
IMPORT_C TBoolMatchesL(const CSenNamespace &)
IMPORT_C CSenNamespace *NewL(const TDesC8 &, const TDesC8 &)
IMPORT_C CSenNamespace *NewL(const TDesC8 &)
IMPORT_C CSenNamespace *NewLC(const TDesC8 &, const TDesC8 &)
IMPORT_C CSenNamespace *NewLC(const TDesC8 &)
IMPORT_C const TDesC8 &Prefix()
IMPORT_C voidSetPrefixL(const TDesC8 &)
IMPORT_C voidSetUriL(const TDesC8 &)
IMPORT_C const TDesC8 &URI()
Private Member Functions
CSenNamespace()
voidConstructL(const TDesC8 &, const TDesC8 &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
HBufC8 *ipPrefix
HBufC8 *ipUri

Constructor & Destructor Documentation

CSenNamespace()

CSenNamespace()[private]

C++ default constructor.

~CSenNamespace()

IMPORT_C~CSenNamespace()[virtual]

Destructor.

Member Functions Documentation

Compare(const TDesC8 &, const TDesC8 &)

IMPORT_C TBoolCompare(const TDesC8 &aOtherPrefix,
const TDesC8 &aOtherUri
)const

Method for comparing the namespace object to other prefix and URI.

Parameters

const TDesC8 & aOtherPrefixThe prefix to be compared to
const TDesC8 & aOtherUriThe URI to be compared to.

Compare(const CSenNamespace &)

IMPORT_C TBoolCompare(const CSenNamespace &aOtherNamespace)const

Method for comparing the namespace object to other namespace object.

Parameters

const CSenNamespace & aOtherNamespaceThe namespace to be compared to.

ConstructL(const TDesC8 &, const TDesC8 &)

voidConstructL(const TDesC8 &aPrefix,
const TDesC8 &aUri
)[private]

By default Symbian 2nd phase constructor is private.

Parameters

const TDesC8 & aPrefix
const TDesC8 & aUri

InsertL(RBufWriteStream &)

IMPORT_C voidInsertL(RBufWriteStream &aWs)

Method to ask this namespace object to write itself into a writestream. Doesn't write anything if no URI has been set.

Parameters

RBufWriteStream & aWsThe writestream where object should be written.

MatchesL(const CSenNamespace &)

IMPORT_C TBoolMatchesL(const CSenNamespace &aOtherNamespace)const

Method for comparing the namespace object to other namespace object. Differs from Compare(...) methods so that this one compares only URIs.

Parameters

const CSenNamespace & aOtherNamespace

NewL(const TDesC8 &, const TDesC8 &)

IMPORT_C CSenNamespace *NewL(const TDesC8 &aPrefix,
const TDesC8 &aUri
)[static]

Basic constructor.

Parameters

const TDesC8 & aPrefixThe prefix for the namespace.
const TDesC8 & aUriThe namespace uri for the namespace.

NewL(const TDesC8 &)

IMPORT_C CSenNamespace *NewL(const TDesC8 &aUri)[static]

Basic constructor.

Parameters

const TDesC8 & aUriThe namespace uri for the namespace.

NewLC(const TDesC8 &, const TDesC8 &)

IMPORT_C CSenNamespace *NewLC(const TDesC8 &aPrefix,
const TDesC8 &aUri
)[static]

Basic constructor.

Parameters

const TDesC8 & aPrefixThe prefix for the namespace.
const TDesC8 & aUriThe namespace uri for the namespace.

NewLC(const TDesC8 &)

IMPORT_C CSenNamespace *NewLC(const TDesC8 &aUri)[static]

Basic constructor.

Parameters

const TDesC8 & aUriThe namespace uri for the namespace.

Prefix()

IMPORT_C const TDesC8 &Prefix()const

Getter for the prefix of the namespace object.

SetPrefixL(const TDesC8 &)

IMPORT_C voidSetPrefixL(const TDesC8 &aPrefix)

Setter for the prefix of the namespace object.

Parameters

const TDesC8 & aPrefixThe prefix.

SetUriL(const TDesC8 &)

IMPORT_C voidSetUriL(const TDesC8 &aUri)

Setter for the URI of the namespace object.

Parameters

const TDesC8 & aUriThe URI.

URI()

IMPORT_C const TDesC8 &URI()const

Getter for the URI of the namespace object.

Member Data Documentation

HBufC8 * ipPrefix

HBufC8 *ipPrefix[private]

HBufC8 * ipUri

HBufC8 *ipUri[private]