Workspace 6.21.5
Public Types | List of all members
Streamable< T > Struct Template Reference

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

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

Inheritance diagram for Streamable< T >:
[legend]

Public Types

enum  { Is = StreamableIn<T>::Is && StreamableOut<T>::Is }
 

Detailed Description

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

For a class to support streaming, it must support both std::ostream and std::istream functionality. Client code makes use of this traits class by testing the compile-time constant value of Is.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Is