Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: baliba.h
Link against: bafl.lib

Class TLibAssocBase

class TLibAssocBase;

Description

This is an implementation base class for TLibAssoc.

Members

Defined in TLibAssocBase:
DoUnload(), IsNull(), Set(), TLibAssocBase(), TLibAssocBase(), iPtr


Construction and destruction


TLibAssocBase()

protected: inline TLibAssocBase();

Description

Default constructor.

It sets the member TLibAssocBase::iPtr to NULL.


TLibAssocBase()

protected: IMPORT_C TLibAssocBase(const RLibrary &aLib, TAny *aPtr);

Description

Constructs the object taking the specified DLL and a class instance.

Parameters

const RLibrary &aLib

A reference to a DLL that has already been opened.

TAny *aPtr

An untyped pointer to an object to be associated with the DLL. Typically, this object will have been created using the ordinal 1 function from that DLL.

[Top]


Member functions


Set()

protected: IMPORT_C void Set(const RLibrary &aLib, TAny *aPtr);

Description

Implements TLibAssoc::Set().

Parameters

const RLibrary &aLib

A reference to a DLL that has already been opened.

TAny *aPtr


DoUnload()

protected: static IMPORT_C void DoUnload(TAny *aThis);

Description

Calls Close() on the associated DLL.

Parameters

TAny *aThis

An untyped pointer to a TLibAssoc type.


IsNull()

inline TBool IsNull() const;

Description

Tests whether the pointer to the class instance is NULL.

Return value

TBool

ETrue, if the pointer is NULL; EFalse, otherwise.

[Top]


Member data


iPtr

protected: TAny * iPtr;

Description

A Pointer to the class instance.