epoc32/include/dtdnode.inl
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // DTD nodes inline functions
    15 // DTD Node
    16 // 
    17 //
    18 
    19 inline CDTDNode::CDTDNode() : CBNFNode(0)
    20 	{
    21 	}
    22 
    23 /** Destructor. */
    24 inline CDTDNode::~CDTDNode()
    25 	{
    26 	}
    27 
    28 /** Allocates and constructs a new parentless node.
    29 
    30 @return New DTD node
    31 */
    32 inline CDTDNode* CDTDNode::NewL()
    33 	{
    34 	CTypedNode<TInt,const TDesC*>* aNode = CTypedNode<TInt,const TDesC*>::NewL( 0, 0 );
    35 	return REINTERPRET_CAST(CDTDNode*,aNode);
    36 	}
    37 
    38 /** Adds the completed attribute to the node. */
    39 inline void CDTDNode::AddCompletedAttributeL()
    40 	{
    41 	AddAttributeL(CompletedAttrID(),NULL);
    42 	}