32 # error "don't have header file for stdio" 176 void FlushAllBuffers();
203 int AddChannel(std::string name);
210 bool DeleteChannel(std::string name);
217 int FindChannel(std::string name);
void OSPrintf(ENUM_OUTPUT_AREA area, ENUM_OUTPUT_LEVEL level, std::string str)
Send one string to the output device provided that the output device "accepts" the output (i...
This class handles all the output from OSSolverService, OSAmplClient and other executables derived fr...
bool setPrintLevel(ENUM_OUTPUT_AREA area, ENUM_OUTPUT_LEVEL level)
Set the print level for a particular area.
const OSSmartPtr< OSOutput > osoutput
bool setAllPrintLevels(ENUM_OUTPUT_LEVEL level)
Set the print level for all areas.
bool isAccepted(ENUM_OUTPUT_AREA area, ENUM_OUTPUT_LEVEL level)
Test if the device accepts a particular combination of print level and area (i.e., if the output should be printed)
~OSOutputChannel()
Destructor.
a class that holds information about one output channel (file, device, stream, peripheral, etc.)
void flushBuffer()
Flush output buffer.
std::string Name()
Get the name of the output channel.
Template class for Smart Pointers.
ENUM_OUTPUT_LEVEL
Enumeration for the different verbosity levels that can be used in producing output.
OSOutputChannel(std::string name)
Constructor.
ENUM_OUTPUT_AREA
Enumeration for the different areas that can produce output.