Public Member Functions | Private Attributes | List of all members
ecl::InputOutputCharDeviceConcept< Implementation > Class Template Reference

Validates functionality for the input-output char device concept. More...

#include <devices.hpp>

Public Member Functions

 ecl_compile_time_concept_test (InputOutputCharDeviceConcept)
 Implements a concept test for input-output byte devices. More...
 

Private Attributes

Implementation input_output_char_device
 

Detailed Description

template<typename Implementation>
class ecl::InputOutputCharDeviceConcept< Implementation >

Validates functionality for the input-output char device concept.

This checks if a device can handle input-output of char types.

Definition at line 116 of file devices.hpp.

Member Function Documentation

template<typename Implementation >
ecl::InputOutputCharDeviceConcept< Implementation >::ecl_compile_time_concept_test ( InputOutputCharDeviceConcept< Implementation >  )
inline

Implements a concept test for input-output byte devices.

The following conditions are required by input-output byte devices:

  • long read(char &c) : read a single character from the device buffer.
  • long read(char *s, unsigned long n) : read a char buffer from the device buffer.
  • long write(char &c) : write a single character to the device buffer.
  • long write(char *s, unsigned long n) : write a char buffer to the device buffer.
  • void flush() : a method for flushing the output device buffer to the device.

Definition at line 129 of file devices.hpp.

Member Data Documentation

template<typename Implementation >
Implementation ecl::InputOutputCharDeviceConcept< Implementation >::input_output_char_device
private

Definition at line 145 of file devices.hpp.


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


ecl_concepts
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:08:20