Android-cuttlefish cvd tool
Public Member Functions | Private Member Functions | Private Attributes | List of all members
android::base::ErrnoRestorer Class Reference

#include <errno_restorer.h>

Public Member Functions

 ErrnoRestorer ()
 
 ~ErrnoRestorer ()
 
 operator bool () const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (ErrnoRestorer)
 

Private Attributes

const int saved_errno_
 

Constructor & Destructor Documentation

◆ ErrnoRestorer()

android::base::ErrnoRestorer::ErrnoRestorer ( )
inline

◆ ~ErrnoRestorer()

android::base::ErrnoRestorer::~ErrnoRestorer ( )
inline

Member Function Documentation

◆ DISALLOW_COPY_AND_ASSIGN()

android::base::ErrnoRestorer::DISALLOW_COPY_AND_ASSIGN ( ErrnoRestorer  )
private

◆ operator bool()

android::base::ErrnoRestorer::operator bool ( ) const
inlineexplicit

Member Data Documentation

◆ saved_errno_

const int android::base::ErrnoRestorer::saved_errno_
private

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