class TOstArray |
Template class for array parameter types For example, to wrap an integer array to a trace: TInt arr[5]; OstTraceExt( GRP, TRC, "Array: %{int32[]}", TOstArray< TInt >( arr, 5 ) );
Public Member Functions | |
---|---|
TOstArray (const T *, TInt ) | |
TInt | Length () |
const T * | Ptr () |
TInt | Size () |
Private Attributes | |
---|---|
const T * | iArray |
TInt | iLength |
TOstArray | ( | const T * | aArray, |
TInt | aLength | ||
) | [inline] |
Constructor
const T * aArray | the array data |
TInt aLength | the number of elements in the array |
TInt | Length | ( | ) | const [inline] |
Gets the number of elements in the array. Used from the functions generated by trace compiler
const T * | Ptr | ( | ) | const [inline] |
Gets the array data pointer. Used from the functions generated by trace compiler
TInt | Size | ( | ) | const [inline] |
Gets the number of bytes occupied by the array. Used from the functions generated by trace compiler
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.