casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casacore::LogIO_global_functions_command Struct Reference

Functions to send commands to a LogIO object. More...

#include <LogIO.h>

Public Member Functions

LogIOoperator<< (LogIO &os, LogIO::Command item)
 
LogIOoperator<< (LogIO &os, const SourceLocation *item)
 
LogIOoperator<< (LogIO &os, const LogOrigin &OR)
 

Detailed Description

Functions to send commands to a LogIO object.

The following commands don't change the accumulated message, rather they send commands to the LogIO object, either to:

  1. post the current message: os << "message" << LogIO::POST;
  2. post the current message and then throw an exception: os << "error" << LogIO::EXCEPTION;
  3. Change the priority of the current message: os << LogIO::DEBUGGING;
  4. Change the origin of the message:
    os << LogOrigin(...);
    os << WHERE; // Changes only source file/line number

Definition at line 277 of file LogIO.h.

Member Function Documentation

LogIO& casacore::LogIO_global_functions_command::operator<< ( LogIO os,
LogIO::Command  item 
)
LogIO& casacore::LogIO_global_functions_command::operator<< ( LogIO os,
const SourceLocation *  item 
)
LogIO& casacore::LogIO_global_functions_command::operator<< ( LogIO os,
const LogOrigin OR 
)

The documentation for this struct was generated from the following file: