1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // DTD nodes inline functions
19 inline CDTDNode::CDTDNode() : CBNFNode(0)
24 inline CDTDNode::~CDTDNode()
28 /** Allocates and constructs a new parentless node.
32 inline CDTDNode* CDTDNode::NewL()
34 CTypedNode<TInt,const TDesC*>* aNode = CTypedNode<TInt,const TDesC*>::NewL( 0, 0 );
35 return REINTERPRET_CAST(CDTDNode*,aNode);
38 /** Adds the completed attribute to the node. */
39 inline void CDTDNode::AddCompletedAttributeL()
41 AddAttributeL(CompletedAttrID(),NULL);