LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ScopedHandle< HandleTraits > Class Template Reference

#include <Windows.h>

Public Member Functions

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

Detailed Description

template<typename HandleTraits>
class ScopedHandle< HandleTraits >

Definition at line 55 of file Windows.h.

Constructor & Destructor Documentation

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

Definition at line 62 of file Windows.h.

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

Definition at line 65 of file Windows.h.

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

Definition at line 68 of file Windows.h.

Member Function Documentation

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

Definition at line 87 of file Windows.h.

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

Definition at line 91 of file Windows.h.

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

Definition at line 79 of file Windows.h.

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

Definition at line 73 of file Windows.h.


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