libpromeki main
PROfessional MEdia toolKIt
 
Loading...
Searching...
No Matches
textstream.h File Reference
#include <cstdio>
#include <cstdint>
#include <promeki/core/namespace.h>
#include <promeki/core/string.h>
#include <promeki/core/variant.h>
Include dependency graph for textstream.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TextStream
 Formatted text I/O with encoding awareness. More...
 

Functions

TextStreamendl (TextStream &s)
 Writes a newline and flushes the stream.
 
TextStreamflush (TextStream &s)
 Flushes the stream.
 
TextStreamhex (TextStream &s)
 Sets integer base to 16 (hexadecimal).
 
TextStreamdec (TextStream &s)
 Sets integer base to 10 (decimal).
 
TextStreamoct (TextStream &s)
 Sets integer base to 8 (octal).
 
TextStreambin (TextStream &s)
 Sets integer base to 2 (binary).
 
TextStreamfixed (TextStream &s)
 Sets real number notation to Fixed.
 
TextStreamscientific (TextStream &s)
 Sets real number notation to Scientific.
 
TextStreamleft (TextStream &s)
 Sets field alignment to Left.
 
TextStreamright (TextStream &s)
 Sets field alignment to Right.
 
TextStreamcenter (TextStream &s)
 Sets field alignment to Center.
 

Detailed Description

See LICENSE file in the project root folder for license information.