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

#include "Support/Windows/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 94 of file WindowsSupport.h.

Constructor & Destructor Documentation

◆ ScopedHandle() [1/2]

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

Definition at line 101 of file WindowsSupport.h.

◆ ScopedHandle() [2/2]

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

Definition at line 104 of file WindowsSupport.h.

◆ ~ScopedHandle()

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

Definition at line 107 of file WindowsSupport.h.

Member Function Documentation

◆ operator bool()

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

Definition at line 126 of file WindowsSupport.h.

References true.

◆ operator handle_type()

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

Definition at line 130 of file WindowsSupport.h.

◆ operator=()

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

Definition at line 118 of file WindowsSupport.h.

◆ take()

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

Definition at line 112 of file WindowsSupport.h.


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