Flow123d  3.9.0-9663d1cde
Classes | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
fmt::BufferedFile Class Reference

#include <posix.h>

Classes

struct  Proxy
 

Public Member Functions

 BufferedFile () FMT_NOEXCEPT
 
 ~BufferedFile () FMT_NOEXCEPT
 
 BufferedFile (Proxy p) FMT_NOEXCEPT
 
 BufferedFile (BufferedFile &f) FMT_NOEXCEPT
 
BufferedFileoperator= (Proxy p)
 
BufferedFileoperator= (BufferedFile &other)
 
 operator Proxy () FMT_NOEXCEPT
 
 BufferedFile (CStringRef filename, CStringRef mode)
 
void close ()
 
FILE * get () const FMT_NOEXCEPT
 
int() fileno () const
 
void print (CStringRef format_str, const ArgList &args)
 

Private Member Functions

 BufferedFile (FILE *f)
 

Private Attributes

FILE * file_
 

Friends

class File
 

Detailed Description

Definition at line 118 of file posix.h.

Constructor & Destructor Documentation

◆ BufferedFile() [1/5]

fmt::BufferedFile::BufferedFile ( FILE *  f)
inlineexplicitprivate

Definition at line 124 of file posix.h.

◆ BufferedFile() [2/5]

fmt::BufferedFile::BufferedFile ( )
inline

Definition at line 128 of file posix.h.

◆ ~BufferedFile()

fmt::BufferedFile::~BufferedFile ( )

Definition at line 84 of file posix.cc.

◆ BufferedFile() [3/5]

fmt::BufferedFile::BufferedFile ( Proxy  p)
inline

Definition at line 146 of file posix.h.

◆ BufferedFile() [4/5]

fmt::BufferedFile::BufferedFile ( BufferedFile f)
inline

Definition at line 149 of file posix.h.

◆ BufferedFile() [5/5]

fmt::BufferedFile::BufferedFile ( fmt::CStringRef  filename,
fmt::CStringRef  mode 
)

Definition at line 89 of file posix.cc.

Member Function Documentation

◆ close()

void fmt::BufferedFile::close ( )

Definition at line 96 of file posix.cc.

Here is the caller graph for this function:

◆ fileno()

int fmt::BufferedFile::fileno ( ) const

Definition at line 108 of file posix.cc.

◆ get()

FILE* fmt::BufferedFile::get ( ) const
inline

Definition at line 200 of file posix.h.

◆ operator Proxy()

fmt::BufferedFile::operator Proxy ( )
inline

Definition at line 170 of file posix.h.

◆ operator=() [1/2]

BufferedFile& fmt::BufferedFile::operator= ( BufferedFile other)
inline

Definition at line 161 of file posix.h.

◆ operator=() [2/2]

BufferedFile& fmt::BufferedFile::operator= ( Proxy  p)
inline

Definition at line 154 of file posix.h.

◆ print()

void fmt::BufferedFile::print ( CStringRef  format_str,
const ArgList args 
)
inline

Definition at line 206 of file posix.h.

Friends And Related Function Documentation

◆ File

friend class File
friend

Definition at line 122 of file posix.h.

Member Data Documentation

◆ file_

FILE* fmt::BufferedFile::file_
private

Definition at line 120 of file posix.h.


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