Alexandria
2.14.1
Please provide a description of the project.
|
Go to the documentation of this file.
39 namespace SourceCatalog {
76 const FluxErrorPair> {
81 reference operator*();
104 m_filter_name_vector_ptr(filter_name_vector_ptr), m_value_vector(
105 std::move(value_vector)) {
106 if (m_filter_name_vector_ptr ==
nullptr) {
110 if (m_filter_name_vector_ptr->size() != m_value_vector.size()) {
112 <<
"Photometry filter names vector has different size than the values vector";
122 m_value_vector.cbegin() };
127 m_value_vector.cend() };
135 return m_filter_name_vector_ptr->size();
std::shared_ptr< std::vector< std::string > > m_filter_name_vector_ptr
Shared pointer to the common list of filter names.
bool operator!=(const FluxErrorPair &other) const
std::vector< FluxErrorPair >::const_iterator m_values_iter
bool operator!=(const Euclid::SourceCatalog::Source::id_type &a, const Euclid::SourceCatalog::Source::id_type &b)
boost::variant specifies an equality operator (==), but, in older boost versions, not an inequality o...
Attribute interface extended by all source attributes.
std::vector< std::string >::const_iterator m_filters_iter
FluxErrorPair(double flux, double error, bool missing_photometry_flag=false, bool upper_limit_flag=false)
bool operator==(const FluxErrorPair &other) const
std::vector< FluxErrorPair > m_value_vector
The photometry map.
std::size_t size() const
Return the size of the photometry map.
const_iterator end() const
Photometry(std::shared_ptr< std::vector< std::string >> filter_name_vector_ptr, std::vector< FluxErrorPair > value_vector)
Constructor which should never be called directly. Use the PhotometryAttributeHandler to build Photom...
bool missing_photometry_flag
PhotometryConstIterator const_iterator
virtual ~Photometry()
default destructor
const_iterator begin() const