webservices/wsstar/wsstarpolicy/inc/andcompositeassertion.h
changeset 0 62f9d29f7211
equal deleted inserted replaced
-1:000000000000 0:62f9d29f7211
       
     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_AND_COMPOSITE_ASSERTION_H
       
    25 #define C_AND_COMPOSITE_ASSERTION_H
       
    26 
       
    27 
       
    28 #include "assertion.h"
       
    29 
       
    30 class CAndCompositeAssertion : public CAssertion
       
    31 {
       
    32 public:
       
    33     static  CAndCompositeAssertion* NewL();
       
    34     static  CAndCompositeAssertion* NewLC();
       
    35     static  CAndCompositeAssertion* NewL(CAndCompositeAssertion* aValue);
       
    36     static  CAndCompositeAssertion* NewLC(CAndCompositeAssertion* aValue);
       
    37     
       
    38     virtual ~CAndCompositeAssertion();
       
    39 //from CAssertion
       
    40     virtual  TAssertionType Type();
       
    41     virtual  void           AddTerm(MAssertion* aAssertion);
       
    42     virtual  void 	        AddTermCopyL(MAssertion* aAssertion);    
       
    43     virtual  MAssertion* 	NormalizeL(CPolicyRegistry* aRegistry);         
       
    44     virtual  MAssertion* IntersectL(MAssertion* aAssertion, CPolicyRegistry* aRegistry);
       
    45     virtual  MAssertion* 	MergeL(MAssertion* aAssertion, CPolicyRegistry* aRegistry);
       
    46  
       
    47 private:
       
    48      CAndCompositeAssertion();
       
    49      void ConstructL(); 
       
    50      void ConstructL(CAndCompositeAssertion* aValue); 
       
    51     
       
    52 };
       
    53 #endif //C_AND_COMPOSITE_ASSERTION_H