Workspace 6.21.5
List of all members
StreamableIn< T > Struct Template Reference

Traits class to determine if a type T supports input streaming. More...

#include <Workspace/Application/LanguageUtils/streamable.h>

Inheritance diagram for StreamableIn< T >:
[legend]

Additional Inherited Members

- Public Types inherited from IsStreamableIn< T >
enum  { Is = (sizeof(checkForStreamable((istrm >> x))) == sizeof(char)) }
 

Detailed Description

template<class T>
struct CSIRO::Application::StreamableIn< T >

For a class to support input streaming, it must support std::istream functionality. Client code makes use of this traits class by testing the compile-time constant value of Is. You can create an specialization of this class if you want to avoid using the default tests which can yield compiler errors due to ambiguous overloads in certain circumstances.