COSA
An Object-Oriented Platform for Arduino Programming
IOStream.hh File Reference
#include "Cosa/Types.h"
Include dependency graph for IOStream.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IOStream
 
class  IOStream::Device
 

Functions

IOStreambcd (IOStream &outs)
 
IOStreambin (IOStream &outs)
 
IOStreamoct (IOStream &outs)
 
IOStreamdec (IOStream &outs)
 
IOStreamhex (IOStream &outs)
 
IOStreamtab (IOStream &outs)
 
IOStreamendl (IOStream &outs)
 
IOStreamends (IOStream &outs)
 
IOStreamclear (IOStream &outs)
 
IOStreamflush (IOStream &outs)
 

Detailed Description

Version
1.0

License

Copyright (C) 2012-2015, Mikael Patel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

This file is part of the Arduino Che Cosa project.

Definition in file IOStream.hh.

Function Documentation

IOStream& bcd ( IOStream outs)
inline

Set current base to bcd for next operator print.

Parameters
[in]outsstream.
Returns
iostream.

Definition at line 745 of file IOStream.hh.

IOStream& bin ( IOStream outs)
inline

Set current base to binary(2) for next operator print.

Parameters
[in]outsstream.
Returns
iostream.

Definition at line 757 of file IOStream.hh.

IOStream& clear ( IOStream outs)
inline

Print form feed ''; new page/clear screen

Parameters
[in]outsstream.
Returns
iostream.

Definition at line 841 of file IOStream.hh.

IOStream& dec ( IOStream outs)
inline

Set current base to deciaml(10) for next operator print.

Parameters
[in]outsstream.
Returns
iostream.

Definition at line 781 of file IOStream.hh.

IOStream& endl ( IOStream outs)
inline

Print carriage-return-line-feed.

Parameters
[in]outsstream.
Returns
iostream.

Definition at line 817 of file IOStream.hh.

IOStream& ends ( IOStream outs)
inline

Print end of string '\0'; null character

Parameters
[in]outsstream.
Returns
iostream.

Definition at line 829 of file IOStream.hh.

IOStream& flush ( IOStream outs)
inline

Flush buffer to device.

Parameters
[in]outsstream.
Returns
iostream.

Definition at line 853 of file IOStream.hh.

IOStream& hex ( IOStream outs)
inline

Set current base to hexadecimal(16) for next operator print.

Parameters
[in]outsstream to set base.
Returns
iostream.

Definition at line 793 of file IOStream.hh.

IOStream& oct ( IOStream outs)
inline

Set current base to octal(8) for next operator print.

Parameters
[in]outsstream.
Returns
iostream.

Definition at line 769 of file IOStream.hh.

IOStream& tab ( IOStream outs)
inline

Print horizontal tab ''.

Parameters
[in]outsstream.
Returns
iostream.

Definition at line 805 of file IOStream.hh.