TDisplayConfiguration Class Reference

class TDisplayConfiguration : public TDisplayConfiguration1

The display configuration class for general use.

May be extended by adding a chain of classes between this and TDisplayConfiguration1 . If so, also update the typedef TDisplayConfigurationTop.

Inherits from

Public Member Functions
TDisplayConfiguration ()
TDisplayConfiguration (const TDisplayConfiguration &)
TDisplayConfiguration ( TInt )
TBool operator== (const TDisplayConfiguration &)
Private Member Functions
TDisplayConfiguration operator= (const TDisplayConfiguration &)
Inherited Functions
TDisplayConfiguration1::GetResolution(TSize &)const
TDisplayConfiguration1::GetResolutionTwips(TSize &)const
TDisplayConfiguration1::GetRotation(TRotation &)const
TDisplayConfiguration1::SetResolution(const TSize &)
TDisplayConfiguration1::SetResolutionTwips(const TSize &)
TDisplayConfiguration1::SetRotation(TRotation)
TDisplayConfiguration1::TDisplayConfiguration1()
TDisplayConfiguration1::TDisplayConfiguration1(TInt)
TDisplayConfiguration1::operator==(const TDisplayConfiguration1 &)const
TDisplayConfigurationBase::Clear(TAttribute)
TDisplayConfigurationBase::ClearAll()
TDisplayConfigurationBase::IsDefined(TAttribute)const
TDisplayConfigurationBase::MemberAccessible(const TMember &)const
TDisplayConfigurationBase::Panic(TInt)
TDisplayConfigurationBase::TDisplayConfigurationBase(TInt)
TDisplayConfigurationBase::Version()const
TDisplayConfigurationBase::operator==(const TDisplayConfigurationBase &)const
Inherited Enumerations
TDisplayConfiguration1:TRotation
TDisplayConfigurationBase:TAttribute
TDisplayConfigurationBase:TPanics
Private Member Type Definitions
typedef TDisplayConfiguration1 TDisplayConfigurationTop
Inherited Attributes
TDisplayConfigurationBase::iDefined
TDisplayConfigurationBase::iVersion

Constructor & Destructor Documentation

TDisplayConfiguration()

TDisplayConfiguration ( ) [inline]

Construct a configuration of the default version with all attributes undefined.

TDisplayConfiguration(const TDisplayConfiguration &)

TDisplayConfiguration ( const TDisplayConfiguration & aDisplayConfiguration ) [inline]

Copy constructor. This constructor will read the version field of the source and target objects and only copy the common set of fields. Any remaining fields in the target object will be set as undefined.

Parameters

const TDisplayConfiguration & aDisplayConfiguration Configuration to be copied.

TDisplayConfiguration(TInt)

TDisplayConfiguration ( TInt aVersion ) [inline]

Constructs a display configuration for a particular version.

This constructor is designed to be used with the value returned by MDisplayControlBase::PreferredDisplayConfigurationVersion(), and initializes the members to represent an object compatible with that.

The version used is the earlier of aVersion and the compile time version of TDisplayConfiguration .

Parameters

TInt aVersion Caller-defined maximum version of configuration.

Member Functions Documentation

operator=(const TDisplayConfiguration &)

TDisplayConfiguration operator= ( const TDisplayConfiguration & aRhs ) const [private, inline]

Parameters

const TDisplayConfiguration & aRhs

operator==(const TDisplayConfiguration &)

TBool operator== ( const TDisplayConfiguration & aRhs ) const [inline]

Compares two TDisplayConfiguration instances.

The two objects are equivalent if they have the same version, the same set of attributes defined and all the defined attributes are the same. Undefined attributes are not compared.

Parameters

const TDisplayConfiguration & aRhs The object to compare with this object.

Member Type Definitions Documentation

Typedef TDisplayConfigurationTop

typedef TDisplayConfiguration1 TDisplayConfigurationTop [private]