Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: Tuner.h

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class TFrequency

class TFrequency;

Description

Class representing a frequency.

Members

Defined in TFrequency:
TFrequency(), TFrequency(), iFrequency, operator!=(), operator>(), operator>=(), operator<(), operator<=(), operator==()


Construction and destruction


TFrequency()

inline TFrequency();

Description

Default constructor for TFrequency - initalises the object to zero


TFrequency()

inline TFrequency(TInt aFrequency);

Description

Initialises the stored data in a TFrequency object

Parameters

TInt aFrequency

specifies the initial value for the frequency object as a 31bit value.

[Top]


Member functions


operator==()

inline TInt operator==(const TFrequency &aFrequency) const;

Description

Parameters

const TFrequency &aFrequency

value to compare against

Return value

TInt

non-zero if the values are equal, zero otherwise


operator!=()

inline TInt operator!=(const TFrequency &aFrequency) const;

Description

Parameters

const TFrequency &aFrequency

value to compare against

Return value

TInt

non-zero if the values are not equal, zero otherwise


operator>()

inline TInt operator>(const TFrequency &aFrequency) const;

Description

Parameters

const TFrequency &aFrequency

value to compare against

Return value

TInt

non-zero if the value is greater then aFrequency, zero otherwise


operator>=()

inline TInt operator>=(const TFrequency &aFrequency) const;

Description

Parameters

const TFrequency &aFrequency

value to compare against

Return value

TInt

non-zero if the value is greater than or equal to aFrequency, zero otherwise


operator<()

inline TInt operator<(const TFrequency &aFrequency) const;

Description

Parameters

const TFrequency &aFrequency

value to compare against

Return value

TInt

non-zero if the value is less then aFrequency, zero otherwise


operator<=()

inline TInt operator<=(const TFrequency &aFrequency) const;

Description

Parameters

const TFrequency &aFrequency

value to compare against

Return value

TInt

non-zero if the value is less than or equal to aFrequency, zero otherwise

[Top]


Member data


iFrequency

TInt iFrequency;

Description

The Frequency, in Hertz. A TInt is at least 32 bits, giving a maximum frequency of at least 2.4GHz (i.e. 0x7fffffff Hz)