eapol/eapol_framework/eapol_common/include/eap_array_algorithms.h
changeset 49 43351a4f2da3
parent 26 9abfd4f00d37
equal deleted inserted replaced
47:712b4ffd76bb 49:43351a4f2da3
    22 #if !defined(_EAP_ARRAY_ALGORITHMS_H_)
    22 #if !defined(_EAP_ARRAY_ALGORITHMS_H_)
    23 #define _EAP_ARRAY_ALGORITHMS_H_
    23 #define _EAP_ARRAY_ALGORITHMS_H_
    24 
    24 
    25 #include "eap_am_memory.h"
    25 #include "eap_am_memory.h"
    26 #include "eap_am_export.h"
    26 #include "eap_am_export.h"
       
    27 // Start: added by script change_export_macros.sh.
       
    28 #if defined(EAP_NO_EXPORT_EAP_ARRAY_ALGORITHMS_H)
       
    29 	#define EAP_CLASS_VISIBILITY_EAP_ARRAY_ALGORITHMS_H EAP_NONSHARABLE 
       
    30 	#define EAP_FUNC_VISIBILITY_EAP_ARRAY_ALGORITHMS_H 
       
    31 	#define EAP_C_FUNC_VISIBILITY_EAP_ARRAY_ALGORITHMS_H 
       
    32 	#define EAP_FUNC_EXPORT_EAP_ARRAY_ALGORITHMS_H 
       
    33 	#define EAP_C_FUNC_EXPORT_EAP_ARRAY_ALGORITHMS_H 
       
    34 #elif defined(EAP_EXPORT_EAP_ARRAY_ALGORITHMS_H)
       
    35 	#define EAP_CLASS_VISIBILITY_EAP_ARRAY_ALGORITHMS_H EAP_EXPORT 
       
    36 	#define EAP_FUNC_VISIBILITY_EAP_ARRAY_ALGORITHMS_H EAP_FUNC_EXPORT 
       
    37 	#define EAP_C_FUNC_VISIBILITY_EAP_ARRAY_ALGORITHMS_H EAP_C_FUNC_EXPORT 
       
    38 	#define EAP_FUNC_EXPORT_EAP_ARRAY_ALGORITHMS_H EAP_FUNC_EXPORT 
       
    39 	#define EAP_C_FUNC_EXPORT_EAP_ARRAY_ALGORITHMS_H EAP_C_FUNC_EXPORT 
       
    40 #else
       
    41 	#define EAP_CLASS_VISIBILITY_EAP_ARRAY_ALGORITHMS_H EAP_IMPORT 
       
    42 	#define EAP_FUNC_VISIBILITY_EAP_ARRAY_ALGORITHMS_H EAP_FUNC_IMPORT 
       
    43 	#define EAP_C_FUNC_VISIBILITY_EAP_ARRAY_ALGORITHMS_H EAP_C_FUNC_IMPORT 
       
    44 	#define EAP_FUNC_EXPORT_EAP_ARRAY_ALGORITHMS_H 
       
    45 	#define EAP_C_FUNC_EXPORT_EAP_ARRAY_ALGORITHMS_H 
       
    46 #endif
       
    47 // End: added by script change_export_macros.sh.
    27 #include "eap_tools.h"
    48 #include "eap_tools.h"
    28 #include "eap_am_tools.h"
    49 #include "eap_am_tools.h"
    29 #include "eap_array.h"
    50 #include "eap_array.h"
    30 
    51 
    31 /** @file */
    52 /** @file */
    35 #if defined(_WIN32) && !defined(__GNUC__)
    56 #if defined(_WIN32) && !defined(__GNUC__)
    36 	#pragma warning( disable : 4275 ) // ingnores non dll-interface class 'abs_eap_array_compare_c<class eap_fast_pac_store_data_c>' used as base for dll-interface class 'eap_fast_pac_store_data_compare_A_ID_reference_c'
    57 	#pragma warning( disable : 4275 ) // ingnores non dll-interface class 'abs_eap_array_compare_c<class eap_fast_pac_store_data_c>' used as base for dll-interface class 'eap_fast_pac_store_data_compare_A_ID_reference_c'
    37 #endif
    58 #endif
    38 
    59 
    39 template <class Type>
    60 template <class Type>
    40 class EAP_EXPORT abs_eap_array_compare_c
    61 class EAP_CLASS_VISIBILITY_EAP_ARRAY_ALGORITHMS_H abs_eap_array_compare_c
    41 {
    62 {
    42 
    63 
    43 public:
    64 public:
    44 
    65 
    45 	virtual ~abs_eap_array_compare_c()
    66 	virtual ~abs_eap_array_compare_c()