Control Surface master
MIDI Control Surface library for Arduino
Classes | Typedefs | Functions
PrintStream

Detailed Description

Functions for printing to Streams using the streaming operator <<.

+ Collaboration diagram for PrintStream:

Classes

struct  Setbase
 
struct  Setprecision
 
struct  Setbytesep
 
struct  HexDump
 

Typedefs

typedef Print & manipulator(Print &)
 

Functions

Print & endl (Print &printer)
 
Print & flush (Print &printer)
 
Print & hex (Print &printer)
 
Print & bin (Print &printer)
 
Print & dec (Print &printer)
 
Print & boolalpha (Print &printer)
 
Print & noboolalpha (Print &printer)
 
Print & leadingzeros (Print &printer)
 
Print & noleadingzeros (Print &printer)
 
Print & uppercase (Print &printer)
 
Print & nouppercase (Print &printer)
 
Print & showbase (Print &printer)
 
Print & noshowbase (Print &printer)
 
Print & operator<< (Print &printer, const __FlashStringHelper *s)
 
Print & operator<< (Print &printer, const String &s)
 
Print & operator<< (Print &printer, const char s[])
 
Print & operator<< (Print &printer, char c)
 
Print & operator<< (Print &printer, unsigned char i)
 
Print & operator<< (Print &printer, int i)
 
Print & operator<< (Print &printer, unsigned int i)
 
Print & operator<< (Print &printer, int8_t i)
 
Print & operator<< (Print &printer, long i)
 
Print & operator<< (Print &printer, unsigned long i)
 
Print & operator<< (Print &printer, float f)
 
Print & operator<< (Print &printer, double d)
 
Print & operator<< (Print &printer, const Printable &p)
 
Print & operator<< (Print &printer, bool b)
 
Print & operator<< (Print &printer, manipulator pf)
 
Setbase setbase (uint8_t base)
 
Print & operator<< (Print &printer, Setbase f)
 
Setprecision setprecision (int n)
 
Print & operator<< (Print &printer, Setprecision f)
 
Setbytesep setbytesep (char bytesep)
 
Print & operator<< (Print &printer, Setbytesep f)
 
Print & operator<< (Print &p, HexDump h)
 

Class Documentation

◆ AH::Setbase

struct AH::Setbase
+ Collaboration diagram for Setbase:
Class Members
uint8_t M_base

◆ AH::Setprecision

struct AH::Setprecision
+ Collaboration diagram for Setprecision:
Class Members
int M_n

◆ AH::Setbytesep

struct AH::Setbytesep
+ Collaboration diagram for Setbytesep:
Class Members
char M_bytesep

Typedef Documentation

◆ manipulator

typedef Print & manipulator(Print &)

Definition at line 21 of file PrintStream.hpp.

Function Documentation

◆ endl()

Print & endl ( Print &  printer)

◆ flush()

Print & flush ( Print &  printer)

Definition at line 55 of file PrintStream.cpp.

◆ hex()

Print & hex ( Print &  printer)

◆ bin()

Print & bin ( Print &  printer)

Definition at line 72 of file PrintStream.cpp.

◆ dec()

Print & dec ( Print &  printer)

◆ boolalpha()

Print & boolalpha ( Print &  printer)
Examples
Quaternion.ino.

Definition at line 82 of file PrintStream.cpp.

◆ noboolalpha()

Print & noboolalpha ( Print &  printer)

Definition at line 86 of file PrintStream.cpp.

◆ leadingzeros()

Print & leadingzeros ( Print &  printer)

Definition at line 91 of file PrintStream.cpp.

◆ noleadingzeros()

Print & noleadingzeros ( Print &  printer)

Definition at line 95 of file PrintStream.cpp.

◆ uppercase()

Print & uppercase ( Print &  printer)

Definition at line 35 of file PrintStream.cpp.

◆ nouppercase()

Print & nouppercase ( Print &  printer)

Definition at line 40 of file PrintStream.cpp.

◆ showbase()

Print & showbase ( Print &  printer)

Definition at line 45 of file PrintStream.cpp.

◆ noshowbase()

Print & noshowbase ( Print &  printer)

Definition at line 50 of file PrintStream.cpp.

◆ operator<<() [1/19]

Print & operator<< ( Print &  printer,
const __FlashStringHelper *  s 
)

Definition at line 99 of file PrintStream.cpp.

◆ operator<<() [2/19]

Print & operator<< ( Print &  printer,
const String &  s 
)

Definition at line 104 of file PrintStream.cpp.

◆ operator<<() [3/19]

Print & operator<< ( Print &  printer,
const char  s[] 
)

Definition at line 109 of file PrintStream.cpp.

◆ operator<<() [4/19]

Print & operator<< ( Print &  printer,
char  c 
)

Definition at line 113 of file PrintStream.cpp.

◆ operator<<() [5/19]

Print & operator<< ( Print &  printer,
unsigned char  i 
)

Definition at line 117 of file PrintStream.cpp.

◆ operator<<() [6/19]

Print & operator<< ( Print &  printer,
int  i 
)

Definition at line 120 of file PrintStream.cpp.

◆ operator<<() [7/19]

Print & operator<< ( Print &  printer,
unsigned int  i 
)

Definition at line 121 of file PrintStream.cpp.

◆ operator<<() [8/19]

Print & operator<< ( Print &  printer,
int8_t  i 
)

Definition at line 124 of file PrintStream.cpp.

◆ operator<<() [9/19]

Print & operator<< ( Print &  printer,
long  i 
)

Definition at line 127 of file PrintStream.cpp.

◆ operator<<() [10/19]

Print & operator<< ( Print &  printer,
unsigned long  i 
)

Definition at line 128 of file PrintStream.cpp.

◆ operator<<() [11/19]

Print & operator<< ( Print &  printer,
float  f 
)

Definition at line 135 of file PrintStream.cpp.

◆ operator<<() [12/19]

Print & operator<< ( Print &  printer,
double  d 
)

Definition at line 131 of file PrintStream.cpp.

◆ operator<<() [13/19]

Print & operator<< ( Print &  printer,
const Printable &  p 
)

Definition at line 138 of file PrintStream.cpp.

◆ operator<<() [14/19]

Print & operator<< ( Print &  printer,
bool  b 
)

Definition at line 142 of file PrintStream.cpp.

◆ operator<<() [15/19]

Print & operator<< ( Print &  printer,
manipulator  pf 
)

Definition at line 150 of file PrintStream.cpp.

◆ setbase()

Setbase setbase ( uint8_t  base)

Definition at line 152 of file PrintStream.cpp.

◆ operator<<() [16/19]

Print & operator<< ( Print &  printer,
Setbase  f 
)

Definition at line 153 of file PrintStream.cpp.

◆ setprecision()

Setprecision setprecision ( int  n)
Examples
Numeric.ino, and Quaternion.ino.

Definition at line 164 of file PrintStream.cpp.

◆ operator<<() [17/19]

Print & operator<< ( Print &  printer,
Setprecision  f 
)

Definition at line 165 of file PrintStream.cpp.

◆ setbytesep()

Setbytesep setbytesep ( char  bytesep)

Definition at line 158 of file PrintStream.cpp.

◆ operator<<() [18/19]

Print & operator<< ( Print &  printer,
Setbytesep  f 
)

Definition at line 159 of file PrintStream.cpp.

◆ operator<<() [19/19]

Print & operator<< ( Print &  p,
HexDump  h 
)

Definition at line 239 of file PrintStream.cpp.