Alexandria 2.31.0
SDC-CH common library for the Euclid project
|
#include <Photometry.h>
Public Types | |
using | value_t = typename std::conditional< Const, const FluxErrorPair, FluxErrorPair >::type |
using | filters_iter_t = typename std::vector< std::string >::const_iterator |
using | values_iter_t = typename std::conditional< Const, std::vector< FluxErrorPair >::const_iterator, std::vector< FluxErrorPair >::iterator >::type |
Public Member Functions | |
PhotometryIterator (const PhotometryIterator< false > &other) | |
PhotometryIterator & | operator++ () |
bool | operator== (const PhotometryIterator &other) const |
bool | operator!= (const PhotometryIterator &other) const |
reference | operator* () |
pointer | operator-> () |
ssize_t | operator- (const PhotometryIterator &other) const |
const std::string & | filterName () const |
Protected Member Functions | |
PhotometryIterator (const filters_iter_t &filters_iter, const values_iter_t &values_iter) | |
Private Attributes | |
filters_iter_t | m_filters_iter |
values_iter_t | m_values_iter |
Friends | |
class | Photometry |
Iterator class, implemented as a template to avoid repetition for const and non const iterators
Const | A boolean. If true, this will be a const iterator |
Definition at line 83 of file Photometry.h.
using Euclid::SourceCatalog::Photometry::PhotometryIterator< Const >::filters_iter_t = typename std::vector<std::string>::const_iterator |
Definition at line 91 of file Photometry.h.
using Euclid::SourceCatalog::Photometry::PhotometryIterator< Const >::value_t = typename std::conditional<Const, const FluxErrorPair, FluxErrorPair>::type |
Definition at line 87 of file Photometry.h.
Definition at line 92 of file Photometry.h.
Euclid::SourceCatalog::Photometry::PhotometryIterator< Const >::PhotometryIterator | ( | const PhotometryIterator< false > & | other | ) |
Constructor from non-const iterator
|
protected |
Constructor
filters_iter | Filter name iterator |
values_iter | FluxErrorPair iterator |
const std::string & Euclid::SourceCatalog::Photometry::PhotometryIterator< Const >::filterName | ( | ) | const |
bool Euclid::SourceCatalog::Photometry::PhotometryIterator< Const >::operator!= | ( | const PhotometryIterator< Const > & | other | ) | const |
reference Euclid::SourceCatalog::Photometry::PhotometryIterator< Const >::operator* | ( | ) |
PhotometryIterator & Euclid::SourceCatalog::Photometry::PhotometryIterator< Const >::operator++ | ( | ) |
Increment the iterator
ssize_t Euclid::SourceCatalog::Photometry::PhotometryIterator< Const >::operator- | ( | const PhotometryIterator< Const > & | other | ) | const |
pointer Euclid::SourceCatalog::Photometry::PhotometryIterator< Const >::operator-> | ( | ) |
bool Euclid::SourceCatalog::Photometry::PhotometryIterator< Const >::operator== | ( | const PhotometryIterator< Const > & | other | ) | const |
|
friend |
Definition at line 145 of file Photometry.h.
|
private |
Definition at line 148 of file Photometry.h.
|
private |
Definition at line 149 of file Photometry.h.