wavelength 1.0.0
Loading...
Searching...
No Matches
PrnStream.h
Go to the documentation of this file.
1#pragma once
2
9class PrnStream {
10public:
11 PrnStream() : mReserved04(0) {
12 }
13
19 virtual ~PrnStream() {
20 }
21
27 virtual void Print(const char *str) = 0;
28
35 void Printf(const char *format, ...);
36
45
54
63
71 PrnStream &operator<<(const char *str);
72
79 void Space(int count);
80
81private:
82 int mReserved04; // +0x04, cleared by the constructor and not read.
83};
Text output stream.
Definition prnstream.h:16
PrnStream & operator<<(const char *str)
Write text.
PrnStream & operator<<(char c)
Write a character.
void Space(int count)
Write spaces.
virtual ~PrnStream()
Destroy the stream.
Definition PrnStream.h:19
PrnStream & operator<<(float f)
Write a number with two decimal places.
void Printf(const char *format,...)
Format text with printf() conventions and write it.
PrnStream()
Definition PrnStream.h:11
PrnStream & operator<<(int i)
Write an integer in decimal.
virtual void Print(const char *str)=0
Write text.