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

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

#include <devices.hpp>

Public Member Functions

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

Private Attributes

Implementation input_char_device
 

Detailed Description

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

Validates functionality for the input char device concept.

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

Definition at line 45 of file devices.hpp.

Member Function Documentation

◆ ecl_compile_time_concept_test()

template<typename Implementation >
ecl::InputCharDeviceConcept< Implementation >::ecl_compile_time_concept_test ( InputCharDeviceConcept< 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.

Definition at line 63 of file devices.hpp.

Member Data Documentation

◆ input_char_device

template<typename Implementation >
Implementation ecl::InputCharDeviceConcept< Implementation >::input_char_device
private

Definition at line 78 of file devices.hpp.


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


ecl_concepts
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:24