HssScanList Class Reference

class HssScanList

Container class for delivering scan results.

Public Member Functions
HssScanList()
TUint32 AddPadding(TInt)
TUint32 Append(TUint32, const HssScanFrame *)
voidClearAll()
TUint32 Count()
TUint32 MaxSize()
TUint32 Size()
Private Member Functions
HssScanList(const HssScanList &)
TUint32 Append(unsigned long)
TBool CheckData(HssScanFrame *)
Private Attributes
TUint32 count_m
TUint8 data_m
TUint32 size_m

Constructor & Destructor Documentation

HssScanList()

HssScanList()

C++ default constructor.

HssScanList(const HssScanList &)

HssScanList(const HssScanList &)[private]

Parameters

const HssScanList &

Member Functions Documentation

AddPadding(TInt)

TUint32 AddPadding(TIntsize)[static, inline]

The scan result's alignment should be four bytes. This method returns the size with needed padding.

Parameters

TInt sizeSize of added data.

Append(TUint32, const HssScanFrame *)

TUint32 Append(TUint32size,
const HssScanFrame *data_pointer
)

Appends one access point to list.

Parameters

TUint32 sizesize of the accces point frame to be appended.
const HssScanFrame * data_pointerpointer to the frame.

Append(unsigned long)

TUint32 Append(unsigned longsize)[private]

Appends one acces point to list variables, but does not do the actual copying.

Parameters

unsigned long sizeThe size of added memory block in bytes.

CheckData(HssScanFrame *)

TBool CheckData(HssScanFrame *data)const [private]

Check that the appended data is valid, i.e. it has all mandatory fields included. Once more: the data being checked has to be in the buffer (iData).

Parameters

HssScanFrame * dataPointer to the beginning of the data being appended.

ClearAll()

voidClearAll()[inline]

Clears the list.

Count()

TUint32 Count()const [inline]

Returns the number of access points the instance contains.

MaxSize()

TUint32 MaxSize()const [inline]

Returns the size of the container.

Size()

TUint32 Size()const [inline]

Returns the size of the list.

Member Data Documentation

TUint32 count_m

TUint32 count_m[private]

TUint8 data_m

TUint8 data_m[private]

TUint32 size_m

TUint32 size_m[private]