Arduino Filters master
Filter library for Arduino
Macros | Enumerations | Functions | Variables
PrintStream.cpp File Reference
#include "PrintStream.hpp"
+ Include dependency graph for PrintStream.cpp:

Go to the source code of this file.

Macros

#define FLUSH
 

Enumerations

enum  : char { LOWERCASE = 0x7F , UPPERCASE = 0x5F }
 

Functions

template<class T >
Print & printIntegral (Print &printer, T i)
 
Print & endl (Print &printer)
 
Print & uppercase (Print &printer)
 
Print & nouppercase (Print &printer)
 
Print & showbase (Print &printer)
 
Print & noshowbase (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 & 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, float f)
 
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)
 
Setbytesep setbytesep (char bytesep)
 
Print & operator<< (Print &printer, Setbytesep f)
 
Setprecision setprecision (int n)
 
Print & operator<< (Print &printer, Setprecision f)
 
static char nibble_to_hex (uint8_t nibble)
 
template<class T >
void printHex (Print &printer, T val)
 
template<class T >
void printBin (Print &printer, T val)
 
Print & operator<< (Print &p, HexDump h)
 

Variables

uint8_t formatPrintStream = DEC
 
bool boolalphaPrintStream = false
 
bool leadingZerosPrintStream = false
 
uint8_t precisionPrintStream = 2
 
char byteSeparatorPrintStream = '\0'
 
enum { ... }  casePrintStream = LOWERCASE
 
bool showbasePrintStream = false
 

Macro Definition Documentation

◆ FLUSH

#define FLUSH

Definition at line 9 of file PrintStream.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : char
Enumerator
LOWERCASE 
UPPERCASE 

Definition at line 21 of file PrintStream.cpp.

Function Documentation

◆ printIntegral()

Print & printIntegral ( Print &  printer,
i 
)

Definition at line 226 of file PrintStream.cpp.

◆ nibble_to_hex()

static char nibble_to_hex ( uint8_t  nibble)
static

Definition at line 170 of file PrintStream.cpp.

◆ printHex()

void printHex ( Print &  printer,
val 
)

Definition at line 181 of file PrintStream.cpp.

◆ printBin()

void printBin ( Print &  printer,
val 
)

Definition at line 199 of file PrintStream.cpp.

Variable Documentation

◆ formatPrintStream

uint8_t formatPrintStream = DEC

Definition at line 16 of file PrintStream.cpp.

◆ boolalphaPrintStream

bool boolalphaPrintStream = false

Definition at line 17 of file PrintStream.cpp.

◆ leadingZerosPrintStream

bool leadingZerosPrintStream = false

Definition at line 18 of file PrintStream.cpp.

◆ precisionPrintStream

uint8_t precisionPrintStream = 2

Definition at line 19 of file PrintStream.cpp.

◆ byteSeparatorPrintStream

char byteSeparatorPrintStream = '\0'

Definition at line 20 of file PrintStream.cpp.

◆ 

enum { ... } casePrintStream

◆ showbasePrintStream

bool showbasePrintStream = false

Definition at line 22 of file PrintStream.cpp.