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()
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 &)
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
static std::ostream & os()