SourceXtractorPlusPlus
0.13
Please provide a description of the project.
|
Identifier used to set and retrieve properties. More...
#include <PropertyId.h>
Public Member Functions | |
bool | operator== (PropertyId other) const |
Equality operator is needed to be use PropertyId as key in unordered_map. More... | |
bool | operator< (PropertyId other) const |
Less than operator needed to use PropertyId as key in a std::map. More... | |
std::type_index | getTypeId () const |
unsigned int | getIndex () const |
std::string | getString () const |
Static Public Member Functions | |
template<typename T > | |
static PropertyId | create (unsigned int index=0) |
Private Member Functions | |
PropertyId (std::type_index type_id, unsigned int index) | |
Private Attributes | |
std::type_index | m_type_id |
unsigned int | m_index |
Friends | |
struct | std::hash< SourceXtractor::PropertyId > |
Identifier used to set and retrieve properties.
Definition at line 40 of file PropertyId.h.
|
inlineprivate |
Definition at line 77 of file PropertyId.h.
Referenced by create().
|
inlinestatic |
Templated factory method used to create a PropertyId based on the type of a property. An optional index parameter is used to make the distinction between several properties of the same type.
Definition at line 45 of file PropertyId.h.
References PropertyId().
|
inline |
Definition at line 70 of file PropertyId.h.
References m_index.
Referenced by SourceXtractor::GrowthCurveTaskFactory::createTask(), SourceXtractor::JacobianTaskFactory::createTask(), SourceXtractor::MeasurementFrameGroupRectangleTaskFactory::createTask(), SourceXtractor::MeasurementFrameRectangleTaskFactory::createTask(), SourceXtractor::MeasurementFrameCoordinatesTaskFactory::createTask(), SourceXtractor::MeasurementFrameTaskFactory::createTask(), SourceXtractor::MeasurementFrameImagesTaskFactory::createTask(), SourceXtractor::MeasurementFrameInfoTaskFactory::createTask(), SourceXtractor::VignetTaskFactory::createTask(), SourceXtractor::MeasurementFramePixelCentroidTaskFactory::createTask(), SourceXtractor::PsfTaskFactory::createTask(), SourceXtractor::AutoPhotometryTaskFactory::createTask(), SourceXtractor::ExternalFlagTaskFactory::createTask(), SourceXtractor::BoundaryFlagTaskFactory::createTask(), SourceXtractor::SaturateFlagTaskFactory::createTask(), and SourceXtractor::AperturePhotometryTaskFactory::createTask().
std::string SourceXtractor::PropertyId::getString | ( | ) | const |
Definition at line 36 of file PropertyId.cpp.
References m_index, m_type_id, std::type_index::name(), and std::stringstream::str().
Referenced by SourceXtractor::Prefetcher::requestProperty().
|
inline |
Definition at line 66 of file PropertyId.h.
References m_type_id.
Referenced by SourceXtractor::GrowthCurveTaskFactory::createTask(), SourceXtractor::JacobianTaskFactory::createTask(), SourceXtractor::MeasurementFrameCoordinatesTaskFactory::createTask(), SourceXtractor::MeasurementFrameImagesTaskFactory::createTask(), SourceXtractor::MeasurementFrameInfoTaskFactory::createTask(), SourceXtractor::MeasurementFrameTaskFactory::createTask(), SourceXtractor::VignetTaskFactory::createTask(), SourceXtractor::MeasurementFramePixelCentroidTaskFactory::createTask(), SourceXtractor::AutoPhotometryTaskFactory::createTask(), SourceXtractor::BoundaryFlagTaskFactory::createTask(), SourceXtractor::SaturateFlagTaskFactory::createTask(), and SourceXtractor::AperturePhotometryTaskFactory::createTask().
|
inline |
Less than operator needed to use PropertyId as key in a std::map.
Definition at line 56 of file PropertyId.h.
|
inline |
Equality operator is needed to be use PropertyId as key in unordered_map.
Definition at line 50 of file PropertyId.h.
|
friend |
Definition at line 83 of file PropertyId.h.
|
private |
Definition at line 80 of file PropertyId.h.
Referenced by getIndex(), getString(), std::hash< SourceXtractor::PropertyId >::operator()(), operator<(), and operator==().
|
private |
Definition at line 79 of file PropertyId.h.
Referenced by getString(), getTypeId(), std::hash< SourceXtractor::PropertyId >::operator()(), operator<(), and operator==().