Harlinn.Windows 0.1
Loading...
Searching...
No Matches
Harlinn::Windows::PenHandle Class Reference

#include <HWHandles.h>

Inheritance diagram for Harlinn::Windows::PenHandle:
[legend]
Collaboration diagram for Harlinn::Windows::PenHandle:
[legend]

Public Types

using Base = Handle<PenHandle, HPEN>
 
- Public Types inherited from Harlinn::Common::Core::Handle< PenHandle, HPEN >
using DerivedType
 
using HandleType
 

Public Member Functions

constexpr PenHandle () noexcept
 
constexpr PenHandle (HPEN handle, bool ownsHandle=true) noexcept
 
void Close () noexcept
 
- Public Member Functions inherited from Harlinn::Common::Core::Handle< PenHandle, HPEN >
 Handle (const Handle &other)=delete
 
 Handle (Handle &&other) noexcept
 
virtual ~Handle () noexcept
 
constexpr bool IsValid () const noexcept
 
Handleoperator= (Handle &other)=delete
 
Handleoperator= (Handle &&other) noexcept
 
constexpr auto operator<=> (const Handle &other) const noexcept
 
constexpr auto operator<=> (HandleType handle) const noexcept
 
constexpr bool operator== (const Handle &other) const noexcept
 
constexpr bool operator== (HandleType handle) const noexcept
 
constexpr operator HandleType () const noexcept
 
constexpr HandleType Value () const noexcept
 
constexpr bool OwnsHandle () const noexcept
 

Friends

class DeviceContextHandle
 

Additional Inherited Members

- Static Public Member Functions inherited from Harlinn::Common::Core::Handle< PenHandle, HPEN >
static constexpr HandleType InvalidHandleValue () noexcept
 
- Protected Member Functions inherited from Harlinn::Common::Core::Handle< PenHandle, HPEN >
constexpr Handle () noexcept
 
constexpr Handle (HandleType handle, bool ownsHandle=true) noexcept
 
void SetValue (HandleType handle, bool ownsHandle=true)
 
- Protected Attributes inherited from Harlinn::Common::Core::Handle< PenHandle, HPEN >
HandleType value_
 

Member Typedef Documentation

◆ Base

Constructor & Destructor Documentation

◆ PenHandle() [1/2]

Harlinn::Windows::PenHandle::PenHandle ( )
inlineconstexprnoexcept

◆ PenHandle() [2/2]

Harlinn::Windows::PenHandle::PenHandle ( HPEN handle,
bool ownsHandle = true )
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ Close()

void Harlinn::Windows::PenHandle::Close ( )
inlinenoexcept

Friends And Related Symbol Documentation

◆ DeviceContextHandle

friend class DeviceContextHandle
friend

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