interface_addref Struct Template Reference
[Functional Library]

#include <comstl/functional/interface_functionals.hpp>

List of all members.

Detailed Description

template<typename I>
struct comstl::interface_addref< I >

A function class that adds references to COM interfaces.

This function class adds a reference to COM interfaces by calling AddRef() on them. Note that the function class benignly ignores null interface pointers.

I The COM interface on which to parameterise the template

Public Types

typedef I interface_type

Public Member Functions

void operator() (interface_type *pi)
 Function call operator.

Member Function Documentation

void operator() ( interface_type *  pi  )  [inline]

Function call operator.

pi The interface pointer on which to add a reference

References comstl::safe_addref().

The documentation for this struct was generated from the following file:

Generated on Thu Jun 10 08:58:26 2010 for STLSoft by  doxygen 1.5.6