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

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

+ Collaboration diagram for PrintStream:

Classes

struct  Setbase
 
struct  Setprecision
 
struct  Setbytesep
 

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, 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)
 

Detailed Description

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


Class Documentation

◆ AH::Setbase

struct AH::Setbase

Definition at line 56 of file PrintStream.hpp.

+ Collaboration diagram for Setbase:
Class Members
uint8_t M_base

◆ AH::Setprecision

struct AH::Setprecision

Definition at line 62 of file PrintStream.hpp.

+ Collaboration diagram for Setprecision:
Class Members
int M_n

◆ AH::Setbytesep

struct AH::Setbytesep

Definition at line 68 of file PrintStream.hpp.

+ 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/17]

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

Definition at line 99 of file PrintStream.cpp.

◆ operator<<() [2/17]

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

Definition at line 104 of file PrintStream.cpp.

◆ operator<<() [3/17]

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

Definition at line 109 of file PrintStream.cpp.

◆ operator<<() [4/17]

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

Definition at line 113 of file PrintStream.cpp.

◆ operator<<() [5/17]

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

Definition at line 117 of file PrintStream.cpp.

◆ operator<<() [6/17]

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

Definition at line 120 of file PrintStream.cpp.

◆ operator<<() [7/17]

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

Definition at line 121 of file PrintStream.cpp.

◆ operator<<() [8/17]

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

Definition at line 124 of file PrintStream.cpp.

◆ operator<<() [9/17]

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

Definition at line 127 of file PrintStream.cpp.

◆ operator<<() [10/17]

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

Definition at line 128 of file PrintStream.cpp.

◆ operator<<() [11/17]

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

Definition at line 131 of file PrintStream.cpp.

◆ operator<<() [12/17]

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

Definition at line 135 of file PrintStream.cpp.

◆ operator<<() [13/17]

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

Definition at line 139 of file PrintStream.cpp.

◆ operator<<() [14/17]

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

Definition at line 147 of file PrintStream.cpp.

◆ setbase()

Setbase setbase ( uint8_t  base)

Definition at line 149 of file PrintStream.cpp.

◆ operator<<() [15/17]

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

Definition at line 150 of file PrintStream.cpp.

◆ setprecision()

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

Definition at line 161 of file PrintStream.cpp.

◆ operator<<() [16/17]

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

Definition at line 162 of file PrintStream.cpp.

◆ setbytesep()

Setbytesep setbytesep ( char  bytesep)

Definition at line 155 of file PrintStream.cpp.

◆ operator<<() [17/17]

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

Definition at line 156 of file PrintStream.cpp.