proxygen
|
#include <IStream.h>
Public Member Functions | |
IStreamByLine (std::istream &in) | |
template<class Body > | |
bool | apply (Body &&body) const |
Public Member Functions inherited from folly::gen::GenImpl< std::string &&, IStreamByLine > | |
bool | apply (Handler &&handler) const |
void | foreach (Body &&body) const |
Public Member Functions inherited from folly::gen::FBounded< Self > | |
const Self & | self () const |
Self & | self () |
Static Public Attributes | |
static constexpr bool | infinite = false |
Static Public Attributes inherited from folly::gen::GenImpl< std::string &&, IStreamByLine > | |
static constexpr bool | infinite |
Private Attributes | |
std::istream & | in_ |
Additional Inherited Members | |
Public Types inherited from folly::gen::GenImpl< std::string &&, IStreamByLine > | |
typedef std::string && | ValueType |
typedef std::decay< std::string && >::type | StorageType |
Protected Member Functions inherited from folly::gen::GenImpl< std::string &&, IStreamByLine > | |
GenImpl ()=default | |
GenImpl (GenImpl &&)=default | |
GenImpl (const GenImpl &)=default | |
GenImpl & | operator= (GenImpl &&)=default |
GenImpl & | operator= (const GenImpl &)=default |
Generates lines by calling std::getline() on a given istream.
|
inline |
|
inline |
Definition at line 35 of file IStream.h.
References getline(), in_, folly::gen::move, and string.
|
private |
|
static |