Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: agmlists.h
Link against: agnmodel.lib

Class CAgnMonthInstanceList

CAgnMonthInstanceList

Support

Supported from 5.0

Description

List of instance IDs for a month. Stores the year and month of interest. The list is populated using CAgnModel::PopulateMonthInstanceListL().

Derivation

CAgnListInterface to a list of agenda items
CAgnMonthInstanceListList of instance IDs for a month
CBaseBase class for all classes to be instantiated on the heap

Defined in CAgnMonthInstanceList:
Month(), NewL(), SetMonth(), SetYear(), Year()

Inherited from CAgnList:
AppendL(), Count(), Delete(), Find(), InsertL(), Reset(), operator[]()

Inherited from CBase:
operator new()


Construction


NewL()

static CAgnMonthInstanceList* NewL(TTimeIntervalYears aYear,TMonth aMonth);

Description

Allocates and constructs a CAgnMonthInstanceList object.

Parameters

TTimeIntervalYears aYear

The year of interest.

TMonth aMonth

The month of interest.

Return value

CAgnMonthInstanceList*

Pointer to the newly created object.

[Top]


Set month and year


SetMonth()

void SetMonth(TMonth aMonth);

Description

Sets the month.

Parameters

TMonth aMonth

The month.


SetYear()

void SetYear(TTimeIntervalYears aYear);

Description

Sets the year.

Parameters

TTimeIntervalYears aYear

The year.

[Top]


Get month and year


Month()

TMonth Month() const;

Description

Gets the month.

Return value

TMonth

The month.


Year()

TTimeIntervalYears Year() const;

Description

Gets the year.

Return value

TTimeIntervalYears

The year.