brandingserver/Inc/rbsobjowningptrarray.inl
changeset 31 9dbc70490d9a
equal deleted inserted replaced
30:1fa9b890f29c 31:9dbc70490d9a
       
     1 /*
       
     2 * Copyright (c) 2006 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 the License "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:  rbsobjowningptrarray.inl
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #include <e32base.h>
       
    21 
       
    22 // -----------------------------------------------------------------------------
       
    23 // RBSObjOwningPtrArray<T>::RBSObjOwningPtrArray() implementation.
       
    24 //
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 template <class T>
       
    28 inline RBSObjOwningPtrArray<T>::RBSObjOwningPtrArray()
       
    29     {
       
    30     }
       
    31 
       
    32 
       
    33 // -----------------------------------------------------------------------------
       
    34 // RBSObjOwningPtrArray<T>::Close() implementation.
       
    35 // Calls ResetAndDestroy() to destroy holded objects.
       
    36 // -----------------------------------------------------------------------------
       
    37 //
       
    38 template <class T>
       
    39 inline void RBSObjOwningPtrArray<T>::Close()
       
    40     {
       
    41     RPointerArray<T>::ResetAndDestroy();
       
    42     }