CTzLocalizedArray Class Reference

#include <mw/tzlocalizationdatatypes.h>

Link against: clocktimezoneresolver.lib

class CTzLocalizedArray : public CBase

Inherits from

  • CTzLocalizedArray

    Detailed Description

    Template for arrays of localized objects. Implemented using a thin template. All functions are inline.

    Constructor & Destructor Documentation

    CTzLocalizedArray ( )

    CTzLocalizedArray()[protected, inline]

    Default constructor

    ~CTzLocalizedArray ( )

    ~CTzLocalizedArray()[protected, inline]

    Destructor

    Member Function Documentation

    AppendL ( T * )

    voidAppendL(T *aElement)[protected, inline]

    Appends aElement to this array.

    ParameterDescription
    aElementThe element to add.

    At ( TInt )

    T &At(TIntaIndex)const [protected, inline]

    Returns the element at the specified index.

    ParameterDescription
    aIndexIndex of the element to get.

    Returns: The element at aIndex.

    Count ( )

    TInt Count()const [protected, inline]

    Returns the number of elements in the array.

    Returns: The number of elements in the array.

    Find ( T *, TIdentityRelation< T > )

    TInt Find(T *aEntry,
    TIdentityRelation< T >aIdentityRelation
    )[protected, inline]

    Finds an element in this array.

    ParameterDescription
    aIdentityRelationfinding function to use.

    Remove ( TInt )

    voidRemove(TIntaIndex)[protected, inline]

    Removes the element at the specified index.

    ParameterDescription
    aIndexThe index of the element to remove.

    ReserveL ( TInt )

    voidReserveL(TIntaCount)[protected, inline]

    Sort ( TLinearOrder< T > )

    voidSort(TLinearOrder< T >aOrder)[protected, inline]

    Sorts this array.

    ParameterDescription
    aOrderThe sorting function to use.