Public Member Functions | Private Attributes | List of all members
ScopedFD Class Reference

#include <internal.h>

Public Member Functions

int get () const
 
 operator bool () const
 
ScopedFDoperator= (const ScopedFD &)=delete
 
ScopedFDoperator= (ScopedFD &&other)
 
int release ()
 
void reset ()
 
 ScopedFD ()
 
 ScopedFD (const ScopedFD &)=delete
 
 ScopedFD (int fd)
 
 ScopedFD (ScopedFD &&other)
 
 ~ScopedFD ()
 

Private Attributes

int fd_ = -1
 

Detailed Description

Definition at line 47 of file third_party/boringssl-with-bazel/src/tool/internal.h.

Constructor & Destructor Documentation

◆ ScopedFD() [1/4]

ScopedFD::ScopedFD ( )
inline

◆ ScopedFD() [2/4]

ScopedFD::ScopedFD ( int  fd)
inlineexplicit

◆ ScopedFD() [3/4]

ScopedFD::ScopedFD ( ScopedFD &&  other)
inline

◆ ScopedFD() [4/4]

ScopedFD::ScopedFD ( const ScopedFD )
delete

◆ ~ScopedFD()

ScopedFD::~ScopedFD ( )
inline

Member Function Documentation

◆ get()

int ScopedFD::get ( ) const
inline

◆ operator bool()

ScopedFD::operator bool ( ) const
inlineexplicit

◆ operator=() [1/2]

ScopedFD& ScopedFD::operator= ( const ScopedFD )
delete

◆ operator=() [2/2]

ScopedFD& ScopedFD::operator= ( ScopedFD &&  other)
inline

◆ release()

int ScopedFD::release ( )
inline

◆ reset()

void ScopedFD::reset ( )
inline

Member Data Documentation

◆ fd_

int ScopedFD::fd_ = -1
private

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:48