CMsvOffPeakTimes Class Reference

class CMsvOffPeakTimes : public CArrayFixFlat< TMsvOffPeakTime >

Array of off-peak time data.

This represents all the off-peak time periods in each week.

Public Member Functions
CMsvOffPeakTimes()
IMPORT_C TIntGetNextOffPeakTime(const TTime &, TMsvOffPeakTime &, TTime &)
Inherited Functions
CArrayFix< TMsvOffPeakTime >::AppendL(const TMsvOffPeakTime &)
CArrayFix< TMsvOffPeakTime >::AppendL(const TMsvOffPeakTime &,TInt)
CArrayFix< TMsvOffPeakTime >::AppendL(const TMsvOffPeakTime *,TInt)
CArrayFix< TMsvOffPeakTime >::Array()const
CArrayFix< TMsvOffPeakTime >::At(TInt)
CArrayFix< TMsvOffPeakTime >::At(TInt)const
CArrayFix< TMsvOffPeakTime >::Back(TInt)
CArrayFix< TMsvOffPeakTime >::Back(TInt)const
CArrayFix< TMsvOffPeakTime >::CArrayFix(TBufRep,TInt)
CArrayFix< TMsvOffPeakTime >::End(TInt)
CArrayFix< TMsvOffPeakTime >::End(TInt)const
CArrayFix< TMsvOffPeakTime >::ExpandL(TInt)
CArrayFix< TMsvOffPeakTime >::ExtendL()
CArrayFix< TMsvOffPeakTime >::Find(const TMsvOffPeakTime &,TKeyArrayFix &,TInt &)const
CArrayFix< TMsvOffPeakTime >::FindIsq(const TMsvOffPeakTime &,TKeyArrayFix &,TInt &)const
CArrayFix< TMsvOffPeakTime >::InsertIsqAllowDuplicatesL(const TMsvOffPeakTime &,TKeyArrayFix &)
CArrayFix< TMsvOffPeakTime >::InsertIsqL(const TMsvOffPeakTime &,TKeyArrayFix &)
CArrayFix< TMsvOffPeakTime >::InsertL(TInt,const TMsvOffPeakTime &)
CArrayFix< TMsvOffPeakTime >::InsertL(TInt,const TMsvOffPeakTime &,TInt)
CArrayFix< TMsvOffPeakTime >::InsertL(TInt,const TMsvOffPeakTime *,TInt)
CArrayFix< TMsvOffPeakTime >::ResizeL(TInt)
CArrayFix< TMsvOffPeakTime >::ResizeL(TInt,const TMsvOffPeakTime &)
CArrayFix< TMsvOffPeakTime >::operator[](TInt)
CArrayFix< TMsvOffPeakTime >::operator[](TInt)const
CArrayFixBase::AtR(const CBase *,TInt)
CArrayFixBase::CArrayFixBase(TBufRep,TInt,TInt)
CArrayFixBase::Compress()
CArrayFixBase::Count()const
CArrayFixBase::CountR(const CBase *)
CArrayFixBase::Delete(TInt)
CArrayFixBase::Delete(TInt,TInt)
CArrayFixBase::Find(const TAny *,TKeyArrayFix &,TInt &)const
CArrayFixBase::FindIsq(const TAny *,TKeyArrayFix &,TInt &)const
CArrayFixBase::InsertIsqAllowDuplicatesL(const TAny *,TKeyArrayFix &)
CArrayFixBase::InsertIsqL(const TAny *,TKeyArrayFix &)
CArrayFixBase::InsertL(TInt,const TAny *)
CArrayFixBase::InsertL(TInt,const TAny *,TInt)
CArrayFixBase::InsertRepL(TInt,const TAny *,TInt)
CArrayFixBase::Length()const
CArrayFixBase::Reset()
CArrayFixBase::ResizeL(TInt,const TAny *)
CArrayFixBase::SetKey(TKeyArrayFix &)const
CArrayFixBase::SetReserveFlatL(TInt)
CArrayFixBase::Sort(TKeyArrayFix &)
CArrayFixBase::~CArrayFixBase()
CArrayFixFlat< TMsvOffPeakTime >::CArrayFixFlat(TInt)
CArrayFixFlat< TMsvOffPeakTime >::SetReserveL(TInt)
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()

Constructor & Destructor Documentation

CMsvOffPeakTimes()

IMPORT_CCMsvOffPeakTimes()

Default constructor.

Member Functions Documentation

GetNextOffPeakTime(const TTime &, TMsvOffPeakTime &, TTime &)

IMPORT_C TIntGetNextOffPeakTime(const TTime &aFromTime,
TMsvOffPeakTime &aNext,
TTime &aNextTime
)const

Gets the off-peak time period that is after and closest to a specified time.

If aFromTime is within an off-peak time period, then that off-peak time period is returned.

TMsvOffPeakTime::NextTimeInclusive() for details.

Parameters

const TTime & aFromTimeTime to find.
TMsvOffPeakTime & aNextOn return, the off-peak time period that is closest to aFromTime.
TTime & aNextTimeOn return, the next start of aNext from aFromTime.