CXmlElement Class Reference

class CXmlElement : public CTypedNode< TXmlElementType, TXmlAttributeType >

Nested Classes and Structures

Public Member Functions
void AppendChildL ( CXmlElement *)
IMPORT_C const TDesC * Attribute (const TDesC &)
const TDesC * Attribute ( TInt )
CXmlElement * Child ( TInt )
IMPORT_C TInt ChildIndex ( CXmlElement *)
TInt Count ()
IMPORT_C CBase * DataItem ()
IMPORT_C void DeleteDataItem ( CAttributeLookupTable &)
IMPORT_C void InsertChildL ( TInt , CXmlElement *)
CXmlElement * NewL ( TXmlElementType , CNode *)
IMPORT_C void SetAttributeL (const TDesC &, const TDesC &, CAttributeLookupTable &)
IMPORT_C void SetDataItemL ( CBase *, CAttributeLookupTable &)
IMPORT_C void SetTextL (const TDesC &)
void StartWriteL ( RFile &, TInt )
const TDesC * Text ()
IMPORT_C void WriteIntoFileL ()
Private Member Functions
CXmlElement ()
void WriteNameL ( 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 *)

void AppendChildL ( 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 ( TInt aIndex ) const [inline]

Parameters

TInt aIndex

Child(TInt)

CXmlElement * Child ( TInt aIndex ) const [inline]

Parameters

TInt aIndex

ChildIndex(CXmlElement *)

IMPORT_C TInt ChildIndex ( CXmlElement * aChild ) const

Parameters

CXmlElement * aChild

Count()

TInt Count ( ) const [inline]

DataItem()

IMPORT_C CBase * DataItem ( ) const

DeleteDataItem(CAttributeLookupTable &)

IMPORT_C void DeleteDataItem ( CAttributeLookupTable & aAttributeLUT )

Parameters

CAttributeLookupTable & aAttributeLUT

InsertChildL(TInt, CXmlElement *)

IMPORT_C void InsertChildL ( TInt aIndexToInsertBefore,
CXmlElement * aElement
)

Parameters

TInt aIndexToInsertBefore
CXmlElement * aElement

NewL(TXmlElementType, CNode *)

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

Parameters

TXmlElementType aType
CNode * aParent

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

IMPORT_C void SetAttributeL ( const TDesC & aAttributeName,
const TDesC & aAttributeValue,
CAttributeLookupTable & aAttributeLUT
)

Parameters

const TDesC & aAttributeName
const TDesC & aAttributeValue
CAttributeLookupTable & aAttributeLUT

SetDataItemL(CBase *, CAttributeLookupTable &)

IMPORT_C void SetDataItemL ( CBase * aDataItem,
CAttributeLookupTable & aAttributeLUT
)

Parameters

CBase * aDataItem
CAttributeLookupTable & aAttributeLUT

SetTextL(const TDesC &)

IMPORT_C void SetTextL ( const TDesC & aData )

Parameters

const TDesC & aData

StartWriteL(RFile &, TInt)

void StartWriteL ( RFile & aFile,
TInt aIndentation
)

Parameters

RFile & aFile
TInt aIndentation

Text()

const TDesC * Text ( ) const [inline]

WriteIntoFileL()

IMPORT_C void WriteIntoFileL ( )

WriteNameL(RFile &, TInt)

void WriteNameL ( RFile & aFile,
TInt aIndentation
) [private]

Parameters

RFile & aFile
TInt aIndentation