LLVM 19.0.0git
Public Member Functions | List of all members
llvm::ScopedHandle< HandleTraits > Class Template Reference

#include "llvm/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 81 of file WindowsSupport.h.

Constructor & Destructor Documentation

◆ ScopedHandle() [1/2]

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

Definition at line 88 of file WindowsSupport.h.

◆ ScopedHandle() [2/2]

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

Definition at line 91 of file WindowsSupport.h.

◆ ~ScopedHandle()

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

Definition at line 94 of file WindowsSupport.h.

Member Function Documentation

◆ operator bool()

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

Definition at line 113 of file WindowsSupport.h.

References true.

◆ operator handle_type()

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

Definition at line 117 of file WindowsSupport.h.

◆ operator=()

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

Definition at line 105 of file WindowsSupport.h.

◆ take()

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

Definition at line 99 of file WindowsSupport.h.


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