LLVM  4.0.0
Public Member Functions | List of all members
ScopedHandle< HandleTraits > Class Template Reference

#include <WindowsSupport.h>

Public Member Functions

 ScopedHandle ()
 
 ScopedHandle (handle_type h)
 
 ~ScopedHandle ()
 
handle_type take ()
 
ScopedHandleoperator= (handle_type h)
 
 operator bool () const
 
 operator handle_type () const
 

Detailed Description

template<typename HandleTraits>
class ScopedHandle< HandleTraits >

Definition at line 92 of file WindowsSupport.h.

Constructor & Destructor Documentation

template<typename HandleTraits >
ScopedHandle< HandleTraits >::ScopedHandle ( )
inline

Definition at line 99 of file WindowsSupport.h.

template<typename HandleTraits >
ScopedHandle< HandleTraits >::ScopedHandle ( handle_type  h)
inlineexplicit

Definition at line 102 of file WindowsSupport.h.

template<typename HandleTraits >
ScopedHandle< HandleTraits >::~ScopedHandle ( )
inline

Definition at line 105 of file WindowsSupport.h.

Member Function Documentation

template<typename HandleTraits >
ScopedHandle< HandleTraits >::operator bool ( ) const
inlineexplicit

Definition at line 124 of file WindowsSupport.h.

template<typename HandleTraits >
ScopedHandle< HandleTraits >::operator handle_type ( ) const
inline

Definition at line 128 of file WindowsSupport.h.

template<typename HandleTraits >
ScopedHandle& ScopedHandle< HandleTraits >::operator= ( handle_type  h)
inline

Definition at line 116 of file WindowsSupport.h.

template<typename HandleTraits >
handle_type ScopedHandle< HandleTraits >::take ( )
inline

Definition at line 110 of file WindowsSupport.h.

References t.


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