LibreOffice Module onlineupdate (master) 1
Public Member Functions | Public Attributes | List of all members
AutoHandle Struct Reference

#include <windowsHelper.hxx>

Public Member Functions

 AutoHandle (HANDLE handle)
 
 ~AutoHandle ()
 
void release (HANDLE handle)
 
HANDLE get () const
 
bool operator== (const AutoHandle &rhs) const
 

Public Attributes

HANDLE mHandle
 

Detailed Description

Definition at line 13 of file windowsHelper.hxx.

Constructor & Destructor Documentation

◆ AutoHandle()

AutoHandle::AutoHandle ( HANDLE  handle)
inline

Definition at line 15 of file windowsHelper.hxx.

◆ ~AutoHandle()

AutoHandle::~AutoHandle ( )
inline

Definition at line 20 of file windowsHelper.hxx.

References mHandle, and release().

Member Function Documentation

◆ get()

HANDLE AutoHandle::get ( ) const
inline

Definition at line 33 of file windowsHelper.hxx.

References mHandle.

Referenced by IsStatusApplying(), and VerifySameFiles().

◆ operator==()

bool AutoHandle::operator== ( const AutoHandle rhs) const
inline

Definition at line 38 of file windowsHelper.hxx.

References mHandle.

◆ release()

void AutoHandle::release ( HANDLE  handle)
inline

Definition at line 25 of file windowsHelper.hxx.

Referenced by ~AutoHandle().

Member Data Documentation

◆ mHandle

HANDLE AutoHandle::mHandle

Definition at line 43 of file windowsHelper.hxx.

Referenced by get(), operator==(), and ~AutoHandle().


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