equal
deleted
inserted
replaced
|
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 "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.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 } |
|
43 |