FastLED
3.9.15
Loading...
Searching...
No Matches
ios.h
Go to the documentation of this file.
1
#pragma once
2
#include "
fl/stl/noexcept.h
"
3
4
namespace
fl
{
5
6
// Forward declarations
7
class
ostream
;
8
class
sstream
;
9
10
//-----------------------------------------------------------------------------
11
// I/O Formatting Flags
12
//-----------------------------------------------------------------------------
13
enum class
fmtflags
{
14
dec
= 0,
// decimal base
15
hex
= 1,
// hexadecimal base
16
oct
= 2
// octal base
17
};
18
19
//-----------------------------------------------------------------------------
20
// I/O Manipulators for Stream Formatting
21
//-----------------------------------------------------------------------------
22
23
// Hexadecimal manipulator
24
struct
hex_t
{};
25
extern
const
hex_t
hex
;
26
27
ostream
&
operator<<
(
ostream
& os,
const
hex_t
&)
FL_NOEXCEPT
;
28
sstream
&
operator<<
(
sstream
& ss,
const
hex_t
&)
FL_NOEXCEPT
;
29
30
// Decimal manipulator
31
struct
dec_t
{};
32
extern
const
dec_t
dec
;
33
34
ostream
&
operator<<
(
ostream
& os,
const
dec_t
&)
FL_NOEXCEPT
;
35
sstream
&
operator<<
(
sstream
& ss,
const
dec_t
&)
FL_NOEXCEPT
;
36
37
// Octal manipulator (for completeness)
38
struct
oct_t
{};
39
extern
const
oct_t
oct
;
40
41
ostream
&
operator<<
(
ostream
& os,
const
oct_t
&)
FL_NOEXCEPT
;
42
sstream
&
operator<<
(
sstream
& ss,
const
oct_t
&)
FL_NOEXCEPT
;
43
44
}
// namespace fl
fl::ostream
Definition
ostream.h:16
fl::sstream
Definition
strstream.h:34
fl::dec
const dec_t dec
Definition
ios.cpp.hpp:7
fl::operator<<
ostream & operator<<(ostream &os, const hex_t &) FL_NOEXCEPT
Definition
ostream.cpp.hpp:49
fl::hex
const hex_t hex
Definition
ios.cpp.hpp:6
fl::oct
const oct_t oct
Definition
ios.cpp.hpp:8
fl::fmtflags
fmtflags
Definition
ios.h:13
fl
Base definition for an LED controller.
Definition
crgb.hpp:179
fl::dec_t
Definition
ios.h:31
fl::hex_t
Definition
ios.h:24
fl::oct_t
Definition
ios.h:38
noexcept.h
FL_NOEXCEPT
#define FL_NOEXCEPT
fl
stl
ios.h
Generated on Tue Jun 16 2026 00:06:59 for FastLED by
1.13.2