FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
Loading...
Searching...
No Matches
ios.h File Reference

C++-like std::iostream facilities. More...

#include <math.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include "streambuf.h"
#include "flash.h"
Include dependency graph for ios.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  streams::ios_base
 Base class for formatted streams. More...
 

Namespaces

namespace  streams
 Defines C++-like streams API, based on circular buffers for input or output.
 

Typedefs

using streams::ios = ios_base
 Alias for ios_base, allowing to write shorter code, eg ios::eofbit. More...
 

Functions

template<typename FSTREAM >
void streams::skipws (FSTREAM &stream)
 Manipulator for an input stream, which will activate whitespace discarding before formatted input operations on that stream. More...
 
template<typename FSTREAM >
void streams::noskipws (FSTREAM &stream)
 Manipulator for an input stream, which will deactivate whitespace discarding before formatted input operations on that stream. More...
 
template<typename FSTREAM >
void streams::bin (FSTREAM &stream)
 Manipulator for an output or input stream, which will set the base, used to represent (output) or interpret (input) integral numerical values, to binary. More...
 
template<typename FSTREAM >
void streams::oct (FSTREAM &stream)
 Manipulator for an output or input stream, which will set the base, used to represent (output) or interpret (input) integral numerical values, to octal. More...
 
template<typename FSTREAM >
void streams::dec (FSTREAM &stream)
 Manipulator for an output or input stream, which will set the base, used to represent (output) or interpret (input) integral numerical values, to decimal. More...
 
template<typename FSTREAM >
void streams::hex (FSTREAM &stream)
 Manipulator for an output or input stream, which will set the base, used to represent (output) or interpret (input) integral numerical values, to hexadecimal. More...
 
template<typename FSTREAM >
void streams::boolalpha (FSTREAM &stream)
 Set the ios::boolalpha format flag for stream. More...
 
template<typename FSTREAM >
void streams::noboolalpha (FSTREAM &stream)
 Clear the ios::boolalpha format flag for stream. More...
 
template<typename FSTREAM >
void streams::showbase (FSTREAM &stream)
 Set the ios::showbase format flag for stream. More...
 
template<typename FSTREAM >
void streams::noshowbase (FSTREAM &stream)
 Clear the ios::showbase format flag for stream. More...
 
template<typename FSTREAM >
void streams::showpos (FSTREAM &stream)
 Set the ios::showpos format flag for stream. More...
 
template<typename FSTREAM >
void streams::noshowpos (FSTREAM &stream)
 Clear the ios::showpos format flag for stream. More...
 
template<typename FSTREAM >
void streams::uppercase (FSTREAM &stream)
 Set the ios::uppercase format flag for stream. More...
 
template<typename FSTREAM >
void streams::nouppercase (FSTREAM &stream)
 Clear the ios::uppercase format flag for stream. More...
 
template<typename FSTREAM >
void streams::unitbuf (FSTREAM &stream)
 Set the ios::unitbuf format flag for stream. More...
 
template<typename FSTREAM >
void streams::nounitbuf (FSTREAM &stream)
 Clear the ios::unitbuf format flag for stream. More...
 
template<typename FSTREAM >
void streams::left (FSTREAM &stream)
 Set the ios::adjustfield format flag for stream to ios::left, thus adjusting next output to the left. More...
 
template<typename FSTREAM >
void streams::right (FSTREAM &stream)
 Set the ios::adjustfield format flag for stream to ios::right, thus adjusting next output to the right. More...
 
template<typename FSTREAM >
void streams::defaultfloat (FSTREAM &stream)
 Set the ios::floatfield format flag for stream to ios::defaultfloat. More...
 
template<typename FSTREAM >
void streams::fixed (FSTREAM &stream)
 Set the ios::floatfield format flag for stream to ios::fixed. More...
 
template<typename FSTREAM >
void streams::scientific (FSTREAM &stream)
 Set the ios::floatfield format flag for stream to ios::scientific. More...
 

Detailed Description

C++-like std::iostream facilities.

Definition in file ios.h.