Cthulhu  0.2.10
Cthulhu compiler collection
ctu::OsError Class Reference

#include <io.hpp>

Public Member Functions

 OsError (os_error_t error)
 
 operator os_error_t () const
 
bool success () const
 
bool failed () const
 
const char * what () const
 

Detailed Description

Definition at line 11 of file io.hpp.

Constructor & Destructor Documentation

◆ OsError()

OsError::OsError ( os_error_t  error)

Definition at line 18 of file io.cpp.

Member Function Documentation

◆ failed()

bool OsError::failed ( ) const

Definition at line 29 of file io.cpp.

◆ operator os_error_t()

ctu::OsError::operator os_error_t ( ) const
inline

Definition at line 21 of file io.hpp.

◆ success()

bool OsError::success ( ) const

Definition at line 24 of file io.cpp.

◆ what()

const char * OsError::what ( ) const

Definition at line 34 of file io.cpp.


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