Flow123d  release_3.0.0-1141-g4222d07
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

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

Definition at line 124 of file posix.h.

fmt::BufferedFile::BufferedFile ( )
inline

Definition at line 128 of file posix.h.

fmt::BufferedFile::~BufferedFile ( )

Definition at line 84 of file posix.cc.

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

Definition at line 146 of file posix.h.

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

Definition at line 149 of file posix.h.

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

Definition at line 89 of file posix.cc.

Member Function Documentation

void fmt::BufferedFile::close ( )

Definition at line 96 of file posix.cc.

Here is the caller graph for this function:

int fmt::BufferedFile::fileno ( ) const

Definition at line 108 of file posix.cc.

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

Definition at line 200 of file posix.h.

fmt::BufferedFile::operator Proxy ( )
inline

Definition at line 170 of file posix.h.

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

Definition at line 154 of file posix.h.

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

Definition at line 161 of file posix.h.

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

Definition at line 206 of file posix.h.

Friends And Related Function Documentation

friend class File
friend

Definition at line 122 of file posix.h.

Member Data Documentation

FILE* fmt::BufferedFile::file_
private

Definition at line 120 of file posix.h.


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