proxygen
|
#include <File-inl.h>
Public Member Functions | |
FileWriter (File file, std::unique_ptr< IOBuf > buffer) | |
template<class Source , class Value > | |
void | compose (const GenImpl< Value, Source > &source) const |
Public Member Functions inherited from folly::gen::Operator< FileWriter > | |
ResultGen | compose (const GenImpl< Value, Source > &source) const |
Public Member Functions inherited from folly::gen::FBounded< Self > | |
const Self & | self () const |
Self & | self () |
Private Member Functions | |
void | write (ByteRange v) const |
void | flushBuffer () const |
Private Attributes | |
File | file_ |
std::unique_ptr< IOBuf > | buffer_ |
Additional Inherited Members | |
Protected Member Functions inherited from folly::gen::Operator< FileWriter > | |
Operator ()=default | |
Operator (Operator &&) noexcept=default | |
Operator (const Operator &)=default | |
Operator & | operator= (Operator &&) noexcept=default |
Operator & | operator= (const Operator &)=default |
Definition at line 64 of file File-inl.h.
|
inline |
Definition at line 74 of file File-inl.h.
References folly::gen::detail::FileReader::buffer_, folly::File::close(), folly::gen::detail::FileReader::file_, folly::gen::GenImpl< Value, Self >::foreach(), folly::gen::move, v, and fizz::detail::write().
|
inlineprivate |
Definition at line 110 of file File-inl.h.
References folly::gen::detail::FileReader::buffer_, and fizz::detail::write().
|
inlineprivate |
Definition at line 96 of file File-inl.h.
References folly::Range< Iter >::advance(), folly::Range< Iter >::data(), folly::Range< Iter >::empty(), folly::File::fd(), folly::gen::detail::FileReader::file_, folly::Range< Iter >::size(), and fizz::detail::write().
|
private |
Definition at line 118 of file File-inl.h.
|
mutableprivate |
Definition at line 117 of file File-inl.h.