casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
casa::LogFile Class Reference

#include <LogFile.h>

Public Member Functions

 LogFile (const casacore::String &filename)
 Class for operations on a log file. More...
 
virtual ~LogFile ()
 
void setAppend (const casacore::Bool a)
 
casacore::Bool open ()
 
void close () const
 
casacore::Bool write (const casacore::String &output, const casacore::Bool open=true, const casacore::Bool close=true)
 

Private Attributes

casacore::String _filename
 
casacore::Bool _append
 
casacore::Int _fileHandle
 
std::unique_ptr
< casacore::FiledesIO
_fileIO
 

Detailed Description

Definition at line 37 of file LogFile.h.

Constructor & Destructor Documentation

casa::LogFile::LogFile ( const casacore::String filename)

Class for operations on a log file.

Etymology

Image tasking

Synopsis

Class for operations on a log file

virtual casa::LogFile::~LogFile ( )
virtual

Member Function Documentation

void casa::LogFile::close ( ) const
casacore::Bool casa::LogFile::open ( )
void casa::LogFile::setAppend ( const casacore::Bool  a)
casacore::Bool casa::LogFile::write ( const casacore::String output,
const casacore::Bool  open = true,
const casacore::Bool  close = true 
)

Member Data Documentation

casacore::Bool casa::LogFile::_append
private

Definition at line 87 of file LogFile.h.

casacore::Int casa::LogFile::_fileHandle
private

Definition at line 88 of file LogFile.h.

std::unique_ptr<casacore::FiledesIO> casa::LogFile::_fileIO
private

Definition at line 89 of file LogFile.h.

casacore::String casa::LogFile::_filename
private

Definition at line 86 of file LogFile.h.


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