CBNFNode Class Reference

class CBNFNode : public CTypedNode< TInt, const TDesC * >

Backus-Naur Form (BNF) node that forms part of a BNF tree (CBNFParser).

Node types are stored as TInts, and attribute types as descriptors.

Public Member Functions
~CBNFNode ()
IMPORT_C CBNFNodeAttributeType KNMoreCount ()
IMPORT_C CBNFNodeAttributeType KNMoreMaximum ()
IMPORT_C CBNFNodeAttributeType KNMoreMinimum ()
IMPORT_C CBNFNodeAttributeType KPostRuleCallback ()
IMPORT_C CBNFNodeAttributeType KPreRuleCallback ()
IMPORT_C CBNFNodeAttributeType KRangeEnd ()
IMPORT_C CBNFNodeAttributeType KRangeStart ()
IMPORT_C CBNFNodeAttributeType KReference ()
IMPORT_C CBNFNode * NewL ( TInt )
Protected Member Functions
CBNFNode ( 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< TInt, const TDesC * >::AddAttributeL(const TDesC *,CBase *)
CTypedNode< TInt, const TDesC * >::AddDataAndAttributeL(HBufC16 *,const TDesC *,CBase *)
CTypedNode< TInt, const TDesC * >::AppendNodeL(TIntaType)
CTypedNode< TInt, const TDesC * >::AppendNodeToThisNodeL(CNode *)
CTypedNode< TInt, const TDesC * >::Attribute(const TDesC *)const
CTypedNode< TInt, const TDesC * >::AttributeByIndex(TInt)const
CTypedNode< TInt, const TDesC * >::AttributeByIndex(TInt,const TDesC *&)const
CTypedNode< TInt, const TDesC * >::AttributeCount()const
CTypedNode< TInt, const TDesC * >::AttributeExists(const TDesC *)const
CTypedNode< TInt, const TDesC * >::AttributeTypeByIndex(TInt)const
CTypedNode< TInt, const TDesC * >::CTypedNode(TIntaType,CNode *)
CTypedNode< TInt, const TDesC * >::Child(TInt)const
CTypedNode< TInt, const TDesC * >::ClearSetDataNoDeleteL()
CTypedNode< TInt, const TDesC * >::Data()const
CTypedNode< TInt, const TDesC * >::DeleteAllAttributes()
CTypedNode< TInt, const TDesC * >::DeleteAllChildNodes()
CTypedNode< TInt, const TDesC * >::DeleteAttribute(const TDesC *)
CTypedNode< TInt, const TDesC * >::DeleteChildNode(CNode *)
CTypedNode< TInt, const TDesC * >::NewL(TIntaType,CNode *)
CTypedNode< TInt, const TDesC * >::NextChild(const CNode *)const
CTypedNode< TInt, const TDesC * >::NextSibling()const
CTypedNode< TInt, const TDesC * >::NumberImmediateChildren()const
CTypedNode< TInt, const TDesC * >::Parent()const
CTypedNode< TInt, const TDesC * >::PrevChild(const CNode &)const
CTypedNode< TInt, const TDesC * >::PrevSibling()const
CTypedNode< TInt, const TDesC * >::RemoveAttributeNoDelete(const TDesC *)
CTypedNode< TInt, const TDesC * >::ReparentL(CNode *)
CTypedNode< TInt, const TDesC * >::ResetDataPointer(HBufC16 *)
CTypedNode< TInt, const TDesC * >::Root()const
CTypedNode< TInt, const TDesC * >::SetDataL(HBufC16 *)
CTypedNode< TInt, const TDesC * >::SetDataNoDeleteL()
CTypedNode< TInt, const TDesC * >::SetFileDataL(HBufC16 *)
CTypedNode< TInt, const TDesC * >::SetType(TIntaType)
CTypedNode< TInt, const TDesC * >::Type()const
Inherited Attributes
CNode::iChildList
CNode::iDataValue
CNode::iParent
CNode::iType
CNode::iTypes
CNode::iTypesBasePtr
CNode::iValues

Constructor & Destructor Documentation

CBNFNode(TInt)

IMPORT_C CBNFNode ( TInt aType ) [protected]

Parameters

TInt aType

~CBNFNode()

IMPORT_C ~CBNFNode ( )

Destructor.

Member Functions Documentation

KNMoreCount()

IMPORT_C CBNFNodeAttributeType KNMoreCount ( ) [static]

KNMoreMaximum()

IMPORT_C CBNFNodeAttributeType KNMoreMaximum ( ) [static]

KNMoreMinimum()

IMPORT_C CBNFNodeAttributeType KNMoreMinimum ( ) [static]

KPostRuleCallback()

IMPORT_C CBNFNodeAttributeType KPostRuleCallback ( ) [static]

KPreRuleCallback()

IMPORT_C CBNFNodeAttributeType KPreRuleCallback ( ) [static]

KRangeEnd()

IMPORT_C CBNFNodeAttributeType KRangeEnd ( ) [static]

KRangeStart()

IMPORT_C CBNFNodeAttributeType KRangeStart ( ) [static]

KReference()

IMPORT_C CBNFNodeAttributeType KReference ( ) [static]

NewL(TInt)

IMPORT_C CBNFNode * NewL ( TInt aType ) [static]

Allocates and constructs a new parentless node.

Parameters

TInt aType The type of the node