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

Validates functionality for the input byte device concept. More...

#include <devices.hpp>

Public Member Functions

 ecl_compile_time_concept_test (InputByteDeviceConcept)
 Implements a concept test for input devices. More...
 

Private Attributes

Implementation input_byte_device
 

Detailed Description

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

Validates functionality for the input byte device concept.

This checks if a device can handle input of all char types (char, signed char, unsigned char).

Definition at line 159 of file devices.hpp.

Member Function Documentation

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

Implements a concept test for input devices.

The following conditions are required by input 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.

Along with the same function implemented for signed and unsigned char types.

Definition at line 171 of file devices.hpp.

Member Data Documentation

template<typename Implementation >
Implementation ecl::InputByteDeviceConcept< Implementation >::input_byte_device
private

Definition at line 192 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