#include <imageanalysis/ImageAnalysis/ImageHistory.h>
#include <stdcasa/variant.h>
//#include <casa/OS/Time.h>
template<class T> ImageHistory<T>::ImageHistory(
ThrowIf(! _image, "Image pointer cannot be null");
template<class T> void ImageHistory<T>::addHistory(
std::vector<String> x { history };
template<class T> void ImageHistory<T>::addHistory(
std::vector<String> x { history };
addHistory(origin.toString(), x);
template<class T> void ImageHistory<T>::addHistory(
const std::vector<std::pair<LogOrigin, String> >& history
auto& log = _image->logger();
// Make sure we can write into the history table if needed
for (const auto& el: history) {
LogMessage msg(el.second, el.first);
template<class T> void ImageHistory<T>::addHistory(
const String& origin, const std::vector<String>& history
auto lor = origin.empty()
? LogOrigin(getClass(), __func__)
auto& log = _image->logger();
// Make sure we can write into the history table if needed
for(const auto& line: history) {
LogMessage msg(line, lor);
template<class T> void ImageHistory<T>::addHistory(
const casacore::String& origin,
const std::vector<string>& history
std::vector<casacore::String> x;
for( casacore::String h: history ) {
template<class T> void ImageHistory<T>::addHistory(
const casacore::LogOrigin& origin,
const std::vector<casacore::String>& history
addHistory(origin.toString(), history);