WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
buffered_file Class Reference

#include <posix.h>

Public Member Functions

 buffered_file () FMT_NOEXCEPT
 
FMT_API ~buffered_file () FMT_NOEXCEPT
 
 buffered_file (buffered_file &&other) FMT_NOEXCEPT
 
buffered_fileoperator= (buffered_file &&other)
 
FMT_API buffered_file (cstring_view filename, cstring_view mode)
 
FMT_API void close ()
 
FILE * get () const FMT_NOEXCEPT
 
FMT_API int() fileno () const
 
void vprint (string_view format_str, format_args args)
 
template<typename... Args>
void print (string_view format_str, const Args &... args)
 

Friends

class file
 

Detailed Description

Definition at line 127 of file posix.h.

Constructor & Destructor Documentation

◆ buffered_file() [1/3]

buffered_file::buffered_file ( )
inline

Definition at line 137 of file posix.h.

◆ ~buffered_file()

FMT_API buffered_file::~buffered_file ( )

◆ buffered_file() [2/3]

buffered_file::buffered_file ( buffered_file &&  other)
inline

Definition at line 148 of file posix.h.

◆ buffered_file() [3/3]

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

Member Function Documentation

◆ close()

FMT_API void buffered_file::close ( )

◆ fileno()

FMT_API int() buffered_file::fileno ( ) const

◆ get()

FILE* buffered_file::get ( ) const
inline

Definition at line 166 of file posix.h.

◆ operator=()

buffered_file& buffered_file::operator= ( buffered_file &&  other)
inline

Definition at line 152 of file posix.h.

Here is the call graph for this function:

◆ print()

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

Definition at line 177 of file posix.h.

Here is the call graph for this function:

◆ vprint()

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

Definition at line 172 of file posix.h.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ file

friend class file
friend

Definition at line 131 of file posix.h.


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