SourceXtractorPlusPlus
0.16
Please provide a description of the project.
SEImplementation
SEImplementation
Plugin
SourceFlags
SourceFlags.h
Go to the documentation of this file.
1
17
/*
18
* Copyright (C) 2012-2020 Euclid Science Ground Segment
19
*
20
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General
21
* Public License as published by the Free Software Foundation; either version 3.0 of the License, or (at your option)
22
* any later version.
23
*
24
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
25
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
26
* details.
27
*
28
* You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to
29
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
30
*/
31
39
#ifndef _SEIMPLEMENTATION_PLUGIN_SOURCEFLAGS_H_
40
#define _SEIMPLEMENTATION_PLUGIN_SOURCEFLAGS_H_
41
42
#include "
SEFramework/Property/Property.h
"
43
#include "
SEFramework/Source/SourceFlags.h
"
44
#include <vector>
45
46
namespace
SourceXtractor
{
47
48
class
SourceFlags
:
public
Property
{
49
public
:
50
51
virtual
~SourceFlags
() =
default
;
52
explicit
SourceFlags
(
const
std::vector<Flags>
&
source_flags
) :
m_source_flags
(
source_flags
) {}
53
54
std::vector<Flags>
getSourceFlags
()
const
{
55
return
m_source_flags
;
56
}
57
58
private
:
59
std::vector<Flags>
m_source_flags
;
60
};
// end of SourceFlags class
61
62
}
// namespace SourceXtractor
63
64
#endif
/* _SEIMPLEMENTATION_PLUGIN_SOURCEFLAGS_H_*/
Property.h
SourceFlags.h
SourceXtractor::Property
Base class for all Properties. (has no actual content)
Definition:
Property.h:33
SourceXtractor::SourceFlags
Definition:
SourceFlags.h:48
SourceXtractor::SourceFlags::~SourceFlags
virtual ~SourceFlags()=default
SourceXtractor::SourceFlags::m_source_flags
std::vector< Flags > m_source_flags
Definition:
SourceFlags.h:59
SourceXtractor::SourceFlags::getSourceFlags
std::vector< Flags > getSourceFlags() const
Definition:
SourceFlags.h:54
SourceXtractor::SourceFlags::SourceFlags
SourceFlags(const std::vector< Flags > &source_flags)
Definition:
SourceFlags.h:52
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::source_flags
static StaticPlugin< SourceFlagsPlugin > source_flags
Definition:
SourceFlagsPlugin.cpp:43
std::vector< Flags >
Generated by
1.9.1