diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-D1ADAF9A-62BD-5B68-980F-524FF440FEE1.dita --- a/Symbian3/PDK/Source/GUID-D1ADAF9A-62BD-5B68-980F-524FF440FEE1.dita Thu Mar 11 15:24:26 2010 +0000 +++ b/Symbian3/PDK/Source/GUID-D1ADAF9A-62BD-5B68-980F-524FF440FEE1.dita Thu Mar 11 18:02:22 2010 +0000 @@ -1,39 +1,39 @@ - - - - - -Using -CArrayFixFlat<TAny>The CArrayFixFlat<Tany> class is useful for -constructing an array of fixed length buffers, where the length is decided -at run time. -
Arrays whose type is not known until class instantiation

The CArrayFixFlat<Tany> class -is useful for constructing an array of fixed length buffers, where the length -is decided at run time. It is also useful as a data member of a base class -in a thin template class/base class pair where the type of the array element -is not known until the owning thin template class is instantiated.

For -example, to implement a stack of fixed length objects of type T.

class CExampleBase : public CBase - { -public : - ... -protected : - ... - void PushL(const TAny* aPtr); - TAny* Pop(); -private : - CArrayFixFlat<TAny> iArray; - } template <class T> -class CExample : public CExampleBase - { -public : - ... - inline void PushL(const T* aPtr); - inline T* Pop(); - }
+ + + + + +Using +CArrayFixFlat<TAny>The CArrayFixFlat<Tany> class is useful for +constructing an array of fixed length buffers, where the length is decided +at run time. +
Arrays whose type is not known until class instantiation

The CArrayFixFlat<Tany> class +is useful for constructing an array of fixed length buffers, where the length +is decided at run time. It is also useful as a data member of a base class +in a thin template class/base class pair where the type of the array element +is not known until the owning thin template class is instantiated.

For +example, to implement a stack of fixed length objects of type T.

class CExampleBase : public CBase + { +public : + ... +protected : + ... + void PushL(const TAny* aPtr); + TAny* Pop(); +private : + CArrayFixFlat<TAny> iArray; + } template <class T> +class CExample : public CExampleBase + { +public : + ... + inline void PushL(const T* aPtr); + inline T* Pop(); + }
\ No newline at end of file