|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Header declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 #ifndef C_XOR_COMPOSITE_ASSERTION_H |
|
25 #define C_XOR_COMPOSITE_ASSERTION_H |
|
26 |
|
27 |
|
28 #include "assertion.h" |
|
29 |
|
30 class CXorCompositeAssertion : public CAssertion |
|
31 { |
|
32 public: |
|
33 static CXorCompositeAssertion* NewL(); |
|
34 static CXorCompositeAssertion* NewLC(); |
|
35 static CXorCompositeAssertion* NewL(CXorCompositeAssertion* aValue); |
|
36 static CXorCompositeAssertion* NewLC(CXorCompositeAssertion* aValue); |
|
37 |
|
38 virtual ~CXorCompositeAssertion(); |
|
39 //from CAssertion |
|
40 virtual TAssertionType Type(); |
|
41 virtual void AddTerm(MAssertion* aAssertion); |
|
42 virtual void AddTermCopyL(MAssertion* aAssertion); |
|
43 |
|
44 virtual MAssertion* NormalizeL(CPolicyRegistry* aRegistry); |
|
45 virtual MAssertion* IntersectL(MAssertion* aAssertion, CPolicyRegistry* aRegistry); |
|
46 virtual MAssertion* MergeL(MAssertion* aAssertion, CPolicyRegistry* aRegistry); |
|
47 |
|
48 private: |
|
49 CXorCompositeAssertion(); |
|
50 void ConstructL(CXorCompositeAssertion* aValue); |
|
51 void ConstructL(); |
|
52 |
|
53 }; |
|
54 #endif //C_XOR_COMPOSITE_ASSERTION_H |