wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/inc/genscanlistiterator.inl
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Implementation of ScanListIterator inline methods. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "genscanoffsets.h" |
|
20 |
|
21 // --------------------------------------------------------------------------- |
|
22 // |
|
23 // --------------------------------------------------------------------------- |
|
24 // |
|
25 inline u16_t ScanListIterator::Size() const |
|
26 { |
|
27 if ( !scan_list_m.size_m ) |
|
28 { |
|
29 return 0; |
|
30 } |
|
31 |
|
32 return static_cast<u16_t>( CNTRL_HEADER_LEN + |
|
33 *( reinterpret_cast<const u32_t*>( current_m + CNTRL_LENGTH_OFFSET ) ) ); |
|
34 } |