|
| CFileHandle (int fd) |
|
| CScopeGuard (std::function< decltype(close) > del, int handle=invalid) |
|
| CScopeGuard (const CScopeGuard &rhs)=delete |
|
| CScopeGuard (CScopeGuard &&rhs) noexcept |
|
| operator int () const |
|
| operator bool () const |
|
void | attach (int handle) |
| attach a new handle to this instance, if there's already a handle it will be closed. More...
|
|
int | release () |
| release the managed handle so that it won't be auto closed More...
|
|
void | reset () |
| reset the instance, closing any managed handle and setting it to invalid
|
|
CScopeGuard & | operator= (const CScopeGuard &rhs)=delete |
|
CScopeGuard & | operator= (CScopeGuard &&rhs) noexcept |
|
The documentation for this class was generated from the following file: