casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::LogIO_global_functions_command Struct Reference

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

#include <LogIO.h>

List of all members.

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 276 of file LogIO.h.


Member Function Documentation

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

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