CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <DataStream.hh>
Definition at line 227 of file DataStream.hh.
Public Types | |
enum | DataStreamTraits { none = 0 , skipfail = (1u << 0) , failbit = (1u << 1) } |
Public Member Functions | |
ValueDataStream (DataStreamTraits _traits=none) | |
DataStream & | operator<< (const std::string &val) override |
DataStream & | operator<< (long val) override |
DataStream & | operator<< (double val) override |
DataStream & | operator<< (bool val) override |
DataStream & | operator<< (char val) override |
const T & | value () const |
virtual DataStream & | operator<< (jsonParser const &) |
DataStream & | operator<< (DataStream &(*F)(DataStream &)) |
DataStream & | operator<< (const std::function< DataStream &(DataStream &)> &F) |
DataStream & | operator<< (DataStreamTraits set_bits) |
virtual DataStream & | newline () |
bool | fail () const |
void | clear_fail () |
std::string const & | err_msg () const |
Static Public Member Functions | |
static DataStream & | endl (DataStream &_strm) |
static std::function< DataStream &(DataStream &_strm)> | failure (std::string const &_msg) |
Protected Member Functions | |
void | _set_err_msg (std::string const &_msg) |
bool | _skipfail () |
Private Attributes | |
T | m_value |
int | m_traits |
std::string | m_err_msg |
|
inherited |
Enumerator | |
---|---|
none | |
skipfail | |
failbit |
Definition at line 15 of file DataStream.hh.
|
inline |
Definition at line 229 of file DataStream.hh.
|
inlineprotectedinherited |
Definition at line 70 of file DataStream.hh.
|
inlineprotectedinherited |
Definition at line 72 of file DataStream.hh.
|
inlineinherited |
Definition at line 62 of file DataStream.hh.
|
inlinestaticinherited |
Definition at line 17 of file DataStream.hh.
|
inlineinherited |
Definition at line 67 of file DataStream.hh.
|
inlineinherited |
Definition at line 60 of file DataStream.hh.
|
inlinestaticinherited |
Definition at line 114 of file DataStream.hh.
|
inlinevirtualinherited |
Reimplemented in CASM::CountDataStream, CASM::LabeledMatrixXdDataStream, and CASM::MatrixXdDataStream.
Definition at line 53 of file DataStream.hh.
|
inlineoverridevirtual |
Reimplemented from CASM::DataStream.
Definition at line 246 of file DataStream.hh.
|
inlineoverridevirtual |
Reimplemented from CASM::DataStream.
Definition at line 251 of file DataStream.hh.
|
inlineinherited |
Definition at line 49 of file DataStream.hh.
|
inlineoverridevirtual |
Reimplemented from CASM::DataStream.
Definition at line 231 of file DataStream.hh.
|
inlineinherited |
Definition at line 47 of file DataStream.hh.
|
inlineinherited |
Definition at line 55 of file DataStream.hh.
|
inlineoverridevirtual |
Reimplemented from CASM::DataStream.
Definition at line 241 of file DataStream.hh.
|
inlinevirtualinherited |
Definition at line 42 of file DataStream.hh.
|
inlineoverridevirtual |
Reimplemented from CASM::DataStream.
Definition at line 236 of file DataStream.hh.
|
inline |
Definition at line 256 of file DataStream.hh.
|
privateinherited |
Definition at line 76 of file DataStream.hh.
|
privateinherited |
Definition at line 75 of file DataStream.hh.
|
private |
Definition at line 259 of file DataStream.hh.