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 & aFieldIdid 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 & aFieldIdid of field we are interested in
RDataReaderArrayBase & aArrayReaderreference 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 & aFieldIdindex of field we are interested in
S & aDatadata 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 & aFieldIdid of field we are interested in
RDataReader< S, RDataReaderBase > & aDataReaderwe 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