STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

comstl_interface_cast.h File Reference

Safe interface casting functions. More...

#include "comstl.h"
#include "comstl_refcount_functions.h"
#include "comstl_interface_traits.h"
#include "comstl_bad_interface_cast.h"
#include "stlsoft_operator_bool.h"

Go to the source code of this file.

Namespaces

namespace  comstl

Functions

template<typename I, typename X> I get_ptr (::comstl::interface_cast_noaddref< I, X > &p)
 Attribute shim to retrieve the interface pointer of the given cast instance.

template<typename I, typename X> I const get_ptr (::comstl::interface_cast_noaddref< I, X > const &p)
 Attribute shim to retrieve the interface pointer of the given cast instance.

template<typename I, typename X> I get_ptr (::comstl::interface_cast_addref< I, X > &p)
 Attribute shim to retrieve the interface pointer of the given cast instance.

template<typename I, typename X> I const get_ptr (::comstl::interface_cast_addref< I, X > const &p)
 Attribute shim to retrieve the interface pointer of the given cast instance.


Detailed Description

Safe interface casting functions.


Function Documentation

I const get_ptr ::comstl::interface_cast_addref< I, X > const &    p [inline]
 

Attribute shim to retrieve the interface pointer of the given cast instance.

Parameters:
p  The cast instance

I get_ptr ::comstl::interface_cast_addref< I, X > &    p [inline]
 

Attribute shim to retrieve the interface pointer of the given cast instance.

Parameters:
p  The cast instance

I const get_ptr ::comstl::interface_cast_noaddref< I, X > const &    p [inline]
 

Attribute shim to retrieve the interface pointer of the given cast instance.

Parameters:
p  The cast instance

I get_ptr ::comstl::interface_cast_noaddref< I, X > &    p [inline]
 

Attribute shim to retrieve the interface pointer of the given cast instance.

Parameters:
p  The cast instance

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004