Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Attributes | Static Protected Member Functions | Static Private Member Functions | List of all members
JRedirectAvailable< T, __str__ > Class Template Reference

Test availability of redirect operators. More...

#include <JRedirectAvailable.hh>

Inheritance diagram for JRedirectAvailable< T, __str__ >:
JLANG::JTest

Static Public Attributes

static const bool has_istream = JTEST(test(is() >> getReference()))
 true if std::istream& operator>>(std::istream&, T&) is defined; else false More...
 
static const bool has_ostream = JTEST(test(os() << getReference()))
 true if std::ostream& operator<<(std::ostream&, const T&) is defined; else false More...
 

Static Protected Member Functions

static JFalse test (...)
 default false More...
 

Static Private Member Functions

static JTrue test (std::istream &)
 
static JTrue test (std::ostream &)
 
static T & getReference ()
 
static std::istream & is ()
 
static std::ostream & os ()
 

Detailed Description

template<class T, bool __str__ = JLANG::JPrintHelper::JMemberMethod<T>::__str__>
class JRedirectAvailable< T, __str__ >

Test availability of redirect operators.

Definition at line 45 of file JRedirectAvailable.hh.

Member Function Documentation

template<class T , bool __str__ = JLANG::JPrintHelper::JMemberMethod<T>::__str__>
static JTrue JRedirectAvailable< T, __str__ >::test ( std::istream &  )
staticprivate
template<class T , bool __str__ = JLANG::JPrintHelper::JMemberMethod<T>::__str__>
static JTrue JRedirectAvailable< T, __str__ >::test ( std::ostream &  )
staticprivate
template<class T , bool __str__ = JLANG::JPrintHelper::JMemberMethod<T>::__str__>
static T& JRedirectAvailable< T, __str__ >::getReference ( )
staticprivate
template<class T , bool __str__ = JLANG::JPrintHelper::JMemberMethod<T>::__str__>
static std::istream& JRedirectAvailable< T, __str__ >::is ( )
staticprivate
template<class T , bool __str__ = JLANG::JPrintHelper::JMemberMethod<T>::__str__>
static std::ostream& JRedirectAvailable< T, __str__ >::os ( )
staticprivate
static JFalse JLANG::JTest::test (   ...)
staticprotectedinherited

default false

Member Data Documentation

template<class T , bool __str__ = JLANG::JPrintHelper::JMemberMethod<T>::__str__>
const bool JRedirectAvailable< T, __str__ >::has_istream = JTEST(test(is() >> getReference()))
static

true if std::istream& operator>>(std::istream&, T&) is defined; else false

Definition at line 59 of file JRedirectAvailable.hh.

template<class T , bool __str__ = JLANG::JPrintHelper::JMemberMethod<T>::__str__>
const bool JRedirectAvailable< T, __str__ >::has_ostream = JTEST(test(os() << getReference()))
static

true if std::ostream& operator<<(std::ostream&, const T&) is defined; else false

Definition at line 60 of file JRedirectAvailable.hh.


The documentation for this class was generated from the following file: