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

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

#include <devices.hpp>

Public Member Functions

 ecl_compile_time_concept_test (OutputByteDeviceConcept)
 Implements a concept test for output byte devices. More...
 

Private Attributes

Implementation output_byte_device
 

Detailed Description

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

Validates functionality for the output byte device concept.

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

Definition at line 211 of file devices.hpp.

Member Function Documentation

◆ ecl_compile_time_concept_test()

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

Implements a concept test for output byte devices.

The following conditions are required by output byte devices:

  • 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.

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

Definition at line 226 of file devices.hpp.

Member Data Documentation

◆ output_byte_device

template<typename Implementation >
Implementation ecl::OutputByteDeviceConcept< Implementation >::output_byte_device
private

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