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

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

#include <devices.hpp>

Public Member Functions

 ecl_compile_time_concept_test (OutputCharDeviceConcept)
 Implements a concept test for output char devices. More...
 

Private Attributes

Implementation output_char_device
 

Detailed Description

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

Validates functionality for the output char device concept.

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

Definition at line 76 of file devices.hpp.

Member Function Documentation

◆ ecl_compile_time_concept_test()

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

Implements a concept test for output char devices.

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

Definition at line 87 of file devices.hpp.

Member Data Documentation

◆ output_char_device

template<typename Implementation >
Implementation ecl::OutputCharDeviceConcept< Implementation >::output_char_device
private

Definition at line 103 of file devices.hpp.


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


ecl_concepts
Author(s): Daniel Stonier
autogenerated on Mon Feb 28 2022 22:18:33