Plaquette
 
Loading...
Searching...
No Matches
pq_print.h
1/*
2 * pq_print.h
3 *
4 * Print functions for Plaquette.
5 *
6 * (c) 2015 Sofian Audry :: info(@)sofianaudry(.)com
7 * (c) 2015 Thomas O Fredericks :: tof(@)t-o-f(.)info
8 *
9 * This program is free software: you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation, either version 3 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program. If not, see <http://www.gnu.org/licenses/>.
21 */
22
23#ifndef PQ_PRINT_H_
24#define PQ_PRINT_H_
25
26#if (defined(ARDUINO) && ARDUINO >= 100) || defined(EPOXY_DUINO)
27#include <Arduino.h>
28#else
29#include <WProgram.h>
30#endif
31
32namespace pq {
33
34size_t print(const __FlashStringHelper *);
35size_t print(const String &);
36size_t print(const char[]);
37size_t print(char);
38size_t print(unsigned char, int = DEC);
39size_t print(int, int = DEC);
40size_t print(unsigned int, int = DEC);
41size_t print(long, int = DEC);
42size_t print(unsigned long, int = DEC);
43size_t print(double, int = 2);
44size_t print(const Printable&);
45
46size_t println(const __FlashStringHelper *);
47size_t println(const String &s);
48size_t println(const char[]);
49size_t println(char);
50size_t println(unsigned char, int = DEC);
51size_t println(int, int = DEC);
52size_t println(unsigned int, int = DEC);
53size_t println(long, int = DEC);
54size_t println(unsigned long, int = DEC);
55size_t println(double, int = 2);
56size_t println(const Printable&);
57size_t println(void);
58
59} // namespace pq
60
61#endif