Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
fc::device_adaptor< STREAM, Category > Struct Template Reference

#include <bio_device_adaptor.hpp>

Public Types

typedef char char_type
 
typedef Category category
 

Public Member Functions

size_t write (const char *data, size_t n)
 
size_t read (char *data, size_t n)
 

Public Attributes

STREAMstrm
 

Detailed Description

template<typename STREAM, typename Category>
struct fc::device_adaptor< STREAM, Category >

Definition at line 9 of file bio_device_adaptor.hpp.

Member Typedef Documentation

◆ category

template<typename STREAM , typename Category >
Category fc::device_adaptor< STREAM, Category >::category

Definition at line 13 of file bio_device_adaptor.hpp.

◆ char_type

template<typename STREAM , typename Category >
char fc::device_adaptor< STREAM, Category >::char_type

Definition at line 12 of file bio_device_adaptor.hpp.

Member Function Documentation

◆ read()

template<typename STREAM , typename Category >
size_t fc::device_adaptor< STREAM, Category >::read ( char * data,
size_t n )
inline

Definition at line 15 of file bio_device_adaptor.hpp.

15{ return strm.read(data, n), n; }

◆ write()

template<typename STREAM , typename Category >
size_t fc::device_adaptor< STREAM, Category >::write ( const char * data,
size_t n )
inline

Definition at line 14 of file bio_device_adaptor.hpp.

14{ return strm.write(data, n), n; }

Member Data Documentation

◆ strm

template<typename STREAM , typename Category >
STREAM& fc::device_adaptor< STREAM, Category >::strm

Definition at line 10 of file bio_device_adaptor.hpp.


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