RDataReader Class Reference

class RDataReader

Data Reader

Public Member Functions
TBool FieldExists (const typename T::TFieldId &)
TInt GetArrayReader (const typename T::TFieldId &, RDataReaderArrayBase &)
TInt GetField (const typename T::TFieldId &, S &)
TInt GetFieldReader (const typename T::TFieldId &, RDataReader < S, RDataReaderBase > &)
TBool IsDataAvailable ()
Protected Member Functions
RDataReader (const TLbsAssistanceDataLayoutMap *)
Private Attributes
TUint8 iReserved

Constructor & Destructor Documentation

RDataReader(const TLbsAssistanceDataLayoutMap *)

RDataReader ( const TLbsAssistanceDataLayoutMap * aLayout ) [protected]

Parameters

const TLbsAssistanceDataLayoutMap * aLayout

Member Functions Documentation

FieldExists(const typename T::TFieldId &)

TBool FieldExists ( const typename T::TFieldId & aFieldId ) const [inline]

Field Exists Returns true if Data Builder Field Exists

Parameters

const typename T::TFieldId & aFieldId id of field we are interested in

GetArrayReader(const typename T::TFieldId &, RDataReaderArrayBase &)

TInt GetArrayReader ( const typename T::TFieldId & aFieldId,
RDataReaderArrayBase & aArrayReader
) const [inline]

GetArrayReader ArrayReader array reader implementation

Parameters

const typename T::TFieldId & aFieldId id of field we are interested in
RDataReaderArrayBase & aArrayReader reference to RDataReaderArrayBase

GetField(const typename T::TFieldId &, S &)

TInt GetField ( const typename T::TFieldId & aFieldId,
S & aData
) const [inline]

Get Field GetField field exists implementation

Parameters

const typename T::TFieldId & aFieldId index of field we are interested in
S & aData data from reader we are interested in

GetFieldReader(const typename T::TFieldId &, RDataReader< S, RDataReaderBase > &)

TInt GetFieldReader ( const typename T::TFieldId & aFieldId,
RDataReader < S, RDataReaderBase > & aDataReader
) const [inline]

Get Field Reader Get must get a RDataReader<S, RDataReaderBase>, not a RDataReader<S, RDataReaderRootBase> - hence the template as is... FieldReader implementation

Parameters

const typename T::TFieldId & aFieldId id of field we are interested in
RDataReader < S, RDataReaderBase > & aDataReader we are interested in

IsDataAvailable()

TBool IsDataAvailable ( ) const [inline]

Returns if Any Data Reader Field Exists

Returns true if any field exists in the Reader

Member Data Documentation

TUint8 iReserved

TUint8 iReserved [private]

reserved