casa
5.7.0-16
|
#include <ImageHistory.h>
Public Member Functions | |
ImageHistory ()=delete | |
Top level interface accessing image history data. More... | |
ImageHistory (const SPIIT image) | |
~ImageHistory () | |
destructor More... | |
void | addHistory (const casacore::String &origin, const casacore::String &history) |
add a line to the history More... | |
void | addHistory (const casacore::LogOrigin &origin, const casacore::String &history) |
void | addHistory (const casacore::String &origin, const std::vector< casacore::String > &history) |
add multiple history lines, all which have the same origin More... | |
void | addHistory (const casacore::LogOrigin &origin, const std::vector< casacore::String > &history) |
void | addHistory (const casacore::String &origin, const std::vector< string > &history) |
void | addHistory (const std::vector< std::pair< casacore::LogOrigin, casacore::String > > &history) |
void | addHistory (const std::vector< std::pair< casacore::String, casacore::String >> &history) |
void | clear () |
erase all messages. More... | |
std::vector< casacore::String > | get (casacore::Bool list) const |
std::vector< string > | getAsStdStrings (casacore::Bool list) const |
template<class U > | |
void | append (SPCIIU image) |
Append the specified image's history to this image's history. More... | |
template<class U > | |
void | append (SPIIU image) |
casacore::String | getClass () const |
casacore::LogIO & | getLogSink () |
Static Public Member Functions | |
static std::vector< std::pair < casacore::String, casacore::String > > | getApplicationHistory (const casacore::LogOrigin &origin, const casacore::String &taskname, const vector< casacore::String > ¶mNames, const vector< casac::variant > ¶mValues, const casacore::String &imageName) |
return a vector<String> containing a formatted application summary. More... | |
Private Attributes | |
const SPIIT | _image |
Definition at line 16 of file ImageHistory.h.
|
delete |
casa::ImageHistory< T >::ImageHistory | ( | const SPIIT | image | ) |
|
inline |
destructor
Definition at line 42 of file ImageHistory.h.
void casa::ImageHistory< T >::addHistory | ( | const casacore::String & | origin, |
const casacore::String & | history | ||
) |
add a line to the history
void casa::ImageHistory< T >::addHistory | ( | const casacore::LogOrigin & | origin, |
const casacore::String & | history | ||
) |
void casa::ImageHistory< T >::addHistory | ( | const casacore::String & | origin, |
const std::vector< casacore::String > & | history | ||
) |
add multiple history lines, all which have the same origin
void casa::ImageHistory< T >::addHistory | ( | const casacore::LogOrigin & | origin, |
const std::vector< casacore::String > & | history | ||
) |
void casa::ImageHistory< T >::addHistory | ( | const casacore::String & | origin, |
const std::vector< string > & | history | ||
) |
void casa::ImageHistory< T >::addHistory | ( | const std::vector< std::pair< casacore::LogOrigin, casacore::String > > & | history | ) |
void casa::ImageHistory< T >::addHistory | ( | const std::vector< std::pair< casacore::String, casacore::String >> & | history | ) |
Append the specified image's history to this image's history.
void casa::ImageHistory< T >::clear | ( | ) |
erase all messages.
Cannot be undone!
std::vector<casacore::String> casa::ImageHistory< T >::get | ( | casacore::Bool | list | ) | const |
|
static |
return a vector<String> containing a formatted application summary.
Nothing is written to them image that is useful for history writing.
std::vector<string> casa::ImageHistory< T >::getAsStdStrings | ( | casacore::Bool | list | ) | const |
|
inline |
Definition at line 99 of file ImageHistory.h.
casacore::LogIO& casa::ImageHistory< T >::getLogSink | ( | ) |
|
private |
Definition at line 105 of file ImageHistory.h.