Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
fmt::BufferedFile Class Reference

#include <posix.h>

Classes

struct  Proxy
 

Public Member Functions

 BufferedFile () FMT_NOEXCEPT
 
FMT_API ~BufferedFile () FMT_NOEXCEPT
 
 BufferedFile (Proxy p) FMT_NOEXCEPT
 
 BufferedFile (BufferedFile &f) FMT_NOEXCEPT
 
BufferedFileoperator= (Proxy p)
 
BufferedFileoperator= (BufferedFile &other)
 
 operator Proxy () FMT_NOEXCEPT
 
FMT_API BufferedFile (CStringRef filename, CStringRef mode)
 
FMT_API void close ()
 
FILE * get () const FMT_NOEXCEPT
 
FMT_API 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 81 of file posix.h.

Constructor & Destructor Documentation

◆ BufferedFile() [1/5]

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

Definition at line 87 of file posix.h.

+ Here is the caller graph for this function:

◆ BufferedFile() [2/5]

fmt::BufferedFile::BufferedFile ( )
inline

Definition at line 91 of file posix.h.

◆ ~BufferedFile()

fmt::BufferedFile::~BufferedFile ( )

Definition at line 69 of file posix.cc.

+ Here is the call graph for this function:

◆ BufferedFile() [3/5]

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

Definition at line 109 of file posix.h.

◆ BufferedFile() [4/5]

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

Definition at line 112 of file posix.h.

◆ BufferedFile() [5/5]

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

Definition at line 74 of file posix.cc.

+ Here is the call graph for this function:

Member Function Documentation

◆ close()

void fmt::BufferedFile::close ( )

Definition at line 81 of file posix.cc.

+ Here is the call graph for this function:

◆ fileno()

int fmt::BufferedFile::fileno ( ) const

Definition at line 93 of file posix.cc.

+ Here is the call graph for this function:

◆ get()

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

Definition at line 163 of file posix.h.

◆ operator Proxy()

fmt::BufferedFile::operator Proxy ( )
inline

Definition at line 133 of file posix.h.

◆ operator=() [1/2]

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

Definition at line 124 of file posix.h.

◆ operator=() [2/2]

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

Definition at line 117 of file posix.h.

◆ print()

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

Definition at line 169 of file posix.h.

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ File

friend class File
friend

Definition at line 85 of file posix.h.

Member Data Documentation

◆ file_

FILE* fmt::BufferedFile::file_
private

Definition at line 83 of file posix.h.


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