Output Stream.
More...
#include <ostream.h>
Inherits ios.
Inherited by ArduinoOutStream, iostream, obufstream, and ofstream.
◆ ostream()
◆ do_fill()
| void ostream::do_fill |
( |
unsigned |
len | ) |
|
|
private |
◆ fill_not_left()
| void ostream::fill_not_left |
( |
unsigned |
len | ) |
|
|
private |
◆ flush()
Flushes the buffer associated with this stream. The flush function calls the sync function of the associated file.
- Returns
- A reference to the ostream object.
◆ fmtNum()
template<typename T >
| char * ostream::fmtNum |
( |
T |
n, |
|
|
char * |
ptr, |
|
|
uint8_t |
base |
|
) |
| |
|
inlineprivate |
◆ operator<<() [1/22]
| ostream & ostream::operator<< |
( |
bool |
arg | ) |
|
|
inline |
Output bool
- Parameters
-
- Returns
- the stream
◆ operator<<() [2/22]
| ostream & ostream::operator<< |
( |
char |
arg | ) |
|
|
inline |
Output character
- Parameters
-
| [in] | arg | character to output |
- Returns
- the stream
◆ operator<<() [3/22]
| ostream & ostream::operator<< |
( |
const __FlashStringHelper * |
arg | ) |
|
|
inline |
Output a string from flash using the Arduino F() macro.
- Parameters
-
| [in] | arg | pointing to flash string |
- Returns
- the stream
◆ operator<<() [4/22]
| ostream & ostream::operator<< |
( |
const char * |
arg | ) |
|
|
inline |
Output string
- Parameters
-
- Returns
- the stream
◆ operator<<() [5/22]
| ostream & ostream::operator<< |
( |
const signed char * |
arg | ) |
|
|
inline |
Output string
- Parameters
-
- Returns
- the stream
◆ operator<<() [6/22]
| ostream & ostream::operator<< |
( |
const String & |
arg | ) |
|
|
inline |
Output string
- Parameters
-
- Returns
- the stream
◆ operator<<() [7/22]
| ostream & ostream::operator<< |
( |
const unsigned char * |
arg | ) |
|
|
inline |
Output string
- Parameters
-
- Returns
- the stream
◆ operator<<() [8/22]
| ostream & ostream::operator<< |
( |
const void * |
arg | ) |
|
|
inline |
Output pointer
- Parameters
-
- Returns
- the stream
◆ operator<<() [9/22]
| ostream & ostream::operator<< |
( |
double |
arg | ) |
|
|
inline |
Output double
- Parameters
-
- Returns
- the stream
◆ operator<<() [10/22]
| ostream & ostream::operator<< |
( |
float |
arg | ) |
|
|
inline |
Output float
- Parameters
-
- Returns
- the stream
◆ operator<<() [11/22]
| ostream & ostream::operator<< |
( |
int |
arg | ) |
|
|
inline |
Output signed int
- Parameters
-
- Returns
- the stream
◆ operator<<() [12/22]
call manipulator
- Parameters
-
- Returns
- the stream
◆ operator<<() [13/22]
| ostream & ostream::operator<< |
( |
long |
arg | ) |
|
|
inline |
Output signed long
- Parameters
-
- Returns
- the stream
◆ operator<<() [14/22]
| ostream & ostream::operator<< |
( |
long long |
arg | ) |
|
|
inline |
Output signed long long
- Parameters
-
- Returns
- the stream
◆ operator<<() [15/22]
call manipulator
- Parameters
-
- Returns
- the stream
◆ operator<<() [16/22]
| ostream & ostream::operator<< |
( |
short |
arg | ) |
|
|
inline |
Output signed short
- Parameters
-
- Returns
- the stream
◆ operator<<() [17/22]
| ostream & ostream::operator<< |
( |
signed char |
arg | ) |
|
|
inline |
Output character
- Parameters
-
| [in] | arg | character to output |
- Returns
- the stream
◆ operator<<() [18/22]
| ostream & ostream::operator<< |
( |
unsigned char |
arg | ) |
|
|
inline |
Output character
- Parameters
-
| [in] | arg | character to output |
- Returns
- the stream
◆ operator<<() [19/22]
| ostream & ostream::operator<< |
( |
unsigned int |
arg | ) |
|
|
inline |
Output unsigned int
- Parameters
-
- Returns
- the stream
◆ operator<<() [20/22]
| ostream & ostream::operator<< |
( |
unsigned long |
arg | ) |
|
|
inline |
Output unsigned long
- Parameters
-
- Returns
- the stream
◆ operator<<() [21/22]
| ostream & ostream::operator<< |
( |
unsigned long long |
arg | ) |
|
|
inline |
Output unsigned long long
- Parameters
-
- Returns
- the stream
◆ operator<<() [22/22]
| ostream & ostream::operator<< |
( |
unsigned short |
arg | ) |
|
|
inline |
Output unsigned short
- Parameters
-
- Returns
- the stream
◆ put()
Puts a character in a stream.
The unformatted output function inserts the element ch. It returns *this.
- Parameters
-
- Returns
- A reference to the ostream object.
◆ putBool()
| void ostream::putBool |
( |
bool |
b | ) |
|
|
private |
◆ putChar()
| void ostream::putChar |
( |
char |
c | ) |
|
|
private |
◆ putDouble()
| void ostream::putDouble |
( |
double |
n | ) |
|
|
private |
◆ putNum() [1/5]
| void ostream::putNum |
( |
int32_t |
n | ) |
|
|
private |
◆ putNum() [2/5]
| void ostream::putNum |
( |
int64_t |
n | ) |
|
|
private |
◆ putNum() [3/5]
template<typename T >
| void ostream::putNum |
( |
T |
n, |
|
|
bool |
neg |
|
) |
| |
|
inlineprivate |
◆ putNum() [4/5]
| void ostream::putNum |
( |
uint32_t |
n | ) |
|
|
inlineprivate |
◆ putNum() [5/5]
| void ostream::putNum |
( |
uint64_t |
n | ) |
|
|
inlineprivate |
◆ putPgm()
| void ostream::putPgm |
( |
const char * |
str | ) |
|
|
private |
◆ putStr()
| void ostream::putStr |
( |
const char * |
str | ) |
|
|
private |
◆ seekp() [1/2]
Set the stream position.
- Parameters
-
| [in] | off | An offset to move the write pointer relative to way. off is a signed 32-bit int so the offset is limited to +- 2GB. |
| [in] | way | One of ios::beg, ios::cur, or ios::end. |
- Returns
- Is always *this. Failure is indicated by the state of *this.
◆ seekp() [2/2]
Set the stream position
- Parameters
-
| [in] | pos | The absolute position in which to move the write pointer. |
- Returns
- Is always *this. Failure is indicated by the state of *this.
◆ tellp()
- Returns
- the stream position
The documentation for this class was generated from the following files: