filemanager/src/fmbkupengine/inc/RMMCScBkupPointerArray.h
branchRCL_3
changeset 21 65326cf895ed
parent 20 491b3ed49290
child 22 f5c50b8af68c
equal deleted inserted replaced
20:491b3ed49290 21:65326cf895ed
     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: Declaration for RMMCScBkupPointerArray  
       
    15 *     
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef __RMMCSCBKUPPOINTERARRAY_H__
       
    20 #define __RMMCSCBKUPPOINTERARRAY_H__
       
    21 
       
    22 // User includes
       
    23 #include <e32cmn.h>
       
    24 
       
    25 
       
    26 /**
       
    27 *
       
    28 *
       
    29 * @since 3.0
       
    30 */
       
    31 template <class T>
       
    32 class RMMCScBkupPointerArray : public RPointerArray<T>
       
    33     {
       
    34 public:
       
    35     inline RMMCScBkupPointerArray();
       
    36     inline explicit RMMCScBkupPointerArray(TInt aGranularity);
       
    37     inline void Close();
       
    38     };
       
    39 
       
    40 
       
    41 
       
    42 
       
    43 
       
    44 // Inline methods
       
    45 
       
    46 template <class T>
       
    47 inline RMMCScBkupPointerArray<T>::RMMCScBkupPointerArray()
       
    48     : RPointerArray<T>()
       
    49     {}
       
    50 
       
    51 template <class T>
       
    52 inline RMMCScBkupPointerArray<T>::RMMCScBkupPointerArray(TInt aGranularity)
       
    53     : RPointerArray<T>( aGranularity )
       
    54     {}
       
    55 
       
    56 template <class T>
       
    57 inline void RMMCScBkupPointerArray<T>::Close()
       
    58     {
       
    59     RPointerArray<T>::ResetAndDestroy();
       
    60     RPointerArray<T>::Close();
       
    61     }
       
    62 
       
    63 
       
    64 
       
    65 
       
    66 
       
    67 
       
    68 #endif // __RMMCSCBKUPPOINTERARRAY_H__
       
    69 
       
    70 //End of File