SourceXtractorPlusPlus
0.11
Please provide a description of the project.
SEImplementation
SEImplementation
Plugin
SourceIDs
SourceID.h
Go to the documentation of this file.
1
17
/*
18
* SourceID.h
19
*
20
* Created on: May 30, 2018
21
* Author: mschefer
22
*/
23
24
#ifndef _SEIMPLEMENTATION_PLUGIN_SOURCEIDS_SOURCEID_H_
25
#define _SEIMPLEMENTATION_PLUGIN_SOURCEIDS_SOURCEID_H_
26
27
28
#include "
SEUtils/Types.h
"
29
#include "
SEFramework/Property/Property.h
"
30
31
namespace
SourceXtractor
{
32
33
class
SourceID
:
public
Property
{
34
public
:
35
36
virtual
~SourceID
() =
default
;
37
38
SourceID
(
unsigned
int
id
,
unsigned
int
detection_id) :
m_id
(id),
m_detection_id
(detection_id) {}
39
40
int
getId
()
const
{
41
return
m_id
;
42
}
43
44
int
getDetectionId
()
const
{
45
return
m_detection_id
;
46
}
47
48
49
private
:
50
unsigned
int
m_id
;
51
unsigned
int
m_detection_id
;
52
};
53
54
}
/* namespace SourceXtractor */
55
56
57
58
#endif
/* _SEIMPLEMENTATION_PLUGIN_SOURCEIDS_SOURCEID_H_ */
SourceXtractor::SourceID::~SourceID
virtual ~SourceID()=default
SourceXtractor::SourceID::getId
int getId() const
Definition:
SourceID.h:40
SourceXtractor::Property
Base class for all Properties. (has no actual content)
Definition:
Property.h:33
Types.h
SourceXtractor::SourceID::m_id
unsigned int m_id
Definition:
SourceID.h:50
SourceXtractor::SourceID
Definition:
SourceID.h:33
SourceXtractor
Definition:
Aperture.h:30
Property.h
SourceXtractor::SourceID::SourceID
SourceID(unsigned int id, unsigned int detection_id)
Definition:
SourceID.h:38
SourceXtractor::SourceID::m_detection_id
unsigned int m_detection_id
Definition:
SourceID.h:51
SourceXtractor::SourceID::getDetectionId
int getDetectionId() const
Definition:
SourceID.h:44
Generated by
1.8.18