Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <BALIBA.H>
Link against: bafl.lib

Class TLibAssocBase

class TLibAssocBase;

Description

This is an implementation base class for TLibAssoc.

Members

Defined in TLibAssocBase:


Construction and destruction


TLibAssocBase()

protected: inline TLibAssocBase();

Description

Default constructor.

It sets the member TLibAssocBase::iPtr to NULL.


TLibAssocBase(const RLibrary &,TAny *)

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(const RLibrary &,TAny *)

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

Description

Implements TLibAssoc::Set(const RLibrary &,T *).

Parameters

const RLibrary &aLib

A reference to a DLL that has already been opened.

TAny *aPtr

See also:


DoUnload(TAny *)

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

Description

Calls Close() on the associated DLL.

Parameters

TAny *aThis

An untyped pointer to a TLibAssoc type.


IsNull()const

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.