CXmlElement Class Reference

class CXmlElement : public CTypedNode< TXmlElementType, TXmlAttributeType >

Nested Classes and Structures

Public Member Functions
voidAppendChildL(CXmlElement *)
IMPORT_C const TDesC *Attribute(const TDesC &)
const TDesC *Attribute(TInt)
CXmlElement *Child(TInt)
IMPORT_C TIntChildIndex(CXmlElement *)
TInt Count()
IMPORT_C CBase *DataItem()
IMPORT_C voidDeleteDataItem(CAttributeLookupTable &)
IMPORT_C voidInsertChildL(TInt, CXmlElement *)
CXmlElement *NewL(TXmlElementType, CNode *)
IMPORT_C voidSetAttributeL(const TDesC &, const TDesC &, CAttributeLookupTable &)
IMPORT_C voidSetDataItemL(CBase *, CAttributeLookupTable &)
IMPORT_C voidSetTextL(const TDesC &)
voidStartWriteL(RFile &, TInt)
const TDesC *Text()
IMPORT_C voidWriteIntoFileL()
Private Member Functions
CXmlElement()
voidWriteNameL(RFile &, TInt)
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()
CNode::AddAttributeL(TAny *,CBase *)
CNode::AddDataAndAttributeL(HBufC16 *,TAny *,CBase *)
CNode::AdjustBasePointers()
CNode::AppendNodeL(TAny *)
CNode::Attribute(TAny *)const
CNode::AttributeByIndex(TInt,TAny *&)const
CNode::AttributeExists(TAny *)const
CNode::CNode(TAny *,CNode *)
CNode::DeleteAttribute(TAny *)
CNode::FindChild(const CNode *)const
CNode::NewL(TAny *,CNode *)
CNode::RemoveAttributeNoDelete(TAny *)
CNode::SetType(TAny *)
CNode::SetupDeletableOrNonDeleteableDataLC()
CNode::~CNode()
CTypedNode< TXmlElementType, TXmlAttributeType >::AddAttributeL(TXmlAttributeTypeaAttributeType,CBase *)
CTypedNode< TXmlElementType, TXmlAttributeType >::AddDataAndAttributeL(HBufC16 *,TXmlAttributeTypeaAttributeType,CBase *)
CTypedNode< TXmlElementType, TXmlAttributeType >::AppendNodeL(TXmlElementTypeaType)
CTypedNode< TXmlElementType, TXmlAttributeType >::AppendNodeToThisNodeL(CNode *)
CTypedNode< TXmlElementType, TXmlAttributeType >::Attribute(TXmlAttributeTypeaAttributeType)const
CTypedNode< TXmlElementType, TXmlAttributeType >::AttributeByIndex(TInt)const
CTypedNode< TXmlElementType, TXmlAttributeType >::AttributeByIndex(TInt,TXmlAttributeType &)const
CTypedNode< TXmlElementType, TXmlAttributeType >::AttributeCount()const
CTypedNode< TXmlElementType, TXmlAttributeType >::AttributeExists(TXmlAttributeTypeaAttributeType)const
CTypedNode< TXmlElementType, TXmlAttributeType >::AttributeTypeByIndex(TInt)const
CTypedNode< TXmlElementType, TXmlAttributeType >::CTypedNode(TXmlElementTypeaType,CNode *)
CTypedNode< TXmlElementType, TXmlAttributeType >::ClearSetDataNoDeleteL()
CTypedNode< TXmlElementType, TXmlAttributeType >::Data()const
CTypedNode< TXmlElementType, TXmlAttributeType >::DeleteAllAttributes()
CTypedNode< TXmlElementType, TXmlAttributeType >::DeleteAllChildNodes()
CTypedNode< TXmlElementType, TXmlAttributeType >::DeleteAttribute(TXmlAttributeTypeaAttributeType)
CTypedNode< TXmlElementType, TXmlAttributeType >::DeleteChildNode(CNode *)
CTypedNode< TXmlElementType, TXmlAttributeType >::NextChild(const CNode *)const
CTypedNode< TXmlElementType, TXmlAttributeType >::NextSibling()const
CTypedNode< TXmlElementType, TXmlAttributeType >::NumberImmediateChildren()const
CTypedNode< TXmlElementType, TXmlAttributeType >::Parent()const
CTypedNode< TXmlElementType, TXmlAttributeType >::PrevChild(const CNode &)const
CTypedNode< TXmlElementType, TXmlAttributeType >::PrevSibling()const
CTypedNode< TXmlElementType, TXmlAttributeType >::RemoveAttributeNoDelete(TXmlAttributeTypeaAttributeType)
CTypedNode< TXmlElementType, TXmlAttributeType >::ReparentL(CNode *)
CTypedNode< TXmlElementType, TXmlAttributeType >::ResetDataPointer(HBufC16 *)
CTypedNode< TXmlElementType, TXmlAttributeType >::Root()const
CTypedNode< TXmlElementType, TXmlAttributeType >::SetDataL(HBufC16 *)
CTypedNode< TXmlElementType, TXmlAttributeType >::SetDataNoDeleteL()
CTypedNode< TXmlElementType, TXmlAttributeType >::SetFileDataL(HBufC16 *)
CTypedNode< TXmlElementType, TXmlAttributeType >::SetType(TXmlElementTypeaType)
CTypedNode< TXmlElementType, TXmlAttributeType >::Type()const
Inherited Attributes
CNode::iChildList
CNode::iDataValue
CNode::iParent
CNode::iType
CNode::iTypes
CNode::iTypesBasePtr
CNode::iValues

Constructor & Destructor Documentation

CXmlElement()

CXmlElement()[private, inline]

Member Functions Documentation

AppendChildL(CXmlElement *)

voidAppendChildL(CXmlElement *aElement)[inline]

Parameters

CXmlElement * aElement

Attribute(const TDesC &)

IMPORT_C const TDesC *Attribute(const TDesC &aAttributeName)const

Parameters

const TDesC & aAttributeName

Attribute(TInt)

const TDesC *Attribute(TIntaIndex)const [inline]

Parameters

TInt aIndex

Child(TInt)

CXmlElement *Child(TIntaIndex)const [inline]

Parameters

TInt aIndex

ChildIndex(CXmlElement *)

IMPORT_C TIntChildIndex(CXmlElement *aChild)const

Parameters

CXmlElement * aChild

Count()

TInt Count()const [inline]

DataItem()

IMPORT_C CBase *DataItem()const

DeleteDataItem(CAttributeLookupTable &)

IMPORT_C voidDeleteDataItem(CAttributeLookupTable &aAttributeLUT)

Parameters

CAttributeLookupTable & aAttributeLUT

InsertChildL(TInt, CXmlElement *)

IMPORT_C voidInsertChildL(TIntaIndexToInsertBefore,
CXmlElement *aElement
)

Parameters

TInt aIndexToInsertBefore
CXmlElement * aElement

NewL(TXmlElementType, CNode *)

CXmlElement *NewL(TXmlElementTypeaType,
CNode *aParent
)[static, inline]

Parameters

TXmlElementType aType
CNode * aParent

SetAttributeL(const TDesC &, const TDesC &, CAttributeLookupTable &)

IMPORT_C voidSetAttributeL(const TDesC &aAttributeName,
const TDesC &aAttributeValue,
CAttributeLookupTable &aAttributeLUT
)

Parameters

const TDesC & aAttributeName
const TDesC & aAttributeValue
CAttributeLookupTable & aAttributeLUT

SetDataItemL(CBase *, CAttributeLookupTable &)

IMPORT_C voidSetDataItemL(CBase *aDataItem,
CAttributeLookupTable &aAttributeLUT
)

Parameters

CBase * aDataItem
CAttributeLookupTable & aAttributeLUT

SetTextL(const TDesC &)

IMPORT_C voidSetTextL(const TDesC &aData)

Parameters

const TDesC & aData

StartWriteL(RFile &, TInt)

voidStartWriteL(RFile &aFile,
TIntaIndentation
)

Parameters

RFile & aFile
TInt aIndentation

Text()

const TDesC *Text()const [inline]

WriteIntoFileL()

IMPORT_C voidWriteIntoFileL()

WriteNameL(RFile &, TInt)

voidWriteNameL(RFile &aFile,
TIntaIndentation
)[private]

Parameters

RFile & aFile
TInt aIndentation