IMPSengine/datautils/inc/impsdata.inl
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2002 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: 
       
    15 *     Online methods.
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 inline const CImpsKey* CImpsElement::GetKey( ) const
       
    22     {
       
    23     return iKey;
       
    24     }
       
    25 
       
    26 inline CImpsKey* CImpsElement::GetKey( )
       
    27     {
       
    28     return iKey;
       
    29     }
       
    30 
       
    31 inline TInt CImpsElement::GetInt( ) const
       
    32     {
       
    33     return iInt;
       
    34     }
       
    35 
       
    36 inline TDesC* CImpsElement::GetString( ) const
       
    37     {
       
    38     return iString;
       
    39     }
       
    40 
       
    41 inline TDesC8* CImpsElement::GetString8( ) const
       
    42     {
       
    43     return iString8;
       
    44     }
       
    45 
       
    46 inline TBool CImpsElement::GetBoolean( ) const
       
    47     {
       
    48     return iBool;
       
    49     }
       
    50 
       
    51 inline TBool CImpsElement::IsEmpty( ) const
       
    52     {
       
    53     return iIsEmpty;
       
    54     }
       
    55 
       
    56 inline TImpsDataType CImpsElement::GetType(  ) const
       
    57     {
       
    58     return iValueType;
       
    59     }
       
    60 
       
    61 inline void CImpsData::Reset( )
       
    62     {
       
    63     iElements->ResetAndDestroy( );
       
    64     }
       
    65 
       
    66 inline TInt CImpsData::Count( ) const
       
    67     {
       
    68     return iElements->Count( );
       
    69     }
       
    70 
       
    71 //-------------------------------------------------------
       
    72    
       
    73 
       
    74 // End of File