From fcb4aee9c607b2fe911dc95035eaec9104f6f2d7 Mon Sep 17 00:00:00 2001 From: rozmansi Date: Tue, 1 Oct 2024 11:48:46 +0000 Subject: [PATCH] deploy: 4fc1d6c4759eff96ee6a5446bbf08c94660278c3 --- ....html => _core_foundation_8hpp_source.html | 14 +- _i_o_kit_8hpp_source.html | 152 ++++ annotated.html | 5 +- classes.html | 13 +- classmacstd_1_1dplhandle-members.html | 135 +++ classmacstd_1_1dplhandle.html | 549 ++++++++++++ classmacstd_1_1dplhandle.png | Bin 0 -> 755 bytes classmacstd_1_1handle-members.html | 126 +++ classmacstd_1_1handle.html | 838 ++++++++++++++++++ classmacstd_1_1handle.png | Bin 0 -> 759 bytes classmacstd_1_1io__object-members.html | 127 +++ classmacstd_1_1io__object.html | 272 ++++++ classmacstd_1_1io__object.png | Bin 0 -> 617 bytes common_8hpp_source.html | 318 ++++++- dir_49bef833487b2e4ec885e49af66a06b7.html | 6 +- dir_d44c64559bbebec7f509842c48db8b23.html | 2 +- doxygen_crawl.html | 63 +- dyld_8hpp_source.html | 2 +- files.html | 9 +- functions.html | 57 +- functions_func.html | 52 +- functions_vars.html | 98 ++ hierarchy.html | 107 +++ index.html | 2 +- menudata.js | 21 +- search/all_0.js | 4 +- search/all_2.js | 5 +- search/all_3.js | 3 +- search/all_4.js | 5 +- search/all_5.js | 4 +- search/all_6.js | 3 +- search/all_7.js | 4 +- search/all_8.js | 2 +- search/all_9.js | 14 +- search/all_a.js | 2 +- search/all_b.js | 2 +- search/all_c.js | 4 + search/all_d.js | 4 + search/all_e.js | 4 + search/classes_1.js | 4 + search/classes_2.js | 5 + search/classes_3.js | 4 + search/functions_0.js | 3 +- search/functions_1.js | 2 +- search/functions_2.js | 7 + search/functions_3.js | 5 + search/functions_4.js | 4 + search/functions_5.js | 16 + search/functions_6.js | 4 + search/searchdata.js | 15 +- search/variables_0.js | 4 + ...acstd_1_1_c_f_release__delete-members.html | 2 +- structmacstd_1_1_c_f_release__delete.html | 6 +- unistd_8hpp_source.html | 2 +- 54 files changed, 3056 insertions(+), 55 deletions(-) rename _foundation_8hpp_source.html => _core_foundation_8hpp_source.html (93%) create mode 100644 _i_o_kit_8hpp_source.html create mode 100644 classmacstd_1_1dplhandle-members.html create mode 100644 classmacstd_1_1dplhandle.html create mode 100644 classmacstd_1_1dplhandle.png create mode 100644 classmacstd_1_1handle-members.html create mode 100644 classmacstd_1_1handle.html create mode 100644 classmacstd_1_1handle.png create mode 100644 classmacstd_1_1io__object-members.html create mode 100644 classmacstd_1_1io__object.html create mode 100644 classmacstd_1_1io__object.png create mode 100644 functions_vars.html create mode 100644 hierarchy.html create mode 100644 search/all_c.js create mode 100644 search/all_d.js create mode 100644 search/all_e.js create mode 100644 search/classes_1.js create mode 100644 search/classes_2.js create mode 100644 search/classes_3.js create mode 100644 search/functions_2.js create mode 100644 search/functions_3.js create mode 100644 search/functions_4.js create mode 100644 search/functions_5.js create mode 100644 search/functions_6.js create mode 100644 search/variables_0.js diff --git a/_foundation_8hpp_source.html b/_core_foundation_8hpp_source.html similarity index 93% rename from _foundation_8hpp_source.html rename to _core_foundation_8hpp_source.html index c45e319..3b4f8b2 100644 --- a/_foundation_8hpp_source.html +++ b/_core_foundation_8hpp_source.html @@ -5,7 +5,7 @@ -MacStd: include/MacStd/Foundation.hpp Source File +MacStd: include/MacStd/CoreFoundation.hpp Source File @@ -89,7 +89,7 @@ $(function(){ initResizable(false); });
-
Foundation.hpp
+
CoreFoundation.hpp
1/*
@@ -100,7 +100,7 @@ $(function(){ initResizable(false); });
6#pragma once
7
8#include "common.hpp"
-
9#import <Foundation/Foundation.h>
+
9#include <CoreFoundation/CoreFoundation.h>
10#include <memory>
11
12namespace macstd {
@@ -122,13 +122,13 @@ $(function(){ initResizable(false); });
39 template <class T>
40 using CFType = std::unique_ptr<T, CFRelease_delete>;
41}
-
Deleter for unique_ptr using CFRelease.
Definition Foundation.hpp:17
-
CFRelease_delete() noexcept
Default constructor.
Definition Foundation.hpp:21
-
void operator()(_T *_Ptr) const
Delete a pointer.
Definition Foundation.hpp:29
+
Deleter for unique_ptr using CFRelease.
Definition CoreFoundation.hpp:17
+
CFRelease_delete() noexcept
Default constructor.
Definition CoreFoundation.hpp:21
+
void operator()(_T *_Ptr) const
Delete a pointer.
Definition CoreFoundation.hpp:29
diff --git a/_i_o_kit_8hpp_source.html b/_i_o_kit_8hpp_source.html new file mode 100644 index 0000000..d963625 --- /dev/null +++ b/_i_o_kit_8hpp_source.html @@ -0,0 +1,152 @@ + + + + + + + +MacStd: include/MacStd/IOKit.hpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MacStd +
+
OS X API using Standard C++
+
+
+ + + + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
+
IOKit.hpp
+
+
+
1/*
+
2 SPDX-License-Identifier: MIT
+
3 Copyright © 2024 Amebis
+
4*/
+
5
+
6#pragma once
+
7
+
8#include "common.hpp"
+
9#import <IOKit/IOKitLib.h>
+
10
+
11namespace macstd {
+
15 template <typename T>
+
+
16 class io_object : public handle<T, 0>
+
17 {
+
18 MACSTD_HANDLE_IMPL(io_object, T, 0)
+
19
+
20 public:
+
+
26 virtual ~io_object()
+
27 {
+
28 if (this->m_h != 0)
+ +
30 }
+
+
31
+
32 protected:
+
+
38 void free_internal() noexcept override
+
39 {
+
40 IOObjectRelease(this->m_h);
+
41 }
+
+
42 };
+
+
43
+
44 using io_connect = io_object<io_connect_t>;
+
45 using io_enumerator = io_object<io_enumerator_t>;
+
46 using io_ident = io_object<io_ident_t>;
+
47 using io_iterator = io_object<io_iterator_t>;
+
48 using io_registry_entry = io_object<io_registry_entry_t>;
+
49 using io_service = io_object<io_service_t>;
+
50 using uext_object = io_object<uext_object_t>;
+
51}
+
52
+
Base abstract template class to support generic object handle keeping.
Definition common.hpp:70
+
T m_h
Definition common.hpp:312
+
IOKit handle wrapper class.
Definition IOKit.hpp:17
+
virtual ~io_object()
Releases an object handle.
Definition IOKit.hpp:26
+
void free_internal() noexcept override
Releases an object handle.
Definition IOKit.hpp:38
+
+ + +
+ + diff --git a/annotated.html b/annotated.html index d57dc3a..134d627 100644 --- a/annotated.html +++ b/annotated.html @@ -92,12 +92,15 @@ $(function(){ initResizable(false); });
[detail level 12]
+ + +
 Nmacstd
 CCFRelease_deleteDeleter for unique_ptr using CFRelease
 CdplhandleBase abstract template class to support object handle keeping for objects that support trivial handle duplication
 ChandleBase abstract template class to support generic object handle keeping
 Cio_objectIOKit handle wrapper class
diff --git a/classes.html b/classes.html index 12ae82d..b8b2b63 100644 --- a/classes.html +++ b/classes.html @@ -88,16 +88,25 @@ $(function(){ initResizable(false); });
Class Index
- +
C | D | H | I
C
CFRelease_delete (macstd)
+
+
D
+
dplhandle (macstd)
+
+
H
+
handle (macstd)
+
+
I
+
io_object (macstd)
diff --git a/classmacstd_1_1dplhandle-members.html b/classmacstd_1_1dplhandle-members.html new file mode 100644 index 0000000..e32860e --- /dev/null +++ b/classmacstd_1_1dplhandle-members.html @@ -0,0 +1,135 @@ + + + + + + + +MacStd: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MacStd +
+
OS X API using Standard C++
+
+
+ + + + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
+
macstd::dplhandle< T, INVAL > Member List
+
+
+ +

This is the complete list of members for macstd::dplhandle< T, INVAL >, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
attach(T h) noexceptmacstd::handle< T, INVAL >inline
attach_duplicated(T h)macstd::dplhandle< T, INVAL >inline
detach()macstd::handle< T, INVAL >inline
dplhandle() noexceptmacstd::dplhandle< T, INVAL >inline
dplhandle(T h) noexceptmacstd::dplhandle< T, INVAL >inline
dplhandle(const dplhandle< T, INVAL > &h)macstd::dplhandle< T, INVAL >inline
dplhandle(dplhandle< T, INVAL > &&h) noexceptmacstd::dplhandle< T, INVAL >inline
duplicate() constmacstd::dplhandle< T, INVAL >inline
duplicate_internal(T h) const =0macstd::dplhandle< T, INVAL >protectedpure virtual
free()macstd::handle< T, INVAL >inline
free_internal() noexcept=0macstd::handle< T, INVAL >protectedpure virtual
handle() noexceptmacstd::handle< T, INVAL >inline
handle(T h) noexceptmacstd::handle< T, INVAL >inline
handle(handle< T, INVAL > &&h) noexceptmacstd::handle< T, INVAL >inline
m_hmacstd::handle< T, INVAL >protected
operator T() constmacstd::handle< T, INVAL >inline
operator!() constmacstd::handle< T, INVAL >inline
operator!=(T h) constmacstd::handle< T, INVAL >inline
operator&()macstd::handle< T, INVAL >inline
operator*() constmacstd::handle< T, INVAL >inline
operator->() constmacstd::handle< T, INVAL >inline
operator<(T h) constmacstd::handle< T, INVAL >inline
operator<=(T h) constmacstd::handle< T, INVAL >inline
operator=(T h) noexceptmacstd::dplhandle< T, INVAL >inline
operator=(const dplhandle< T, INVAL > &h) noexceptmacstd::dplhandle< T, INVAL >inline
operator=(dplhandle< T, INVAL > &&h) noexceptmacstd::dplhandle< T, INVAL >inline
macstd::handle::operator=(handle< T, INVAL > &&h) noexceptmacstd::handle< T, INVAL >inline
operator==(T h) constmacstd::handle< T, INVAL >inline
operator>(T h) constmacstd::handle< T, INVAL >inline
operator>=(T h) constmacstd::handle< T, INVAL >inline
+ + +
+ + diff --git a/classmacstd_1_1dplhandle.html b/classmacstd_1_1dplhandle.html new file mode 100644 index 0000000..5044def --- /dev/null +++ b/classmacstd_1_1dplhandle.html @@ -0,0 +1,549 @@ + + + + + + + +MacStd: macstd::dplhandle< T, INVAL > Class Template Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MacStd +
+
OS X API using Standard C++
+
+
+ + + + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
+ +
macstd::dplhandle< T, INVAL > Class Template Referenceabstract
+
+
+ +

Base abstract template class to support object handle keeping for objects that support trivial handle duplication. + More...

+ +

#include <MacStd/common.hpp>

+
+Inheritance diagram for macstd::dplhandle< T, INVAL >:
+
+
+ + +macstd::handle< T, INVAL > + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

dplhandle () noexcept
 Initializes a new class instance with the object handle set to INVAL.
 
 dplhandle (T h) noexcept
 Initializes a new class instance with an already available object handle.
 
 dplhandle (const dplhandle< T, INVAL > &h)
 Copy constructor.
 
 dplhandle (dplhandle< T, INVAL > &&h) noexcept
 Move constructor.
 
dplhandle< T, INVAL > & operator= (T h) noexcept
 Attaches already available object handle.
 
dplhandle< T, INVAL > & operator= (const dplhandle< T, INVAL > &h) noexcept
 Duplicates the object.
 
dplhandle< T, INVAL > & operator= (dplhandle< T, INVAL > &&h) noexcept
 Moves the object.
 
duplicate () const
 Duplicates and returns a new object handle.
 
void attach_duplicated (T h)
 Duplicates an object handle and sets a new object handle.
 
- Public Member Functions inherited from macstd::handle< T, INVAL >
handle () noexcept
 Initializes a new class instance with the object handle set to INVAL.
 
 handle (T h) noexcept
 Initializes a new class instance with an already available object handle.
 
 handle (handle< T, INVAL > &&h) noexcept
 Move constructor.
 
handle< T, INVAL > & operator= (T h) noexcept
 Attaches already available object handle.
 
handle< T, INVAL > & operator= (handle< T, INVAL > &&h) noexcept
 Move assignment.
 
 operator T () const
 Auto-typecasting operator.
 
T *& operator* () const
 Returns the object handle value when the object handle is a pointer to a value (class, struct, etc.).
 
T * operator& ()
 Returns the object handle reference.
 
operator-> () const
 Provides object handle member access when the object handle is a pointer to a class or struct.
 
bool operator! () const
 Tests if the object handle is invalid.
 
bool operator< (T h) const
 Is handle less than?
 
bool operator<= (T h) const
 Is handle less than or equal to?
 
bool operator>= (T h) const
 Is handle greater than or equal to?
 
bool operator> (T h) const
 Is handle greater than?
 
bool operator!= (T h) const
 Is handle not equal to?
 
bool operator== (T h) const
 Is handle equal to?
 
void attach (T h) noexcept
 Sets a new object handle for the class.
 
detach ()
 Dismisses the object handle from this class.
 
+void free ()
 Destroys the object.
 
+ + + + + + + + +

+Protected Member Functions

virtual T duplicate_internal (T h) const =0
 Abstract member function that must be implemented by child classes to do the actual object handle duplication. On failure, it should throw appropriate exception describing the cause, rather than return an invalid handle.
 
- Protected Member Functions inherited from macstd::handle< T, INVAL >
virtual void free_internal () noexcept=0
 Abstract member function that must be implemented by child classes to do the actual object destruction.
 
+ + + + + +

+Additional Inherited Members

- Protected Attributes inherited from macstd::handle< T, INVAL >
+T m_h
 Object handle.
 
+

Detailed Description

+
template<class T, T INVAL>
+class macstd::dplhandle< T, INVAL >

Base abstract template class to support object handle keeping for objects that support trivial handle duplication.

+

Constructor & Destructor Documentation

+ +

◆ dplhandle() [1/3]

+ +
+
+
+template<class T , T INVAL>
+ + + + + +
+ + + + + + + +
macstd::dplhandle< T, INVAL >::dplhandle (T h)
+
+inlinenoexcept
+
+ +

Initializes a new class instance with an already available object handle.

+
Parameters
+ + +
[in]hInitial object handle value
+
+
+ +
+
+ +

◆ dplhandle() [2/3]

+ +
+
+
+template<class T , T INVAL>
+ + + + + +
+ + + + + + + +
macstd::dplhandle< T, INVAL >::dplhandle (const dplhandle< T, INVAL > & h)
+
+inline
+
+ +

Copy constructor.

+
Parameters
+ + +
[in,out]hA reference of another object
+
+
+ +
+
+ +

◆ dplhandle() [3/3]

+ +
+
+
+template<class T , T INVAL>
+ + + + + +
+ + + + + + + +
macstd::dplhandle< T, INVAL >::dplhandle (dplhandle< T, INVAL > && h)
+
+inlinenoexcept
+
+ +

Move constructor.

+
Parameters
+ + +
[in,out]hA rvalue reference of another object
+
+
+ +
+
+

Member Function Documentation

+ +

◆ attach_duplicated()

+ +
+
+
+template<class T , T INVAL>
+ + + + + +
+ + + + + + + +
void macstd::dplhandle< T, INVAL >::attach_duplicated (T h)
+
+inline
+
+ +

Duplicates an object handle and sets a new object handle.

+
Parameters
+ + +
[in]hObject handle of existing object
+
+
+ +
+
+ +

◆ duplicate()

+ +
+
+
+template<class T , T INVAL>
+ + + + + +
+ + + + + + + +
T macstd::dplhandle< T, INVAL >::duplicate () const
+
+inline
+
+ +

Duplicates and returns a new object handle.

+
Returns
Duplicated object handle
+ +
+
+ +

◆ duplicate_internal()

+ +
+
+
+template<class T , T INVAL>
+ + + + + +
+ + + + + + + +
virtual T macstd::dplhandle< T, INVAL >::duplicate_internal (T h) const
+
+protectedpure virtual
+
+ +

Abstract member function that must be implemented by child classes to do the actual object handle duplication. On failure, it should throw appropriate exception describing the cause, rather than return an invalid handle.

+
Parameters
+ + +
[in]hObject handle of existing object
+
+
+
Returns
Duplicated object handle
+ +
+
+ +

◆ operator=() [1/3]

+ +
+
+
+template<class T , T INVAL>
+ + + + + +
+ + + + + + + +
dplhandle< T, INVAL > & macstd::dplhandle< T, INVAL >::operator= (const dplhandle< T, INVAL > & h)
+
+inlinenoexcept
+
+ +

Duplicates the object.

+
Parameters
+ + +
[in]hObject
+
+
+ +
+
+ +

◆ operator=() [2/3]

+ +
+
+
+template<class T , T INVAL>
+ + + + + +
+ + + + + + + +
dplhandle< T, INVAL > & macstd::dplhandle< T, INVAL >::operator= (dplhandle< T, INVAL > && h)
+
+inlinenoexcept
+
+ +

Moves the object.

+
Parameters
+ + +
[in,out]hA rvalue reference of another object
+
+
+ +
+
+ +

◆ operator=() [3/3]

+ +
+
+
+template<class T , T INVAL>
+ + + + + +
+ + + + + + + +
dplhandle< T, INVAL > & macstd::dplhandle< T, INVAL >::operator= (T h)
+
+inlinenoexcept
+
+ +

Attaches already available object handle.

+
Parameters
+ + +
[in]hObject handle value
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ + +
+ + diff --git a/classmacstd_1_1dplhandle.png b/classmacstd_1_1dplhandle.png new file mode 100644 index 0000000000000000000000000000000000000000..454c22b58d49b7968b453faa3ba9077366d04914 GIT binary patch literal 755 zcmeAS@N?(olHy`uVBq!ia0vp^dx1EBgBeIxUv7y5QqloFA+G=b{|7Q(y!l$%e`vXd zfo6fk^fNCWJa_;UH$5A+1SrQ@666=m0OW&#In(Sb3=B+lo-U3d6^w7^Ca!y|z|+#+ z8FKco|DH+_CbbD>`n$6g0}T%b|DT(td_u-Ed*&;BgzQJ!Y^q)+9z)y3nL?^kBtyrWti?i&Al%I-aF zoS!GmYc#2HkeB>)`}MjleWj-JzST9~%X`Y8?77(Q&FW0h3g<)>xCqqDYX?WI4-XD$0uW1jV2Q9ikE&%bQ@t4@>t z=&1kN&-`AjdQ#0gSN}`0vh_ z)z26jriN=&ePqq4ESG) zsw{s0^0D^k)34TTQJ9*>&bPYImx()zC*ag$=UzEC~s-W@loX3OPvfkSJ4F>46Sd9FBn_Z(pI OWbkzLb6Mw<&;$Uz;CZJ2 literal 0 HcmV?d00001 diff --git a/classmacstd_1_1handle-members.html b/classmacstd_1_1handle-members.html new file mode 100644 index 0000000..8869c7e --- /dev/null +++ b/classmacstd_1_1handle-members.html @@ -0,0 +1,126 @@ + + + + + + + +MacStd: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MacStd +
+
OS X API using Standard C++
+
+
+ + + + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
+
macstd::handle< T, INVAL > Member List
+
+
+ +

This is the complete list of members for macstd::handle< T, INVAL >, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + +
attach(T h) noexceptmacstd::handle< T, INVAL >inline
detach()macstd::handle< T, INVAL >inline
free()macstd::handle< T, INVAL >inline
free_internal() noexcept=0macstd::handle< T, INVAL >protectedpure virtual
handle() noexceptmacstd::handle< T, INVAL >inline
handle(T h) noexceptmacstd::handle< T, INVAL >inline
handle(handle< T, INVAL > &&h) noexceptmacstd::handle< T, INVAL >inline
m_hmacstd::handle< T, INVAL >protected
operator T() constmacstd::handle< T, INVAL >inline
operator!() constmacstd::handle< T, INVAL >inline
operator!=(T h) constmacstd::handle< T, INVAL >inline
operator&()macstd::handle< T, INVAL >inline
operator*() constmacstd::handle< T, INVAL >inline
operator->() constmacstd::handle< T, INVAL >inline
operator<(T h) constmacstd::handle< T, INVAL >inline
operator<=(T h) constmacstd::handle< T, INVAL >inline
operator=(T h) noexceptmacstd::handle< T, INVAL >inline
operator=(handle< T, INVAL > &&h) noexceptmacstd::handle< T, INVAL >inline
operator==(T h) constmacstd::handle< T, INVAL >inline
operator>(T h) constmacstd::handle< T, INVAL >inline
operator>=(T h) constmacstd::handle< T, INVAL >inline
+ + +
+ + diff --git a/classmacstd_1_1handle.html b/classmacstd_1_1handle.html new file mode 100644 index 0000000..45cfd1a --- /dev/null +++ b/classmacstd_1_1handle.html @@ -0,0 +1,838 @@ + + + + + + + +MacStd: macstd::handle< T, INVAL > Class Template Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MacStd +
+
OS X API using Standard C++
+
+
+ + + + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
+ +
macstd::handle< T, INVAL > Class Template Referenceabstract
+
+
+ +

Base abstract template class to support generic object handle keeping. + More...

+ +

#include <MacStd/common.hpp>

+
+Inheritance diagram for macstd::handle< T, INVAL >:
+
+
+ + +macstd::dplhandle< T, INVAL > + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

handle () noexcept
 Initializes a new class instance with the object handle set to INVAL.
 
 handle (T h) noexcept
 Initializes a new class instance with an already available object handle.
 
 handle (handle< T, INVAL > &&h) noexcept
 Move constructor.
 
handle< T, INVAL > & operator= (T h) noexcept
 Attaches already available object handle.
 
handle< T, INVAL > & operator= (handle< T, INVAL > &&h) noexcept
 Move assignment.
 
 operator T () const
 Auto-typecasting operator.
 
T *& operator* () const
 Returns the object handle value when the object handle is a pointer to a value (class, struct, etc.).
 
T * operator& ()
 Returns the object handle reference.
 
operator-> () const
 Provides object handle member access when the object handle is a pointer to a class or struct.
 
bool operator! () const
 Tests if the object handle is invalid.
 
bool operator< (T h) const
 Is handle less than?
 
bool operator<= (T h) const
 Is handle less than or equal to?
 
bool operator>= (T h) const
 Is handle greater than or equal to?
 
bool operator> (T h) const
 Is handle greater than?
 
bool operator!= (T h) const
 Is handle not equal to?
 
bool operator== (T h) const
 Is handle equal to?
 
void attach (T h) noexcept
 Sets a new object handle for the class.
 
detach ()
 Dismisses the object handle from this class.
 
+void free ()
 Destroys the object.
 
+ + + + +

+Protected Member Functions

virtual void free_internal () noexcept=0
 Abstract member function that must be implemented by child classes to do the actual object destruction.
 
+ + + + +

+Protected Attributes

+T m_h
 Object handle.
 
+

Detailed Description

+
template<class T, const T INVAL>
+class macstd::handle< T, INVAL >

Base abstract template class to support generic object handle keeping.

+

It provides basic operators and methods common to all descendands of this class establishing a base to ease the replacement of native object handle type with classes in object-oriented approach.

+

Constructor & Destructor Documentation

+ +

◆ handle() [1/2]

+ +
+
+
+template<class T , const T INVAL>
+ + + + + +
+ + + + + + + +
macstd::handle< T, INVAL >::handle (T h)
+
+inlinenoexcept
+
+ +

Initializes a new class instance with an already available object handle.

+
Parameters
+ + +
[in]hInitial object handle value
+
+
+ +
+
+ +

◆ handle() [2/2]

+ +
+
+
+template<class T , const T INVAL>
+ + + + + +
+ + + + + + + +
macstd::handle< T, INVAL >::handle (handle< T, INVAL > && h)
+
+inlinenoexcept
+
+ +

Move constructor.

+
Parameters
+ + +
[in,out]hA rvalue reference of another object
+
+
+ +
+
+

Member Function Documentation

+ +

◆ attach()

+ +
+
+
+template<class T , const T INVAL>
+ + + + + +
+ + + + + + + +
void macstd::handle< T, INVAL >::attach (T h)
+
+inlinenoexcept
+
+ +

Sets a new object handle for the class.

+

When the current object handle of the class is non-INVAL, the object is destroyed first.

+
Parameters
+ + +
[in]hNew object handle
+
+
+ +
+
+ +

◆ detach()

+ +
+
+
+template<class T , const T INVAL>
+ + + + + +
+ + + + + + + +
T macstd::handle< T, INVAL >::detach ()
+
+inline
+
+ +

Dismisses the object handle from this class.

+
Returns
Object handle
+ +
+
+ +

◆ free_internal()

+ +
+
+
+template<class T , const T INVAL>
+ + + + + +
+ + + + + + + +
virtual void macstd::handle< T, INVAL >::free_internal ()
+
+protectedpure virtualnoexcept
+
+ +

Abstract member function that must be implemented by child classes to do the actual object destruction.

+ +

Implemented in macstd::io_object< T >.

+ +
+
+ +

◆ operator T()

+ +
+
+
+template<class T , const T INVAL>
+ + + + + +
+ + + + + + + +
macstd::handle< T, INVAL >::operator T () const
+
+inline
+
+ +

Auto-typecasting operator.

+
Returns
Object handle
+ +
+
+ +

◆ operator!()

+ +
+
+
+template<class T , const T INVAL>
+ + + + + +
+ + + + + + + +
bool macstd::handle< T, INVAL >::operator! () const
+
+inline
+
+ +

Tests if the object handle is invalid.

+
Returns
    +
  • Non zero when object handle is invalid;
  • +
  • Zero otherwise.
  • +
+
+
Note
Implementing operator bool() const would be correct C++ approach here. Unfortunately, it would produce ambiguities where bool and T are polymorphed. Use !! to test if the object handle is valid.
+ +
+
+ +

◆ operator!=()

+ +
+
+
+template<class T , const T INVAL>
+ + + + + +
+ + + + + + + +
bool macstd::handle< T, INVAL >::operator!= (T h) const
+
+inline
+
+ +

Is handle not equal to?

+
Parameters
+ + +
[in]hObject handle to compare against
+
+
+
Returns
    +
  • Non zero when object handle is not equal to h;
  • +
  • Zero otherwise.
  • +
+
+ +
+
+ +

◆ operator&()

+ +
+
+
+template<class T , const T INVAL>
+ + + + + +
+ + + + + + + +
T * macstd::handle< T, INVAL >::operator& ()
+
+inline
+
+ +

Returns the object handle reference.

+
Returns
Object handle reference
+ +
+
+ +

◆ operator*()

+ +
+
+
+template<class T , const T INVAL>
+ + + + + +
+ + + + + + + +
T *& macstd::handle< T, INVAL >::operator* () const
+
+inline
+
+ +

Returns the object handle value when the object handle is a pointer to a value (class, struct, etc.).

+
Returns
Object handle value
+ +
+
+ +

◆ operator->()

+ +
+
+
+template<class T , const T INVAL>
+ + + + + +
+ + + + + + + +
T macstd::handle< T, INVAL >::operator-> () const
+
+inline
+
+ +

Provides object handle member access when the object handle is a pointer to a class or struct.

+
Returns
Object handle
+ +
+
+ +

◆ operator<()

+ +
+
+
+template<class T , const T INVAL>
+ + + + + +
+ + + + + + + +
bool macstd::handle< T, INVAL >::operator< (T h) const
+
+inline
+
+ +

Is handle less than?

+
Parameters
+ + +
[in]hObject handle to compare against
+
+
+
Returns
    +
  • Non zero when object handle is less than h;
  • +
  • Zero otherwise.
  • +
+
+ +
+
+ +

◆ operator<=()

+ +
+
+
+template<class T , const T INVAL>
+ + + + + +
+ + + + + + + +
bool macstd::handle< T, INVAL >::operator<= (T h) const
+
+inline
+
+ +

Is handle less than or equal to?

+
Parameters
+ + +
[in]hObject handle to compare against
+
+
+
Returns
    +
  • Non zero when object handle is less than or equal to h;
  • +
  • Zero otherwise.
  • +
+
+ +
+
+ +

◆ operator=() [1/2]

+ +
+
+
+template<class T , const T INVAL>
+ + + + + +
+ + + + + + + +
handle< T, INVAL > & macstd::handle< T, INVAL >::operator= (handle< T, INVAL > && h)
+
+inlinenoexcept
+
+ +

Move assignment.

+
Parameters
+ + +
[in,out]hA rvalue reference of another object
+
+
+ +
+
+ +

◆ operator=() [2/2]

+ +
+
+
+template<class T , const T INVAL>
+ + + + + +
+ + + + + + + +
handle< T, INVAL > & macstd::handle< T, INVAL >::operator= (T h)
+
+inlinenoexcept
+
+ +

Attaches already available object handle.

+
Parameters
+ + +
[in]hObject handle value
+
+
+ +
+
+ +

◆ operator==()

+ +
+
+
+template<class T , const T INVAL>
+ + + + + +
+ + + + + + + +
bool macstd::handle< T, INVAL >::operator== (T h) const
+
+inline
+
+ +

Is handle equal to?

+
Parameters
+ + +
[in]hObject handle to compare against
+
+
+
Returns
    +
  • Non zero when object handle is equal to h;
  • +
  • Zero otherwise.
  • +
+
+ +
+
+ +

◆ operator>()

+ +
+
+
+template<class T , const T INVAL>
+ + + + + +
+ + + + + + + +
bool macstd::handle< T, INVAL >::operator> (T h) const
+
+inline
+
+ +

Is handle greater than?

+
Parameters
+ + +
[in]hObject handle to compare against
+
+
+
Returns
    +
  • Non zero when object handle is greater than h;
  • +
  • Zero otherwise.
  • +
+
+ +
+
+ +

◆ operator>=()

+ +
+
+
+template<class T , const T INVAL>
+ + + + + +
+ + + + + + + +
bool macstd::handle< T, INVAL >::operator>= (T h) const
+
+inline
+
+ +

Is handle greater than or equal to?

+
Parameters
+ + +
[in]hObject handle to compare against
+
+
+
Returns
    +
  • Non zero when object handle is greater than or equal to h;
  • +
  • Zero otherwise.
  • +
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ + +
+ + diff --git a/classmacstd_1_1handle.png b/classmacstd_1_1handle.png new file mode 100644 index 0000000000000000000000000000000000000000..588f023b05fdc30ccbf05016403e695bd3067e82 GIT binary patch literal 759 zcmeAS@N?(olHy`uVBq!ia0vp^dx1EBgBeIxUv7y5QqloFA+G=b{|7Q(y!l$%e`vXd zfo6fk^fNCWJa_;UH$5A+1SrQ@666=m0OW&#In(Sb3=B+7o-U3d6^w7^K3um(fv2Ti z@#dM|_8-6QP!KtI_3_QyGd3i$EIi=8^6q{P#g^k-j+5k8dFp%G&H6Iw$>QuUC(C9V z&DqUUay)3&3yEvJ&on)2|EB-CJ4gQT*5jAjV>~ZKSpO=$SDh7Q7QS-libd;lPesQa z-cjkXUP1Eif_TYK?@B|xmX}_cf3B|ao?I&PWR=Bz?^kD=>lV+tl+dxPfZRC3XS?_SbKDnb-1(rsxv3`FPKNZ zFyCk2_dEGlcVRrwtmnNu;`8r5nKPwAB*ZHCd!e+(04?knG z`f{wyC0_UP!uopOn+uK{ll*0Lop1eL-!ETYcrSUf`qV~`OYCKOFW;vXe7E)d7q$I`=cUle^Hge0UV2_~=dSHBvX9E&-D$gQu&X J%Q~loCIC=~e4GFP literal 0 HcmV?d00001 diff --git a/classmacstd_1_1io__object-members.html b/classmacstd_1_1io__object-members.html new file mode 100644 index 0000000..b8b56a5 --- /dev/null +++ b/classmacstd_1_1io__object-members.html @@ -0,0 +1,127 @@ + + + + + + + +MacStd: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MacStd +
+
OS X API using Standard C++
+
+
+ + + + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
+
macstd::io_object< T > Member List
+
+
+ +

This is the complete list of members for macstd::io_object< T >, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + +
attach(T h) noexceptmacstd::handle< T, 0 >inline
detach()macstd::handle< T, 0 >inline
free()macstd::handle< T, 0 >inline
free_internal() noexcept overridemacstd::io_object< T >inlineprotectedvirtual
handle() noexceptmacstd::handle< T, 0 >inline
handle(T h) noexceptmacstd::handle< T, 0 >inline
handle(handle< T, INVAL > &&h) noexceptmacstd::handle< T, 0 >inline
m_hmacstd::handle< T, 0 >protected
operator T() constmacstd::handle< T, 0 >inline
operator!() constmacstd::handle< T, 0 >inline
operator!=(T h) constmacstd::handle< T, 0 >inline
operator&()macstd::handle< T, 0 >inline
operator*() constmacstd::handle< T, 0 >inline
operator->() constmacstd::handle< T, 0 >inline
operator<(T h) constmacstd::handle< T, 0 >inline
operator<=(T h) constmacstd::handle< T, 0 >inline
operator=(T h) noexceptmacstd::handle< T, 0 >inline
operator=(handle< T, INVAL > &&h) noexceptmacstd::handle< T, 0 >inline
operator==(T h) constmacstd::handle< T, 0 >inline
operator>(T h) constmacstd::handle< T, 0 >inline
operator>=(T h) constmacstd::handle< T, 0 >inline
~io_object()macstd::io_object< T >inlinevirtual
+ + +
+ + diff --git a/classmacstd_1_1io__object.html b/classmacstd_1_1io__object.html new file mode 100644 index 0000000..c0e08a7 --- /dev/null +++ b/classmacstd_1_1io__object.html @@ -0,0 +1,272 @@ + + + + + + + +MacStd: macstd::io_object< T > Class Template Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MacStd +
+
OS X API using Standard C++
+
+
+ + + + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
+ +
macstd::io_object< T > Class Template Reference
+
+
+ +

IOKit handle wrapper class. + More...

+ +

#include <MacStd/IOKit.hpp>

+
+Inheritance diagram for macstd::io_object< T >:
+
+
+ + +macstd::handle< T, 0 > + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

virtual ~io_object ()
 Releases an object handle.
 
- Public Member Functions inherited from macstd::handle< T, 0 >
handle () noexcept
 Initializes a new class instance with the object handle set to INVAL.
 
 handle (T h) noexcept
 Initializes a new class instance with an already available object handle.
 
 handle (handle< T, INVAL > &&h) noexcept
 Move constructor.
 
handle< T, INVAL > & operator= (T h) noexcept
 Attaches already available object handle.
 
handle< T, INVAL > & operator= (handle< T, INVAL > &&h) noexcept
 Move assignment.
 
 operator T () const
 Auto-typecasting operator.
 
T *& operator* () const
 Returns the object handle value when the object handle is a pointer to a value (class, struct, etc.).
 
T * operator& ()
 Returns the object handle reference.
 
operator-> () const
 Provides object handle member access when the object handle is a pointer to a class or struct.
 
bool operator! () const
 Tests if the object handle is invalid.
 
bool operator< (T h) const
 Is handle less than?
 
bool operator<= (T h) const
 Is handle less than or equal to?
 
bool operator>= (T h) const
 Is handle greater than or equal to?
 
bool operator> (T h) const
 Is handle greater than?
 
bool operator!= (T h) const
 Is handle not equal to?
 
bool operator== (T h) const
 Is handle equal to?
 
void attach (T h) noexcept
 Sets a new object handle for the class.
 
detach ()
 Dismisses the object handle from this class.
 
+void free ()
 Destroys the object.
 
+ + + + + +

+Protected Member Functions

void free_internal () noexcept override
 Releases an object handle.
 
- Protected Member Functions inherited from macstd::handle< T, 0 >
+ + + + + +

+Additional Inherited Members

- Protected Attributes inherited from macstd::handle< T, 0 >
+T m_h
 Object handle.
 
+

Detailed Description

+
template<typename T>
+class macstd::io_object< T >

IOKit handle wrapper class.

+

Constructor & Destructor Documentation

+ +

◆ ~io_object()

+ +
+
+
+template<typename T >
+ + + + + +
+ + + + + + + +
virtual macstd::io_object< T >::~io_object ()
+
+inlinevirtual
+
+ +

Releases an object handle.

+
See also
IOObjectRelease function
+ +
+
+

Member Function Documentation

+ +

◆ free_internal()

+ +
+
+
+template<typename T >
+ + + + + +
+ + + + + + + +
void macstd::io_object< T >::free_internal ()
+
+inlineoverrideprotectedvirtualnoexcept
+
+ +

Releases an object handle.

+
See also
IOObjectRelease function
+ +

Implements macstd::handle< T, 0 >.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + +
+ + diff --git a/classmacstd_1_1io__object.png b/classmacstd_1_1io__object.png new file mode 100644 index 0000000000000000000000000000000000000000..f5e9762e289abee256ed4e9a34ce5cd3306b8dd2 GIT binary patch literal 617 zcmeAS@N?(olHy`uVBq!ia0vp^eLx(*!3-pSi0@4WQqloFA+G=b{|7Q(y!l$%e`vXd zfo6fk^fNCWJa_;UH$5A+1SrQ@666=m0OW&#In(Sb3=E84JY5_^Dj46+y_nacAmFM$ zJ*D{n|L)gX+C4^DZ?}2R%CulCog>Fq5I?c_+~WqHNs9%nR9*@KaiOpJ%yp6zOmeF( z)J~gbU)`=^{%7L3cXOYIsux}L%wF|qZ&|9v#TQ!)zrLEf*!*k$t23VQFK?~ecJ9TC zx|wHI`UzhNS-x_Mq~zXMqjaXF9^$Jvvz3)hvrWHZJ69^J^x5y(tk!XBg!Wv|ob=ws z{N$c>o4K~HF5Xk#S6Y|+{!FWx`f3?{wQJW}%%Y!uNx3Td_rY%GN$(H-O{#TyenhR# z$@7wGiN_^nAWpt?((-vCLqquohK523@8=&SPNnP2J(;F5|6s|Z6vhVs7Yq&VMB?N2 zS3NbC7CKB?638Lz`3Zz~tO#zp7V&;*ZjAlDIZB?l3WD7yRn5tm#}+pC3(rjbt{=Ci zK5SXpH}`&#X{*lMvzzpf?mRbVmB!3<+f=r$_59U!&n|D*)0ck7{Z_5?t3BW6lk~Y} zeX`I^op1kV9g=&cb9>FoTe`B7m+CCqzr9x0di~py{lT);YWK Yj$&EH(VAU1fr)~_)78&qol`;+0KB*=ZU6uP literal 0 HcmV?d00001 diff --git a/common_8hpp_source.html b/common_8hpp_source.html index 44f8738..29be145 100644 --- a/common_8hpp_source.html +++ b/common_8hpp_source.html @@ -101,11 +101,325 @@ $(function(){ initResizable(false); });
7
8#include <stddef.h>
9
-
17#define MACSTD_STACK_BUFFER_BYTES 1024
+
13#define MACSTD_NONCOPYABLE(C) \
+
14private: \
+
15 C (_In_ const C &h) noexcept; \
+
16 C& operator=(_In_ const C &h) noexcept;
+
17
+
21#define MACSTD_NONMOVABLE(C) \
+
22private: \
+
23 C (_Inout_ C &&h) noexcept; \
+
24 C& operator=(_Inout_ C &&h) noexcept;
+
25
+
33#define MACSTD_STACK_BUFFER_BYTES 1024
+
34
+
38#define MACSTD_HANDLE_IMPL(C, T, INVAL) \
+
39public: \
+
40 C ( ) noexcept {} \
+
41 C (_In_opt_ T h) noexcept : handle<T, INVAL>( h ) {} \
+
42 C (_Inout_ C &&h) noexcept : handle<T, INVAL>(std::move(h)) {} \
+
43 C& operator=(_In_opt_ T h) noexcept { handle<T, INVAL>::operator=( h ); return *this; } \
+
44 C& operator=(_Inout_ C &&h) noexcept { handle<T, INVAL>::operator=(std::move(h)); return *this; } \
+
45MACSTD_NONCOPYABLE(C)
+
46
+
50#define MACSTD_DPLHANDLE_IMPL(C, T, INVAL) \
+
51public: \
+
52 C ( ) noexcept {} \
+
53 C (_In_opt_ T h) noexcept : dplhandle<T, INVAL>( h ) {} \
+
54 C (_In_ const C &h) noexcept : dplhandle<T, INVAL>(duplicate_internal(h.m_h)) {} \
+
55 C (_Inout_ C &&h) noexcept : dplhandle<T, INVAL>(std::move (h )) {} \
+
56 C& operator=(_In_opt_ T h) noexcept { dplhandle<T, INVAL>::operator=( h ); return *this; } \
+
57 C& operator=(_In_ const C &h) noexcept { dplhandle<T, INVAL>::operator=( h ); return *this; } \
+
58 C& operator=(_Inout_ C &&h) noexcept { dplhandle<T, INVAL>::operator=(std::move(h)); return *this; } \
+
59private:
+
60
+
61namespace macstd
+
62{
+
68 template <class T, const T INVAL>
+
+
69 class handle
+
70 {
+
71 public:
+
+
75 handle() noexcept : m_h(INVAL)
+
76 {}
+
+
77
+
+
83 handle(_In_opt_ T h) noexcept : m_h(h)
+
84 {}
+
+
85
+
+
91 handle(_Inout_ handle<T, INVAL> &&h) noexcept
+
92 {
+
93 // Transfer handle.
+
94 m_h = h.m_h;
+
95 h.m_h = INVAL;
+
96 }
+
+
97
+
98 private:
+
99 // This class is noncopyable.
+
100 handle(_In_ const handle<T, INVAL> &h) noexcept {};
+
101 handle<T, INVAL>& operator=(_In_ const handle<T, INVAL> &h) noexcept {};
+
102
+
103 public:
+
+
109 handle<T, INVAL>& operator=(_In_opt_ T h) noexcept
+
110 {
+
111 attach(h);
+
112 return *this;
+
113 }
+
+
114
+
120 #pragma warning(suppress: 26432) // Move constructor is also present, but not detected by code analysis somehow.
+
+ +
122 {
+
123 if (this != std::addressof(h)) {
+
124 // Transfer handle.
+
125 if (m_h != INVAL)
+ +
127 m_h = h.m_h;
+
128 h.m_h = INVAL;
+
129 }
+
130 return *this;
+
131 }
+
+
132
+
+
138 operator T() const
+
139 {
+
140 return m_h;
+
141 }
+
+
142
+
+
148 T*& operator*() const
+
149 {
+
150 assert(m_h != INVAL);
+
151 return *m_h;
+
152 }
+
+
153
+
+ +
159 {
+
160 assert(m_h == INVAL);
+
161 return &m_h;
+
162 }
+
+
163
+
+
169 T operator->() const
+
170 {
+
171 assert(m_h != INVAL);
+
172 return m_h;
+
173 }
+
+
174
+
+
185 bool operator!() const
+
186 {
+
187 return m_h == INVAL;
+
188 }
+
+
189
+
+
198 bool operator<(_In_opt_ T h) const
+
199 {
+
200 return m_h < h;
+
201 }
+
+
202
+
+
211 bool operator<=(_In_opt_ T h) const
+
212 {
+
213 return !operator>(h);
+
214 }
+
+
215
+
+
224 bool operator>=(_In_opt_ T h) const
+
225 {
+
226 return !operator<(h);
+
227 }
+
+
228
+
+
237 bool operator>(_In_opt_ T h) const
+
238 {
+
239 return h < m_h;
+
240 }
+
+
241
+
+
250 bool operator!=(_In_opt_ T h) const
+
251 {
+
252 return !operator==(h);
+
253 }
+
+
254
+
+
263 bool operator==(_In_opt_ T h) const
+
264 {
+
265 return m_h == h;
+
266 }
+
+
267
+
+
275 void attach(_In_opt_ T h) noexcept
+
276 {
+
277 if (m_h != INVAL)
+ +
279 m_h = h;
+
280 }
+
+
281
+
+ +
288 {
+
289 T h = m_h;
+
290 m_h = INVAL;
+
291 return h;
+
292 }
+
+
293
+
+
297 void free()
+
298 {
+
299 if (m_h != INVAL) {
+ +
301 m_h = INVAL;
+
302 }
+
303 }
+
+
304
+
305 protected:
+
309 virtual void free_internal() noexcept = 0;
+
310
+
311 protected:
+
312 T m_h;
+
313 };
+
+
314
+
318 template <class T, T INVAL>
+
+
319 class dplhandle : public handle<T, INVAL>
+
320 {
+
321 public:
+
+
325 dplhandle() noexcept
+
326 {}
+
+
327
+
+
333 dplhandle(_In_opt_ T h) noexcept : handle<T, INVAL>(h)
+
334 {}
+
+
335
+
341 dplhandle<T, INVAL>(_In_ const dplhandle<T, INVAL> &h) : handle<T, INVAL>(duplicate_internal(h.m_h))
+
342 {}
+
343
+
349 dplhandle<T, INVAL>(_Inout_ dplhandle<T, INVAL> &&h) noexcept : handle<T, INVAL>(std::move(h))
+
350 {}
+
351
+
+
357 dplhandle<T, INVAL>& operator=(_In_opt_ T h) noexcept
+
358 {
+ +
360 return *this;
+
361 }
+
+
362
+
+ +
369 {
+
370 if (this != std::addressof(h)) {
+
371 if (h.m_h != INVAL) {
+
372 T h_new = duplicate_internal(h.m_h);
+
373
+
374 if (this->m_h != INVAL)
+
375 this->free_internal();
+
376
+
377 this->m_h = h_new;
+
378 } else {
+
379 if (this->m_h != INVAL)
+
380 this->free_internal();
+
381
+
382 this->m_h = INVAL;
+
383 }
+
384 }
+
385 return *this;
+
386 }
+
+
387
+
393 #pragma warning(disable: 26432) // Move constructor is also present, but not detected by code analysis somehow.
+
+ +
395 {
+
396 handle<T, INVAL>::operator=(std::move(h));
+
397 return *this;
+
398 }
+
+
399
+
+
405 T duplicate() const
+
406 {
+
407 return this->m_h != INVAL ? duplicate_internal(this->m_h) : INVAL;
+
408 }
+
+
409
+
+
415 void attach_duplicated(_In_opt_ T h)
+
416 {
+
417 if (this->m_h != INVAL)
+
418 this->free_internal();
+
419
+
420 this->m_h = h != INVAL ? duplicate_internal(h) : INVAL;
+
421 }
+
+
422
+
423 protected:
+
432 virtual T duplicate_internal(_In_ T h) const = 0;
+
433 };
+
+
434}
+
Base abstract template class to support object handle keeping for objects that support trivial handle...
Definition common.hpp:320
+
dplhandle() noexcept
Initializes a new class instance with the object handle set to INVAL.
Definition common.hpp:325
+
virtual T duplicate_internal(T h) const =0
Abstract member function that must be implemented by child classes to do the actual object handle dup...
+
dplhandle< T, INVAL > & operator=(T h) noexcept
Attaches already available object handle.
Definition common.hpp:357
+
dplhandle< T, INVAL > & operator=(dplhandle< T, INVAL > &&h) noexcept
Moves the object.
Definition common.hpp:394
+
dplhandle(T h) noexcept
Initializes a new class instance with an already available object handle.
Definition common.hpp:333
+
void attach_duplicated(T h)
Duplicates an object handle and sets a new object handle.
Definition common.hpp:415
+
T duplicate() const
Duplicates and returns a new object handle.
Definition common.hpp:405
+
dplhandle< T, INVAL > & operator=(const dplhandle< T, INVAL > &h) noexcept
Duplicates the object.
Definition common.hpp:368
+
Base abstract template class to support generic object handle keeping.
Definition common.hpp:70
+
bool operator>=(T h) const
Is handle greater than or equal to?
Definition common.hpp:224
+
handle< T, INVAL > & operator=(handle< T, INVAL > &&h) noexcept
Move assignment.
Definition common.hpp:121
+
bool operator<=(T h) const
Is handle less than or equal to?
Definition common.hpp:211
+
handle() noexcept
Initializes a new class instance with the object handle set to INVAL.
Definition common.hpp:75
+
handle(T h) noexcept
Initializes a new class instance with an already available object handle.
Definition common.hpp:83
+
virtual void free_internal() noexcept=0
Abstract member function that must be implemented by child classes to do the actual object destructio...
+
void attach(T h) noexcept
Sets a new object handle for the class.
Definition common.hpp:275
+
bool operator==(T h) const
Is handle equal to?
Definition common.hpp:263
+
T * operator&()
Returns the object handle reference.
Definition common.hpp:158
+
bool operator>(T h) const
Is handle greater than?
Definition common.hpp:237
+
T *& operator*() const
Returns the object handle value when the object handle is a pointer to a value (class,...
Definition common.hpp:148
+
T m_h
Object handle.
Definition common.hpp:312
+
bool operator!() const
Tests if the object handle is invalid.
Definition common.hpp:185
+
handle< T, INVAL > & operator=(T h) noexcept
Attaches already available object handle.
Definition common.hpp:109
+
T detach()
Dismisses the object handle from this class.
Definition common.hpp:287
+
bool operator!=(T h) const
Is handle not equal to?
Definition common.hpp:250
+
bool operator<(T h) const
Is handle less than?
Definition common.hpp:198
+
handle(handle< T, INVAL > &&h) noexcept
Move constructor.
Definition common.hpp:91
+
void free()
Destroys the object.
Definition common.hpp:297
+
T operator->() const
Provides object handle member access when the object handle is a pointer to a class or struct.
Definition common.hpp:169
diff --git a/dir_49bef833487b2e4ec885e49af66a06b7.html b/dir_49bef833487b2e4ec885e49af66a06b7.html index 2e7ef60..4e542a6 100644 --- a/dir_49bef833487b2e4ec885e49af66a06b7.html +++ b/dir_49bef833487b2e4ec885e49af66a06b7.html @@ -97,9 +97,11 @@ $(function(){ initResizable(false); }); Files  common.hpp   + CoreFoundation.hpp dyld.hpp   - Foundation.hpp + IOKit.hpp    unistd.hpp   @@ -107,7 +109,7 @@ Files diff --git a/dir_d44c64559bbebec7f509842c48db8b23.html b/dir_d44c64559bbebec7f509842c48db8b23.html index 3a49fed..263eec3 100644 --- a/dir_d44c64559bbebec7f509842c48db8b23.html +++ b/dir_d44c64559bbebec7f509842c48db8b23.html @@ -101,7 +101,7 @@ Directories diff --git a/doxygen_crawl.html b/doxygen_crawl.html index ffe20e0..8f8109e 100644 --- a/doxygen_crawl.html +++ b/doxygen_crawl.html @@ -9,25 +9,82 @@ + - + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -35,6 +92,8 @@ + + diff --git a/dyld_8hpp_source.html b/dyld_8hpp_source.html index d397754..26bbf02 100644 --- a/dyld_8hpp_source.html +++ b/dyld_8hpp_source.html @@ -125,7 +125,7 @@ $(function(){ initResizable(false); }); diff --git a/files.html b/files.html index ba7041b..ef3faac 100644 --- a/files.html +++ b/files.html @@ -93,15 +93,16 @@ $(function(){ initResizable(false); });   include   MacStd  common.hpp - dyld.hpp - Foundation.hpp - unistd.hpp + CoreFoundation.hpp + dyld.hpp + IOKit.hpp + unistd.hpp diff --git a/functions.html b/functions.html index 710952c..7b4fd45 100644 --- a/functions.html +++ b/functions.html @@ -85,14 +85,67 @@ $(function(){ initResizable(false); });
-
Here is a list of all documented class members with links to the class documentation for each member:
diff --git a/functions_func.html b/functions_func.html index 2d2bca6..bb4b92c 100644 --- a/functions_func.html +++ b/functions_func.html @@ -85,14 +85,62 @@ $(function(){ initResizable(false); });
-
Here is a list of all documented functions with links to the class documentation for each member:
diff --git a/functions_vars.html b/functions_vars.html new file mode 100644 index 0000000..aba72d0 --- /dev/null +++ b/functions_vars.html @@ -0,0 +1,98 @@ + + + + + + + +MacStd: Class Members - Variables + + + + + + + + + + + + + +
+
+ + + + + + +
+
MacStd +
+
OS X API using Standard C++
+
+
+ + + + + + + + +
+
+ + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented variables with links to the class documentation for each member:
+
+ + +
+ + diff --git a/hierarchy.html b/hierarchy.html new file mode 100644 index 0000000..54a813b --- /dev/null +++ b/hierarchy.html @@ -0,0 +1,107 @@ + + + + + + + +MacStd: Class Hierarchy + + + + + + + + + + + + + +
+
+ + + + + + +
+
MacStd +
+
OS X API using Standard C++
+
+
+ + + + + + + + +
+
+ + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Class Hierarchy
+
+
+
This inheritance list is sorted roughly, but not completely, alphabetically:
+
[detail level 12]
+ + + + + +
 Cmacstd::CFRelease_deleteDeleter for unique_ptr using CFRelease
 Cmacstd::handle< T, INVAL >Base abstract template class to support generic object handle keeping
 Cmacstd::dplhandle< T, INVAL >Base abstract template class to support object handle keeping for objects that support trivial handle duplication
 Cmacstd::handle< T, 0 >
 Cmacstd::io_object< T >IOKit handle wrapper class
+
+
+ + +
+ + diff --git a/index.html b/index.html index 9402525..fc79e1f 100644 --- a/index.html +++ b/index.html @@ -136,7 +136,7 @@ Usage diff --git a/menudata.js b/menudata.js index 7f11723..1c0a283 100644 --- a/menudata.js +++ b/menudata.js @@ -27,8 +27,25 @@ var menudata={children:[ {text:"Classes",url:"annotated.html",children:[ {text:"Class List",url:"annotated.html"}, {text:"Class Index",url:"classes.html"}, +{text:"Class Hierarchy",url:"hierarchy.html"}, {text:"Class Members",url:"functions.html",children:[ -{text:"All",url:"functions.html"}, -{text:"Functions",url:"functions_func.html"}]}]}, +{text:"All",url:"functions.html",children:[ +{text:"a",url:"functions.html#index_a"}, +{text:"c",url:"functions.html#index_c"}, +{text:"d",url:"functions.html#index_d"}, +{text:"f",url:"functions.html#index_f"}, +{text:"h",url:"functions.html#index_h"}, +{text:"m",url:"functions.html#index_m"}, +{text:"o",url:"functions.html#index_o"}, +{text:"~",url:"functions.html#index__7E"}]}, +{text:"Functions",url:"functions_func.html",children:[ +{text:"a",url:"functions_func.html#index_a"}, +{text:"c",url:"functions_func.html#index_c"}, +{text:"d",url:"functions_func.html#index_d"}, +{text:"f",url:"functions_func.html#index_f"}, +{text:"h",url:"functions_func.html#index_h"}, +{text:"o",url:"functions_func.html#index_o"}, +{text:"~",url:"functions_func.html#index__7E"}]}, +{text:"Variables",url:"functions_vars.html"}]}]}, {text:"Files",url:"files.html",children:[ {text:"File List",url:"files.html"}]}]} diff --git a/search/all_0.js b/search/all_0.js index 7031998..fce8112 100644 --- a/search/all_0.js +++ b/search/all_0.js @@ -1,4 +1,6 @@ var searchData= [ - ['and_20templates_0',['Functions and Templates',['../index.html#autotoc_md3',1,'']]] + ['and_20templates_0',['Functions and Templates',['../index.html#autotoc_md3',1,'']]], + ['attach_1',['attach',['../classmacstd_1_1handle.html#a69d07a5c3334ce61998880b0d620c6fd',1,'macstd::handle']]], + ['attach_5fduplicated_2',['attach_duplicated',['../classmacstd_1_1dplhandle.html#acf0b725b54793b240572c0fe86537f3c',1,'macstd::dplhandle']]] ]; diff --git a/search/all_2.js b/search/all_2.js index 6e16595..e3a3266 100644 --- a/search/all_2.js +++ b/search/all_2.js @@ -1,4 +1,7 @@ var searchData= [ - ['example_0',['Example',['../index.html#autotoc_md4',1,'']]] + ['detach_0',['detach',['../classmacstd_1_1handle.html#ad17472a1418050b801ee80a32c49c325',1,'macstd::handle']]], + ['dplhandle_1',['dplhandle',['../classmacstd_1_1dplhandle.html',1,'macstd::dplhandle< T, INVAL >'],['../classmacstd_1_1dplhandle.html#a1b873380277a79a12dca3ba59f862529',1,'macstd::dplhandle::dplhandle() noexcept'],['../classmacstd_1_1dplhandle.html#a7250ebf4632a7d48b071dc10b8e4b986',1,'macstd::dplhandle::dplhandle(T h) noexcept'],['../classmacstd_1_1dplhandle.html#a835eca8008bbdd42aa4bbb76072c637b',1,'macstd::dplhandle::dplhandle(const dplhandle< T, INVAL > &h)'],['../classmacstd_1_1dplhandle.html#a8bb0531c1a3eacc4a60604e438b3ed71',1,'macstd::dplhandle::dplhandle(dplhandle< T, INVAL > &&h) noexcept']]], + ['duplicate_2',['duplicate',['../classmacstd_1_1dplhandle.html#ae43e59554d0d11b4500daa5bd50bda0d',1,'macstd::dplhandle']]], + ['duplicate_5finternal_3',['duplicate_internal',['../classmacstd_1_1dplhandle.html#a33df964f028970ac0321568c3582d550',1,'macstd::dplhandle']]] ]; diff --git a/search/all_3.js b/search/all_3.js index ba738d0..6e16595 100644 --- a/search/all_3.js +++ b/search/all_3.js @@ -1,5 +1,4 @@ var searchData= [ - ['features_0',['Features',['../index.html#autotoc_md1',1,'']]], - ['functions_20and_20templates_1',['Functions and Templates',['../index.html#autotoc_md3',1,'']]] + ['example_0',['Example',['../index.html#autotoc_md4',1,'']]] ]; diff --git a/search/all_4.js b/search/all_4.js index 4d29f8b..a53e149 100644 --- a/search/all_4.js +++ b/search/all_4.js @@ -1,4 +1,7 @@ var searchData= [ - ['is_20not_0',['What MacStd Is Not',['../index.html#autotoc_md5',1,'']]] + ['features_0',['Features',['../index.html#autotoc_md1',1,'']]], + ['free_1',['free',['../classmacstd_1_1handle.html#afbc07860aaf0eeeabe6e7e7474b6d176',1,'macstd::handle']]], + ['free_5finternal_2',['free_internal',['../classmacstd_1_1handle.html#a5e3365827f995ee2a580d2c669ddcafe',1,'macstd::handle::free_internal()'],['../classmacstd_1_1io__object.html#a897840743bbbdc938e757781fc453cb5',1,'macstd::io_object::free_internal()']]], + ['functions_20and_20templates_3',['Functions and Templates',['../index.html#autotoc_md3',1,'']]] ]; diff --git a/search/all_5.js b/search/all_5.js index 462607b..8dfe4da 100644 --- a/search/all_5.js +++ b/search/all_5.js @@ -1,5 +1,5 @@ var searchData= [ - ['macstd_0',['MacStd',['../index.html',1,'']]], - ['macstd_20is_20not_1',['What MacStd Is Not',['../index.html#autotoc_md5',1,'']]] + ['handle_0',['handle',['../classmacstd_1_1handle.html',1,'macstd::handle< T, INVAL >'],['../classmacstd_1_1handle.html#a58be08519d6208ba2716dcd79d2f295e',1,'macstd::handle::handle() noexcept'],['../classmacstd_1_1handle.html#a5906d39969037175bf5b148935ab1d05',1,'macstd::handle::handle(T h) noexcept'],['../classmacstd_1_1handle.html#ae5e62370d363a2db991b691f5fa4d914',1,'macstd::handle::handle(handle< T, INVAL > &&h) noexcept']]], + ['handle_3c_20t_2c_200_20_3e_1',['handle< T, 0 >',['../classmacstd_1_1handle.html',1,'macstd']]] ]; diff --git a/search/all_6.js b/search/all_6.js index fb3b0e0..36d9891 100644 --- a/search/all_6.js +++ b/search/all_6.js @@ -1,4 +1,5 @@ var searchData= [ - ['not_0',['What MacStd Is Not',['../index.html#autotoc_md5',1,'']]] + ['io_5fobject_0',['io_object',['../classmacstd_1_1io__object.html',1,'macstd']]], + ['is_20not_1',['What MacStd Is Not',['../index.html#autotoc_md5',1,'']]] ]; diff --git a/search/all_7.js b/search/all_7.js index 27e7273..4e2923d 100644 --- a/search/all_7.js +++ b/search/all_7.js @@ -1,4 +1,6 @@ var searchData= [ - ['operator_28_29_0',['operator()',['../structmacstd_1_1_c_f_release__delete.html#ada4a1d4eab1b2f91d655335b64cc2726',1,'macstd::CFRelease_delete']]] + ['m_5fh_0',['m_h',['../classmacstd_1_1handle.html#ab65b198a6e06f14b29be176cdff7556e',1,'macstd::handle']]], + ['macstd_1',['MacStd',['../index.html',1,'']]], + ['macstd_20is_20not_2',['What MacStd Is Not',['../index.html#autotoc_md5',1,'']]] ]; diff --git a/search/all_8.js b/search/all_8.js index 458cdcd..fb3b0e0 100644 --- a/search/all_8.js +++ b/search/all_8.js @@ -1,4 +1,4 @@ var searchData= [ - ['portable_0',['Portable',['../index.html#autotoc_md2',1,'']]] + ['not_0',['What MacStd Is Not',['../index.html#autotoc_md5',1,'']]] ]; diff --git a/search/all_9.js b/search/all_9.js index a77ee22..fa78d83 100644 --- a/search/all_9.js +++ b/search/all_9.js @@ -1,4 +1,16 @@ var searchData= [ - ['templates_0',['Functions and Templates',['../index.html#autotoc_md3',1,'']]] + ['operator_20t_0',['operator T',['../classmacstd_1_1handle.html#a1c6c0152d5cc967558720e9f8ce218df',1,'macstd::handle']]], + ['operator_21_1',['operator!',['../classmacstd_1_1handle.html#ac1d446bed338bb91b639fe2f34141b62',1,'macstd::handle']]], + ['operator_21_3d_2',['operator!=',['../classmacstd_1_1handle.html#adcc4a33c5a33325aa3106d9eaab5384a',1,'macstd::handle']]], + ['operator_26_3',['operator&',['../classmacstd_1_1handle.html#a8405a3ff7aefc002779984f856678960',1,'macstd::handle']]], + ['operator_28_29_4',['operator()',['../structmacstd_1_1_c_f_release__delete.html#ada4a1d4eab1b2f91d655335b64cc2726',1,'macstd::CFRelease_delete']]], + ['operator_2a_5',['operator*',['../classmacstd_1_1handle.html#aab9ec0feedeb9d115f37d938e923d10c',1,'macstd::handle']]], + ['operator_2d_3e_6',['operator->',['../classmacstd_1_1handle.html#aff8db2489369bcdbb9ebf60ee7095878',1,'macstd::handle']]], + ['operator_3c_7',['operator<',['../classmacstd_1_1handle.html#ae50ded4e3696cebbdb5145fa8f58ad23',1,'macstd::handle']]], + ['operator_3c_3d_8',['operator<=',['../classmacstd_1_1handle.html#a4eaa05a6124133c11663f1c6c2666f7b',1,'macstd::handle']]], + ['operator_3d_9',['operator=',['../classmacstd_1_1handle.html#ad0e382917ebdceabe1d1c80780cec8fd',1,'macstd::handle::operator=(T h) noexcept'],['../classmacstd_1_1handle.html#a2027dc26b8d7dac3410dd9e302a01e31',1,'macstd::handle::operator=(handle< T, INVAL > &&h) noexcept'],['../classmacstd_1_1dplhandle.html#a5f336d173be030936c7eaec80727a0a6',1,'macstd::dplhandle::operator=(T h) noexcept'],['../classmacstd_1_1dplhandle.html#af25c2323ce6030400bf12be762565350',1,'macstd::dplhandle::operator=(const dplhandle< T, INVAL > &h) noexcept'],['../classmacstd_1_1dplhandle.html#a71b36749116393468cc7b9307ff21128',1,'macstd::dplhandle::operator=(dplhandle< T, INVAL > &&h) noexcept']]], + ['operator_3d_3d_10',['operator==',['../classmacstd_1_1handle.html#a724b10f5424177670f04180e32b7f129',1,'macstd::handle']]], + ['operator_3e_11',['operator>',['../classmacstd_1_1handle.html#a862b5aec5f974071ddf14a2a7b6570d2',1,'macstd::handle']]], + ['operator_3e_3d_12',['operator>=',['../classmacstd_1_1handle.html#a10b5fff674bc904f841925f54a98801e',1,'macstd::handle']]] ]; diff --git a/search/all_a.js b/search/all_a.js index 2dd78ca..458cdcd 100644 --- a/search/all_a.js +++ b/search/all_a.js @@ -1,4 +1,4 @@ var searchData= [ - ['usage_0',['Usage',['../index.html#autotoc_md6',1,'']]] + ['portable_0',['Portable',['../index.html#autotoc_md2',1,'']]] ]; diff --git a/search/all_b.js b/search/all_b.js index 4ea607f..a77ee22 100644 --- a/search/all_b.js +++ b/search/all_b.js @@ -1,4 +1,4 @@ var searchData= [ - ['what_20macstd_20is_20not_0',['What MacStd Is Not',['../index.html#autotoc_md5',1,'']]] + ['templates_0',['Functions and Templates',['../index.html#autotoc_md3',1,'']]] ]; diff --git a/search/all_c.js b/search/all_c.js new file mode 100644 index 0000000..2dd78ca --- /dev/null +++ b/search/all_c.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['usage_0',['Usage',['../index.html#autotoc_md6',1,'']]] +]; diff --git a/search/all_d.js b/search/all_d.js new file mode 100644 index 0000000..4ea607f --- /dev/null +++ b/search/all_d.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['what_20macstd_20is_20not_0',['What MacStd Is Not',['../index.html#autotoc_md5',1,'']]] +]; diff --git a/search/all_e.js b/search/all_e.js new file mode 100644 index 0000000..a96055f --- /dev/null +++ b/search/all_e.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['_7eio_5fobject_0',['~io_object',['../classmacstd_1_1io__object.html#a0608c7dbed214b5cb4626fb23a9b1aca',1,'macstd::io_object']]] +]; diff --git a/search/classes_1.js b/search/classes_1.js new file mode 100644 index 0000000..f9c3da7 --- /dev/null +++ b/search/classes_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['dplhandle_0',['dplhandle',['../classmacstd_1_1dplhandle.html',1,'macstd']]] +]; diff --git a/search/classes_2.js b/search/classes_2.js new file mode 100644 index 0000000..2974ecc --- /dev/null +++ b/search/classes_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['handle_0',['handle',['../classmacstd_1_1handle.html',1,'macstd']]], + ['handle_3c_20t_2c_200_20_3e_1',['handle< T, 0 >',['../classmacstd_1_1handle.html',1,'macstd']]] +]; diff --git a/search/classes_3.js b/search/classes_3.js new file mode 100644 index 0000000..e032f1e --- /dev/null +++ b/search/classes_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['io_5fobject_0',['io_object',['../classmacstd_1_1io__object.html',1,'macstd']]] +]; diff --git a/search/functions_0.js b/search/functions_0.js index 7944b60..b74e54a 100644 --- a/search/functions_0.js +++ b/search/functions_0.js @@ -1,4 +1,5 @@ var searchData= [ - ['cfrelease_5fdelete_0',['CFRelease_delete',['../structmacstd_1_1_c_f_release__delete.html#a6aa1065ba889687f0e8798deb57ba3cc',1,'macstd::CFRelease_delete']]] + ['attach_0',['attach',['../classmacstd_1_1handle.html#a69d07a5c3334ce61998880b0d620c6fd',1,'macstd::handle']]], + ['attach_5fduplicated_1',['attach_duplicated',['../classmacstd_1_1dplhandle.html#acf0b725b54793b240572c0fe86537f3c',1,'macstd::dplhandle']]] ]; diff --git a/search/functions_1.js b/search/functions_1.js index 27e7273..7944b60 100644 --- a/search/functions_1.js +++ b/search/functions_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['operator_28_29_0',['operator()',['../structmacstd_1_1_c_f_release__delete.html#ada4a1d4eab1b2f91d655335b64cc2726',1,'macstd::CFRelease_delete']]] + ['cfrelease_5fdelete_0',['CFRelease_delete',['../structmacstd_1_1_c_f_release__delete.html#a6aa1065ba889687f0e8798deb57ba3cc',1,'macstd::CFRelease_delete']]] ]; diff --git a/search/functions_2.js b/search/functions_2.js new file mode 100644 index 0000000..f0caf7f --- /dev/null +++ b/search/functions_2.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['detach_0',['detach',['../classmacstd_1_1handle.html#ad17472a1418050b801ee80a32c49c325',1,'macstd::handle']]], + ['dplhandle_1',['dplhandle',['../classmacstd_1_1dplhandle.html#a1b873380277a79a12dca3ba59f862529',1,'macstd::dplhandle::dplhandle() noexcept'],['../classmacstd_1_1dplhandle.html#a7250ebf4632a7d48b071dc10b8e4b986',1,'macstd::dplhandle::dplhandle(T h) noexcept'],['../classmacstd_1_1dplhandle.html#a835eca8008bbdd42aa4bbb76072c637b',1,'macstd::dplhandle::dplhandle(const dplhandle< T, INVAL > &h)'],['../classmacstd_1_1dplhandle.html#a8bb0531c1a3eacc4a60604e438b3ed71',1,'macstd::dplhandle::dplhandle(dplhandle< T, INVAL > &&h) noexcept']]], + ['duplicate_2',['duplicate',['../classmacstd_1_1dplhandle.html#ae43e59554d0d11b4500daa5bd50bda0d',1,'macstd::dplhandle']]], + ['duplicate_5finternal_3',['duplicate_internal',['../classmacstd_1_1dplhandle.html#a33df964f028970ac0321568c3582d550',1,'macstd::dplhandle']]] +]; diff --git a/search/functions_3.js b/search/functions_3.js new file mode 100644 index 0000000..8785946 --- /dev/null +++ b/search/functions_3.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['free_0',['free',['../classmacstd_1_1handle.html#afbc07860aaf0eeeabe6e7e7474b6d176',1,'macstd::handle']]], + ['free_5finternal_1',['free_internal',['../classmacstd_1_1handle.html#a5e3365827f995ee2a580d2c669ddcafe',1,'macstd::handle::free_internal()'],['../classmacstd_1_1io__object.html#a897840743bbbdc938e757781fc453cb5',1,'macstd::io_object::free_internal()']]] +]; diff --git a/search/functions_4.js b/search/functions_4.js new file mode 100644 index 0000000..5ac03ae --- /dev/null +++ b/search/functions_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['handle_0',['handle',['../classmacstd_1_1handle.html#a58be08519d6208ba2716dcd79d2f295e',1,'macstd::handle::handle() noexcept'],['../classmacstd_1_1handle.html#a5906d39969037175bf5b148935ab1d05',1,'macstd::handle::handle(T h) noexcept'],['../classmacstd_1_1handle.html#ae5e62370d363a2db991b691f5fa4d914',1,'macstd::handle::handle(handle< T, INVAL > &&h) noexcept']]] +]; diff --git a/search/functions_5.js b/search/functions_5.js new file mode 100644 index 0000000..fa78d83 --- /dev/null +++ b/search/functions_5.js @@ -0,0 +1,16 @@ +var searchData= +[ + ['operator_20t_0',['operator T',['../classmacstd_1_1handle.html#a1c6c0152d5cc967558720e9f8ce218df',1,'macstd::handle']]], + ['operator_21_1',['operator!',['../classmacstd_1_1handle.html#ac1d446bed338bb91b639fe2f34141b62',1,'macstd::handle']]], + ['operator_21_3d_2',['operator!=',['../classmacstd_1_1handle.html#adcc4a33c5a33325aa3106d9eaab5384a',1,'macstd::handle']]], + ['operator_26_3',['operator&',['../classmacstd_1_1handle.html#a8405a3ff7aefc002779984f856678960',1,'macstd::handle']]], + ['operator_28_29_4',['operator()',['../structmacstd_1_1_c_f_release__delete.html#ada4a1d4eab1b2f91d655335b64cc2726',1,'macstd::CFRelease_delete']]], + ['operator_2a_5',['operator*',['../classmacstd_1_1handle.html#aab9ec0feedeb9d115f37d938e923d10c',1,'macstd::handle']]], + ['operator_2d_3e_6',['operator->',['../classmacstd_1_1handle.html#aff8db2489369bcdbb9ebf60ee7095878',1,'macstd::handle']]], + ['operator_3c_7',['operator<',['../classmacstd_1_1handle.html#ae50ded4e3696cebbdb5145fa8f58ad23',1,'macstd::handle']]], + ['operator_3c_3d_8',['operator<=',['../classmacstd_1_1handle.html#a4eaa05a6124133c11663f1c6c2666f7b',1,'macstd::handle']]], + ['operator_3d_9',['operator=',['../classmacstd_1_1handle.html#ad0e382917ebdceabe1d1c80780cec8fd',1,'macstd::handle::operator=(T h) noexcept'],['../classmacstd_1_1handle.html#a2027dc26b8d7dac3410dd9e302a01e31',1,'macstd::handle::operator=(handle< T, INVAL > &&h) noexcept'],['../classmacstd_1_1dplhandle.html#a5f336d173be030936c7eaec80727a0a6',1,'macstd::dplhandle::operator=(T h) noexcept'],['../classmacstd_1_1dplhandle.html#af25c2323ce6030400bf12be762565350',1,'macstd::dplhandle::operator=(const dplhandle< T, INVAL > &h) noexcept'],['../classmacstd_1_1dplhandle.html#a71b36749116393468cc7b9307ff21128',1,'macstd::dplhandle::operator=(dplhandle< T, INVAL > &&h) noexcept']]], + ['operator_3d_3d_10',['operator==',['../classmacstd_1_1handle.html#a724b10f5424177670f04180e32b7f129',1,'macstd::handle']]], + ['operator_3e_11',['operator>',['../classmacstd_1_1handle.html#a862b5aec5f974071ddf14a2a7b6570d2',1,'macstd::handle']]], + ['operator_3e_3d_12',['operator>=',['../classmacstd_1_1handle.html#a10b5fff674bc904f841925f54a98801e',1,'macstd::handle']]] +]; diff --git a/search/functions_6.js b/search/functions_6.js new file mode 100644 index 0000000..a96055f --- /dev/null +++ b/search/functions_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['_7eio_5fobject_0',['~io_object',['../classmacstd_1_1io__object.html#a0608c7dbed214b5cb4626fb23a9b1aca',1,'macstd::io_object']]] +]; diff --git a/search/searchdata.js b/search/searchdata.js index dada10b..e521959 100644 --- a/search/searchdata.js +++ b/search/searchdata.js @@ -1,9 +1,10 @@ var indexSectionsWithContent = { - 0: "acefimnoptuw", - 1: "c", - 2: "co", - 3: "m" + 0: "acdefhimnoptuw~", + 1: "cdhi", + 2: "acdfho~", + 3: "m", + 4: "m" }; var indexSectionNames = @@ -11,7 +12,8 @@ var indexSectionNames = 0: "all", 1: "classes", 2: "functions", - 3: "pages" + 3: "variables", + 4: "pages" }; var indexSectionLabels = @@ -19,6 +21,7 @@ var indexSectionLabels = 0: "All", 1: "Classes", 2: "Functions", - 3: "Pages" + 3: "Variables", + 4: "Pages" }; diff --git a/search/variables_0.js b/search/variables_0.js new file mode 100644 index 0000000..39178a1 --- /dev/null +++ b/search/variables_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['m_5fh_0',['m_h',['../classmacstd_1_1handle.html#ab65b198a6e06f14b29be176cdff7556e',1,'macstd::handle']]] +]; diff --git a/structmacstd_1_1_c_f_release__delete-members.html b/structmacstd_1_1_c_f_release__delete-members.html index 0361dae..56a0000 100644 --- a/structmacstd_1_1_c_f_release__delete-members.html +++ b/structmacstd_1_1_c_f_release__delete-members.html @@ -100,7 +100,7 @@ $(function(){ initResizable(false); }); diff --git a/structmacstd_1_1_c_f_release__delete.html b/structmacstd_1_1_c_f_release__delete.html index f2829f7..e89dc3e 100644 --- a/structmacstd_1_1_c_f_release__delete.html +++ b/structmacstd_1_1_c_f_release__delete.html @@ -99,7 +99,7 @@ $(function(){ initResizable(false); });

Deleter for unique_ptr using CFRelease. More...

-

#include <MacStd/Foundation.hpp>

+

#include <MacStd/CoreFoundation.hpp>

@@ -146,12 +146,12 @@ template<class _T >
The documentation for this struct was generated from the following file: diff --git a/unistd_8hpp_source.html b/unistd_8hpp_source.html index 69553e5..7a85510 100644 --- a/unistd_8hpp_source.html +++ b/unistd_8hpp_source.html @@ -124,7 +124,7 @@ $(function(){ initResizable(false); });

Public Member Functions