Multiscale Universal Interface  2.0
A Concurrent Framework for Coupling Heterogeneous Solvers
mui::container_stream< Seq, Alloc > Class Template Reference

#include <stream.h>

Inheritance diagram for mui::container_stream< Seq, Alloc >:
Collaboration diagram for mui::container_stream< Seq, Alloc >:

Public Member Functions

 ~container_stream ()
 
void read (char *ptr, std::size_t size)
 
void write (const char *ptr, std::size_t size)
 
Seq< char, Alloc > & data ()
 
const Seq< char, Alloc > & data () const
 
- Public Member Functions inherited from mui::iostream
virtual ~iostream ()
 
- Public Member Functions inherited from mui::istream
virtual ~istream ()
 
- Public Member Functions inherited from mui::ostream
virtual ~ostream ()
 

Constructor & Destructor Documentation

◆ ~container_stream()

template<template< typename T, typename=std::allocator< T > > class Seq, typename Alloc = std::allocator<char>>
mui::container_stream< Seq, Alloc >::~container_stream ( )
inline

Member Function Documentation

◆ data() [1/2]

template<template< typename T, typename=std::allocator< T > > class Seq, typename Alloc = std::allocator<char>>
Seq<char,Alloc>& mui::container_stream< Seq, Alloc >::data ( )
inline

◆ data() [2/2]

template<template< typename T, typename=std::allocator< T > > class Seq, typename Alloc = std::allocator<char>>
const Seq<char,Alloc>& mui::container_stream< Seq, Alloc >::data ( ) const
inline

◆ read()

template<template< typename T, typename=std::allocator< T > > class Seq, typename Alloc = std::allocator<char>>
void mui::container_stream< Seq, Alloc >::read ( char *  ptr,
std::size_t  size 
)
inlinevirtual

Implements mui::istream.

◆ write()

template<template< typename T, typename=std::allocator< T > > class Seq, typename Alloc = std::allocator<char>>
void mui::container_stream< Seq, Alloc >::write ( const char *  ptr,
std::size_t  size 
)
inlinevirtual

Implements mui::ostream.


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