webservices/wsxml/inc/senfiltercondition.h
changeset 0 62f9d29f7211
equal deleted inserted replaced
-1:000000000000 0:62f9d29f7211
       
     1 /*
       
     2 * Copyright (c) 2005 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 
       
    25 
       
    26 #ifndef C_SEN_FILTER_CONDITION_H
       
    27 #define C_SEN_FILTER_CONDITION_H
       
    28 
       
    29 // INCLUDES
       
    30 
       
    31 #include <e32base.h>
       
    32 #include <flogger.h>
       
    33 
       
    34 // CONSTANTS
       
    35 
       
    36 // FORWARD DECLARATIONS
       
    37 
       
    38 // CLASS DEFINITIONS
       
    39 
       
    40 /**
       
    41  * @author lewontin
       
    42  *
       
    43  */
       
    44 class CSenFilterCondition : public CBase
       
    45 {
       
    46 
       
    47 public: // Constructors and Destructors
       
    48 
       
    49     IMPORT_C static CSenFilterCondition* NewL(TInt aIndex, 
       
    50                                               const TDesC8& aElement, 
       
    51                                               const TDesC8& aAttribute);
       
    52 
       
    53 
       
    54     CSenFilterCondition(const CSenFilterCondition& aFilterCondition);
       
    55 
       
    56 
       
    57     IMPORT_C ~CSenFilterCondition();
       
    58 
       
    59 
       
    60     IMPORT_C TBool Test();
       
    61 
       
    62 
       
    63 protected:
       
    64 
       
    65     void ConstructL(TInt aIndex, 
       
    66                     const TDesC8& aElement, 
       
    67                     const TDesC8& aAttribute);
       
    68 
       
    69 
       
    70     CSenFilterCondition();
       
    71 
       
    72 
       
    73 private:
       
    74     
       
    75     /**
       
    76      * File logger.
       
    77      *
       
    78      */
       
    79     RFileLogger* Log() const;
       
    80 
       
    81 
       
    82 private:
       
    83 
       
    84     TInt iIndex;
       
    85     TInt iCurrentIndex;
       
    86     HBufC8* ipElement;
       
    87     HBufC8* ipAttribute;
       
    88 
       
    89     RFileLogger iLog;
       
    90 
       
    91 };
       
    92 
       
    93 #endif // C_SEN_FILTER_CONDITION_H
       
    94