TOstArray Class Reference
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 ) );
Constructor & Destructor Documentation
TOstArray(const T *, TInt)
TOstArray | ( | const T * | aArray, |
| TInt | aLength |
| ) | [inline] |
Parameters
const T * aArray | the array data |
TInt aLength | the number of elements in the array |
Member Functions Documentation
Length()
TInt
| Length | ( | ) | const [inline] |
Gets the number of elements in the array. Used from the functions generated by trace compiler
Ptr()
const T * | Ptr | ( | ) | const [inline] |
Gets the array data pointer. Used from the functions generated by trace compiler
Size()
TInt
| Size | ( | ) | const [inline] |
Gets the number of bytes occupied by the array. Used from the functions generated by trace compiler
Member Data Documentation
TInt
iLength
Array length, as number of elements
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.