CMSPUtil Class Reference

class CMSPUtil : public CBase

Inherits from

Constructor & Destructor Documentation

CMSPUtil()

CMSPUtil()[protected]

Default c'tor, protected to prevent using directly.

~CMSPUtil()

~CMSPUtil()[virtual]

Virtual D'tor.

Member Functions Documentation

NewL(CDesCArrayFlat *)

CMSPUtil *NewL(CDesCArrayFlat *aArray)[static]

Static constructor.

Parameters

CDesCArrayFlat * aArrayArray of unit texts.

SolveUnitAndSize(TInt64 &)

IMPORT_C TPtrCSolveUnitAndSize(TInt64 &aNumber)

Solves the correct unit for given data size.

Parameters

TInt64 & aNumberAmount of data to be solved, changed accordingly.

SolveUnitAndSize(TInt64 &, TInt &)

voidSolveUnitAndSize(TInt64 &aNumber,
TInt &aUnit
)[private]

Solves the correct unit for given data size, used internally.

Parameters

TInt64 & aNumberAmount of data to be solved, changed accordingly.
TInt & aUnitUnit text index in unit array.

Member Enumerations Documentation

Enum TUnitType

Type of unit.

Enumerators

EByte = 0
EKiloByte
EMegaByte
EGigaByte
ETeraByte

Member Data Documentation

CDesCArrayFlat * iUnitArray

CDesCArrayFlat *iUnitArray[private]