LLVM  9.0.0svn
Public Member Functions | List of all members
llvm::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 llvm::ScopedHandle< HandleTraits >

Definition at line 69 of file WindowsSupport.h.

Constructor & Destructor Documentation

◆ ScopedHandle() [1/2]

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

Definition at line 76 of file WindowsSupport.h.

◆ ScopedHandle() [2/2]

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

Definition at line 79 of file WindowsSupport.h.

◆ ~ScopedHandle()

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

Definition at line 82 of file WindowsSupport.h.

Member Function Documentation

◆ operator bool()

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

Definition at line 101 of file WindowsSupport.h.

References true.

◆ operator handle_type()

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

Definition at line 105 of file WindowsSupport.h.

◆ operator=()

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

Definition at line 93 of file WindowsSupport.h.

◆ take()

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

Definition at line 87 of file WindowsSupport.h.


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