Nui
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Microsoft::WRL::Wrappers::HandleT< HandleTraits > Class Template Reference

#include <corewrappers.h>

Public Types

typedef HandleTraits Traits
 

Public Member Functions

 HandleT (typename HandleTraits::Type h=HandleTraits::GetInvalidValue()) throw ()
 
 HandleT (_Inout_ HandleT &&h) throw ()
 
virtual ~HandleT () throw ()
 
HandleToperator= (_Inout_ HandleT &&h) throw ()
 
void Attach (typename HandleTraits::Type h) throw ()
 
HandleTraits::Type Detach () throw ()
 
HandleTraits::Type Get () const throw ()
 
void Close () throw ()
 
bool IsValid () const throw ()
 
HandleTraits::Type * GetAddressOf () throw ()
 
HandleTraits::Type * ReleaseAndGetAddressOf () throw ()
 

Protected Member Functions

virtual bool InternalClose () throw ()
 

Protected Attributes

HandleTraits::Type handle_
 

Member Typedef Documentation

◆ Traits

template<typename HandleTraits >
typedef HandleTraits Microsoft::WRL::Wrappers::HandleT< HandleTraits >::Traits

Constructor & Destructor Documentation

◆ HandleT() [1/2]

template<typename HandleTraits >
Microsoft::WRL::Wrappers::HandleT< HandleTraits >::HandleT ( typename HandleTraits::Type  h = HandleTraits::GetInvalidValue())
throw (
)
inlineexplicit

◆ HandleT() [2/2]

template<typename HandleTraits >
Microsoft::WRL::Wrappers::HandleT< HandleTraits >::HandleT ( _Inout_ HandleT< HandleTraits > &&  h)
throw (
)
inline

◆ ~HandleT()

template<typename HandleTraits >
virtual Microsoft::WRL::Wrappers::HandleT< HandleTraits >::~HandleT ( )
throw (
)
inlinevirtual

Member Function Documentation

◆ Attach()

template<typename HandleTraits >
void Microsoft::WRL::Wrappers::HandleT< HandleTraits >::Attach ( typename HandleTraits::Type  h)
throw (
)
inline

◆ Close()

template<typename HandleTraits >
void Microsoft::WRL::Wrappers::HandleT< HandleTraits >::Close ( )
throw (
)
inline

◆ Detach()

template<typename HandleTraits >
HandleTraits::Type Microsoft::WRL::Wrappers::HandleT< HandleTraits >::Detach ( )
throw (
)
inline

◆ Get()

template<typename HandleTraits >
HandleTraits::Type Microsoft::WRL::Wrappers::HandleT< HandleTraits >::Get ( ) const
throw (
)
inline

◆ GetAddressOf()

template<typename HandleTraits >
HandleTraits::Type* Microsoft::WRL::Wrappers::HandleT< HandleTraits >::GetAddressOf ( )
throw (
)
inline

◆ InternalClose()

template<typename HandleTraits >
virtual bool Microsoft::WRL::Wrappers::HandleT< HandleTraits >::InternalClose ( )
throw (
)
inlineprotectedvirtual

◆ IsValid()

template<typename HandleTraits >
bool Microsoft::WRL::Wrappers::HandleT< HandleTraits >::IsValid ( ) const
throw (
)
inline

◆ operator=()

template<typename HandleTraits >
HandleT& Microsoft::WRL::Wrappers::HandleT< HandleTraits >::operator= ( _Inout_ HandleT< HandleTraits > &&  h)
throw (
)
inline

◆ ReleaseAndGetAddressOf()

template<typename HandleTraits >
HandleTraits::Type* Microsoft::WRL::Wrappers::HandleT< HandleTraits >::ReleaseAndGetAddressOf ( )
throw (
)
inline

Member Data Documentation

◆ handle_

template<typename HandleTraits >
HandleTraits::Type Microsoft::WRL::Wrappers::HandleT< HandleTraits >::handle_
protected

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