CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <DataStream.hh>
Definition at line 264 of file DataStream.hh.
Public Types | |
enum | DataStreamTraits { none = 0 , skipfail = (1u << 0) , failbit = (1u << 1) } |
Public Member Functions | |
VectorDataStream (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 std::vector< T > & | vector () 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 | |
std::vector< T > | m_vector |
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 266 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 283 of file DataStream.hh.
|
inlineoverridevirtual |
Reimplemented from CASM::DataStream.
Definition at line 288 of file DataStream.hh.
|
inlineinherited |
Definition at line 49 of file DataStream.hh.
|
inlineoverridevirtual |
Reimplemented from CASM::DataStream.
Definition at line 268 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 278 of file DataStream.hh.
|
inlinevirtualinherited |
Definition at line 42 of file DataStream.hh.
|
inlineoverridevirtual |
Reimplemented from CASM::DataStream.
Definition at line 273 of file DataStream.hh.
|
inline |
Definition at line 293 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 296 of file DataStream.hh.