interface.h File Reference

#include <comet/config.h>
#include <ocidl.h>
#include <string>
#include <stdexcept>
#include <comet/typelist.h>
#include <comet/static_assert.h>
#include <comet/uuid_fwd.h>

Include dependency graph for interface.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  comet
namespace  comet::impl

Classes

class  coclass_implementation< T >
struct  comet::uuid_comtype< ITF, ItfID, BASE >
struct  comet::comtype< T >
struct  comet::comtype< nil >
struct  comet::comtype< ::IUnknown >
struct  comet::comtype< IConnectionPoint >
struct  comet::comtype< IConnectionPointContainer >
struct  comet::comtype< IEnumConnections >
struct  comet::comtype< IDispatch >
struct  comet::comtype< IEnumVARIANT >
struct  comet::comtype< ISupportErrorInfo >
struct  comet::comtype< IErrorInfo >
struct  comet::comtype< IProvideClassInfo >
struct  comet::comtype< IPersist >
struct  comet::comtype< IPersistFile >
struct  comet::comtype< IPersistStream >
struct  comet::comtype< IPersistStreamInit >
struct  comet::comtype< IMessageFilter >
struct  comet::comtype< IProvideClassInfo2 >
struct  comet::comtype< IMarshal >
struct  comet::comtype< IFontDisp >
struct  comet::comtype< IPictureDisp >
struct  comet::comtype< IGlobalInterfaceTable >
struct  comet::comtype< IClassFactory >
struct  comet::impl::interface_lookup< Itf >
struct  comet::impl::interface_lookup< nil >

Functions

template<typename Itf> const uuid_t & uuidof (Itf *=0) throw ()
 C++ replacement of VC's __uuidof().


Detailed Description

Provide comtype which supplies information about UUIDs & inheritance, potentially from Interfaces not defined using a COMET type-library. Also defines specialisations for some such standard interfaces.

Function Documentation

template<typename Itf>
const uuid_t& uuidof Itf *  = 0  )  throw () [inline]
 

C++ replacement of VC's __uuidof().

Use this function to an IID to an interface or coclass.