Itasca C++ Interface
Loading...
Searching...
No Matches
itextoutput.h
1#pragma once
2
3namespace shared {
4 class IStream;
5}
6
7namespace itasca {
14 public:
17 virtual void setLocalPaginationOn(const string &name) = 0; // no exception
19 virtual void setLocalPaginationOff() = 0; // no exception
21 virtual void setRecordHeader(bool b) = 0; // no exception
23 virtual void setHeader(const string &s) = 0; // no exception
25 virtual void sendOutput(const string &s) = 0; // exception on quit, pagination, or interrupt.
27 virtual shared::IStream *getStream() = 0; // no exception, however sending output to the device
28 // may throw exception on quit, pagination, or interrupt.
29 };
30} // namespace itasca
31// EOF
Provides a interface for simple writing of text.
Definition itextoutput.h:13
virtual void setHeader(const string &s)=0
Sets header to the string s.
virtual void setRecordHeader(bool b)=0
Turns on or off the header recording.
virtual void setLocalPaginationOff()=0
Turn off the local pagination.
virtual void setLocalPaginationOn(const string &name)=0
virtual void sendOutput(const string &s)=0
Sends output directly to the output device. Throws exception on quit, pagination or interrupt.
virtual shared::IStream * getStream()=0
Retrieves the underlying device implementation.
namespace Itasca
Definition basememory.cpp:14