comstl/functional/com_predicate_adaptors.hpp File Reference


Detailed Description

[C++ only] Contains predicates adaptors that interpret the success of COM functions (that return HRESULT).

(Functional Library).

#include <comstl/comstl.h>
#include <functional>

Go to the source code of this file.

Namespaces

namespace  comstl

Classes

struct  com_SUCCEEDED_tester_1_stdcall
 A unary function adaptor for pointers to COM functions, that will cause them to act as predicates. More...
struct  com_SUCCEEDED_tester_2_stdcall
 A binary function adaptor for pointers to COM functions, that will cause them to act as predicates. More...
struct  com_S_OK_tester_1_stdcall
 A unary function adaptor for pointers to COM functions, that will cause them to act as predicates. More...
struct  com_S_OK_tester_2_stdcall
 A binary function adaptor for pointers to COM functions, that will cause them to act as predicates. More...
struct  com_SUCCEEDED_tester_1_cdecl
 A unary function adaptor for pointers to COM functions, that will cause them to act as predicates. More...
struct  com_SUCCEEDED_tester_2_cdecl
 A binary function adaptor for pointers to COM functions, that will cause them to act as predicates. More...
struct  com_S_OK_tester_1_cdecl
 A unary function adaptor for pointers to COM functions, that will cause them to act as predicates. More...
struct  com_S_OK_tester_2_cdecl
 A binary function adaptor for pointers to COM functions, that will cause them to act as predicates. More...

Defines

#define COMSTL_VER_COMSTL_FUNCTIONAL_HPP_COM_PREDICATE_ADAPTORS_MAJOR   1
#define COMSTL_VER_COMSTL_FUNCTIONAL_HPP_COM_PREDICATE_ADAPTORS_MINOR   0
#define COMSTL_VER_COMSTL_FUNCTIONAL_HPP_COM_PREDICATE_ADAPTORS_REVISION   2
#define COMSTL_VER_COMSTL_FUNCTIONAL_HPP_COM_PREDICATE_ADAPTORS_EDIT   5

Functions

template<typename A0>
com_SUCCEEDED_tester_1_cdecl< A0 > com_SUCCEEDED (HRESULT(1 *pfn)(A0))
 Creator function to adapt pointers to unary COM functions, causing them to act as predicates.
template<typename A0, typename A1>
com_SUCCEEDED_tester_2_stdcall
< A0, A1 > 
com_SUCCEEDED (HRESULT(__stdcall *pfn)(A0, A1))
 Creator function to adapt pointers to binary COM functions, causing them to act as predicates.
template<typename A0, typename A1>
com_SUCCEEDED_tester_2_cdecl
< A0, A1 > 
com_SUCCEEDED (HRESULT(1 *pfn)(A0, A1))
 Creator function to adapt pointers to binary COM functions, causing them to act as predicates.
template<typename A0>
com_S_OK_tester_1_cdecl< A0 > com_S_OK (HRESULT(1 *pfn)(A0))
 Creator function to adapt pointers to unary COM functions, causing them to act as predicates.
template<typename A0, typename A1>
com_S_OK_tester_2_stdcall< A0, A1 > com_S_OK (HRESULT(__stdcall *pfn)(A0, A1))
 Creator function to adapt pointers to binary COM functions, causing them to act as predicates.
template<typename A0, typename A1>
com_S_OK_tester_2_cdecl< A0, A1 > com_S_OK (HRESULT(1 *pfn)(A0, A1))
 Creator function to adapt pointers to binary COM functions, causing them to act as predicates.

Variables

com_SUCCEEDED_tester_1_stdcall
< A0 > 
com_SUCCEEDED (HRESULT(__stdcall *pfn)(A0))
 Creator function to adapt pointers to unary COM functions, causing them to act as predicates.
com_S_OK_tester_1_stdcall< A0 > com_S_OK (HRESULT(__stdcall *pfn)(A0))
 Creator function to adapt pointers to unary COM functions, causing them to act as predicates.


Generated on Thu Jun 10 08:57:56 2010 for STLSoft by  doxygen 1.5.6