Horizon
Public Member Functions | List of all members
libzip::stat_ptr Class Reference

Wrapper for stat as pointer. More...

#include <zip.hpp>

Public Member Functions

 stat_ptr (stat stat) noexcept
 Constructor. More...
 
statoperator* () noexcept
 Get the reference. More...
 
const statoperator* () const noexcept
 Get the reference. More...
 
statoperator-> () noexcept
 Access the object. More...
 
const statoperator-> () const noexcept
 Access the object. More...
 

Detailed Description

Wrapper for stat as pointer.

Constructor & Destructor Documentation

◆ stat_ptr()

libzip::stat_ptr::stat_ptr ( stat  stat)
inlinenoexcept

Constructor.

Parameters
statthe file stat

Member Function Documentation

◆ operator*() [1/2]

const stat& libzip::stat_ptr::operator* ( ) const
inlinenoexcept

Get the reference.

Returns
the reference

◆ operator*() [2/2]

stat& libzip::stat_ptr::operator* ( )
inlinenoexcept

Get the reference.

Returns
the reference

◆ operator->() [1/2]

const stat* libzip::stat_ptr::operator-> ( ) const
inlinenoexcept

Access the object.

Returns
the pointer

◆ operator->() [2/2]

stat* libzip::stat_ptr::operator-> ( )
inlinenoexcept

Access the object.

Returns
the pointer

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