chipKIT® Development Platform

Inspired by Arduino™

Last edit: 2021-03-21 22:34 by Majenko

Printable

Printable
Quick Look
Hardware (External hardware)
Core Printable.h

Printable class provides a way for new classes to allow themselves to be printed.

  1. Detailed Introduction

  2. Full class usage

    1. Printable

      1. Virtual Public Functions

        1. printTo(Print& p)

  3. External Links

Detailed Introduction

The Printable class provides a way for new classes to allow themselves to be printed. By deriving from Printable and implementing the printTo method, it will then be possible for users to print out instances of this class by passing them into the usual. Print::print and Print::println methods.

Full class usage

Printable

Virtual Public Functions

printTo(Print& p)

    virtual size_t printTo(Print& p) const = 0;

External Links