LLVM API Documentation

Public Member Functions
ScopedHandle< HandleTraits > Class Template Reference

#include <WindowsSupport.h>

List of all members.

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 59 of file WindowsSupport.h.


Constructor & Destructor Documentation

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

Definition at line 66 of file WindowsSupport.h.

template<typename HandleTraits >
ScopedHandle< HandleTraits >::ScopedHandle ( handle_type  h) [inline, explicit]

Definition at line 69 of file WindowsSupport.h.

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

Definition at line 72 of file WindowsSupport.h.


Member Function Documentation

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

Definition at line 91 of file WindowsSupport.h.

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

Definition at line 95 of file WindowsSupport.h.

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

Definition at line 83 of file WindowsSupport.h.

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

Definition at line 77 of file WindowsSupport.h.


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