1 #ifndef __JLANG__JSTREAMAVAILABLE__
2 #define __JLANG__JSTREAMAVAILABLE__
45 template<class T, bool __str__ = JLANG::JPrintHelper::JMemberMethod<T>::__str__>
56 static std::istream&
is();
57 static std::ostream&
os();
JStream(std::ostream &out, const std::string &message)
Constructor.
Auxiliary class for format stream.
std::ostream & print(std::ostream &out, const T &value, const JLANG::JBool< true > &option)
Print value if given option is true.
#define JTEST(__A__)
Test macro.
STREAM(const std::string &message="")
Constructor.
static JFalse test(...)
default false
std::ostream & operator<<(const T &value)
Write value to output stream.
static T & getReference()
esac print_variable DETECTOR INPUT_FILE OUTPUT_FILE CDF for TYPE in
friend JStream operator<<(std::ostream &out, const STREAM &format)
Format specifier.
Test availability of stream operators.
Auxiliary class for any type definition.
Auxiliary template class for type bool.
Auxiliary base class for compile time evaluation of test.
Auxiliary data structure for handling std::ostream.
do set_variable OUTPUT_DIRECTORY $WORKDIR T
static const bool has_istream
true if std::istream& operator>>(std::istream&, T&) is defined; else false
Auxiliary class for no type definition.
static const bool has_ostream
true if std::ostream& operator<<(std::ostream&, const T&) is defined; else false
static std::istream & is()
std::ostream & print(std::ostream &out, const T &value, const JLANG::JBool< false > &option)
Print value if given option is true.
std::istream & operator>>(std::istream &in, JAANET::JHead &header)
Read header from input.
static JTrue test(std::istream &)
static std::ostream & os()