epoc32/include/crulemarkedstack.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 crulemarkedstack.h
     1 // Copyright (c) 2000-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 // A speciales marked stack specifically for PARSE rules.
       
    15 // Allows a rule stack to merge rules upto a given mark type.
       
    16 // 
       
    17 //
       
    18 
       
    19 #ifndef __CRULEMARKEDSTACK_H__
       
    20 #define __CRULEMARKEDSTACK_H__
       
    21 
       
    22 
       
    23 // includes
       
    24 #include <e32base.h>
       
    25 #include <cmarkedstack.h>
       
    26 #include <cbnfnode.h>
       
    27 
       
    28 #pragma warning (disable : 4127) // conditional expression is constant
       
    29 
       
    30 
       
    31 template <TBool StackOwnsEntry>
       
    32 class CRuleMarkedStack : public CMarkedStack<CBNFNode, StackOwnsEntry>
       
    33 /**	
       
    34 @publishedAll
       
    35 @released
       
    36 */
       
    37 	{
       
    38 public:
       
    39 	void MergeToMarkL(TInt aMarkType);
       
    40 	};
       
    41 
       
    42 #include <crulemarkedstack.inl>
       
    43 
       
    44 #pragma warning ( default : 4127 ) // conditional expression is constant
       
    45 
       
    46 #endif // __CRULEMARKEDSTACK_H__