The Source class includes all information related to a sky source.
More...
#include <Source.h>
The Source class includes all information related to a sky source.
Definition at line 48 of file Source.h.
◆ id_type
◆ Source()
Constructor.
- Parameters
-
source_id | Source identifier |
attributeVector | Vector of shared pointers on Attribute objects |
Definition at line 60 of file Source.h.
◆ ~Source()
virtual Euclid::SourceCatalog::Source::~Source |
( |
| ) |
|
|
virtualdefault |
Virtual default destructor.
◆ getAttribute()
Get a pointer to source attribute of type T or a null pointer if the source do not contain an attribute of type T.
An example usage is
std::shared_ptr<Photometry> a_photometric_attribute = source.getAttribute<Photometry>()
where Photometry can be replaced by any other attributes.
- Returns
- The pointer to the attribute or nullptr if the attribute is not found
Definition at line 32 of file Source.h.
◆ getId()
id_type Euclid::SourceCatalog::Source::getId |
( |
| ) |
const |
|
inline |
◆ m_attribute_vector
◆ m_source_id
id_type Euclid::SourceCatalog::Source::m_source_id {} |
|
private |
The documentation for this class was generated from the following file: