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

#include <os.h>

Public Member Functions

 buffered_file () noexcept
 
 buffered_file (buffered_file &&other) noexcept
 
 buffered_file (const buffered_file &)=delete
 
FMT_API buffered_file (cstring_view filename, cstring_view mode)
 
FMT_API void close ()
 
FMT_API auto descriptor () const -> int
 
auto get () const noexcept -> FILE *
 
auto operator= (buffered_file &&other) -> buffered_file &
 
void operator= (const buffered_file &)=delete
 
template<typename... Args>
void print (string_view format_str, const Args &... args)
 
void vprint (string_view format_str, format_args args)
 
FMT_API ~buffered_file () noexcept
 

Private Member Functions

 buffered_file (FILE *f)
 

Private Attributes

FILE * file_
 

Friends

class file
 

Detailed Description

Definition at line 189 of file os.h.

Constructor & Destructor Documentation

◆ buffered_file() [1/5]

buffered_file::buffered_file ( FILE *  f)
inlineexplicitprivate

Definition at line 195 of file os.h.

◆ buffered_file() [2/5]

buffered_file::buffered_file ( const buffered_file )
delete

◆ buffered_file() [3/5]

buffered_file::buffered_file ( )
inlinenoexcept

Definition at line 202 of file os.h.

◆ ~buffered_file()

FMT_API buffered_file::~buffered_file ( )
noexcept

◆ buffered_file() [4/5]

buffered_file::buffered_file ( buffered_file &&  other)
inlinenoexcept

Definition at line 208 of file os.h.

◆ buffered_file() [5/5]

FMT_API buffered_file::buffered_file ( cstring_view  filename,
cstring_view  mode 
)

Member Function Documentation

◆ close()

FMT_API void buffered_file::close ( )

◆ descriptor()

FMT_API auto buffered_file::descriptor ( ) const -> int

◆ get()

auto buffered_file::get ( ) const -> FILE*
inlinenoexcept

Definition at line 226 of file os.h.

◆ operator=() [1/2]

auto buffered_file::operator= ( buffered_file &&  other) -> buffered_file&
inline

Definition at line 212 of file os.h.

◆ operator=() [2/2]

void buffered_file::operator= ( const buffered_file )
delete

◆ print()

template<typename... Args>
void buffered_file::print ( string_view  format_str,
const Args &...  args 
)
inline

Definition at line 235 of file os.h.

◆ vprint()

void buffered_file::vprint ( string_view  format_str,
format_args  args 
)
inline

Definition at line 230 of file os.h.

Friends And Related Function Documentation

◆ file

friend class file
friend

Definition at line 193 of file os.h.

Member Data Documentation

◆ file_

FILE* buffered_file::file_
private

Definition at line 191 of file os.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:50