Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
 

Constructor & Destructor Documentation

fmt::BufferedFile::BufferedFile ( FILE *  f)
inlineexplicitprivate
fmt::BufferedFile::BufferedFile ( )
inline
fmt::BufferedFile::~BufferedFile ( )
fmt::BufferedFile::BufferedFile ( Proxy  p)
inline
fmt::BufferedFile::BufferedFile ( BufferedFile f)
inline

References demo.D060_Folding::f, and FMT_NULL.

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

Member Function Documentation

void fmt::BufferedFile::close ( )
int fmt::BufferedFile::fileno ( ) const

References FMT_ARGS, FMT_POSIX_CALL, and FMT_THROW.

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

References file_.

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

References close(), file_, and FMT_NULL.

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

References file_, and fmt::print().

Friends And Related Function Documentation

friend class File
friend

Member Data Documentation

FILE* fmt::BufferedFile::file_
private

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