SourceXtractorPlusPlus  0.11
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
SourceXtractor::LdacWriter Class Reference

#include <LdacWriter.h>

Inheritance diagram for SourceXtractor::LdacWriter:
[legend]
Collaboration diagram for SourceXtractor::LdacWriter:
[legend]

Public Member Functions

 ~LdacWriter () override=default
 
 LdacWriter (const std::string &filename, Euclid::Configuration::ConfigManager &manager)
 
void addComment (const std::string &comment) override
 
void notifySource (const SourceInterface &source)
 

Protected Member Functions

void writeImHead ()
 
void init (const Euclid::Table::Table &table) override
 
void append (const Euclid::Table::Table &table) override
 

Private Attributes

Euclid::Configuration::ConfigManagerm_config_manager
 
std::string m_filename
 
std::unique_ptr
< Euclid::Table::FitsWriter
m_objects_writer
 
std::vector< std::stringm_comments
 
DetectionImage::PixelType m_rms
 

Detailed Description

Definition at line 28 of file LdacWriter.h.

Constructor & Destructor Documentation

SourceXtractor::LdacWriter::~LdacWriter ( )
overridedefault
SourceXtractor::LdacWriter::LdacWriter ( const std::string filename,
Euclid::Configuration::ConfigManager manager 
)

Definition at line 38 of file LdacWriter.cpp.

Member Function Documentation

void SourceXtractor::LdacWriter::addComment ( const std::string comment)
overridevirtual

Implements Euclid::Table::TableWriter.

Definition at line 42 of file LdacWriter.cpp.

References std::vector< T >::emplace_back(), m_comments, and m_objects_writer.

Here is the call graph for this function:

void SourceXtractor::LdacWriter::append ( const Euclid::Table::Table table)
overrideprotectedvirtual

Implements Euclid::Table::TableWriter.

Definition at line 175 of file LdacWriter.cpp.

References m_objects_writer.

void SourceXtractor::LdacWriter::init ( const Euclid::Table::Table table)
overrideprotectedvirtual

Implements Euclid::Table::TableWriter.

Definition at line 162 of file LdacWriter.cpp.

References m_comments, m_filename, m_objects_writer, and writeImHead().

Here is the call graph for this function:

void SourceXtractor::LdacWriter::notifySource ( const SourceInterface source)

Definition at line 51 of file LdacWriter.cpp.

References SourceXtractor::SourceInterface::getProperty(), m_objects_writer, and m_rms.

Here is the call graph for this function:

void SourceXtractor::LdacWriter::writeImHead ( )
protected

Definition at line 121 of file LdacWriter.cpp.

References std::string::at(), std::vector< T >::emplace_back(), SourceXtractor::generateHeader(), SourceXtractor::generateHistory(), Euclid::Configuration::ConfigManager::getConfiguration(), m_config_manager, m_filename, and m_rms.

Referenced by init().

Here is the call graph for this function:

Member Data Documentation

std::vector<std::string> SourceXtractor::LdacWriter::m_comments
private

Definition at line 49 of file LdacWriter.h.

Referenced by addComment(), and init().

Euclid::Configuration::ConfigManager& SourceXtractor::LdacWriter::m_config_manager
private

Definition at line 46 of file LdacWriter.h.

Referenced by writeImHead().

std::string SourceXtractor::LdacWriter::m_filename
private

Definition at line 47 of file LdacWriter.h.

Referenced by init(), and writeImHead().

std::unique_ptr<Euclid::Table::FitsWriter> SourceXtractor::LdacWriter::m_objects_writer
private

Definition at line 48 of file LdacWriter.h.

Referenced by addComment(), append(), init(), and notifySource().

DetectionImage::PixelType SourceXtractor::LdacWriter::m_rms
private

Definition at line 50 of file LdacWriter.h.

Referenced by notifySource(), and writeImHead().


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