SourceXtractorPlusPlus
0.11
Please provide a description of the project.
SEImplementation
SEImplementation
Plugin
ExternalFlag
ExternalFlagConfig.h
Go to the documentation of this file.
1
23
#ifndef _SEIMPLEMENTATION_EXTERNALFLAGCONFIG_H
24
#define _SEIMPLEMENTATION_EXTERNALFLAGCONFIG_H
25
26
#include <vector>
27
#include "
Configuration/Configuration.h
"
28
#include "
SEFramework/Image/Image.h
"
29
30
namespace
SourceXtractor
{
31
37
class
ExternalFlagConfig
:
public
Euclid::Configuration::Configuration
{
38
39
public
:
40
41
enum class
Type
{
42
OR
,
AND
,
MIN
,
MAX
,
MOST
43
};
44
45
using
FlagInfo
=
std::pair<std::shared_ptr<FlagImage>
,
Type
>;
46
50
virtual
~ExternalFlagConfig
() =
default
;
51
52
ExternalFlagConfig
(
long
manager_id) :
Configuration
(manager_id) {}
53
54
std::map<std::string, OptionDescriptionList>
getProgramOptions
()
override
;
55
56
void
preInitialize
(
const
UserValues
& args)
override
;
57
58
void
initialize
(
const
UserValues
& args)
override
;
59
60
const
std::vector<std::pair<std::string, FlagInfo>
>&
getFlagInfoList
()
const
;
61
62
private
:
63
64
std::vector<std::pair<std::string, FlagInfo>
>
m_flag_info_list
;
65
66
67
};
/* End of ExternalFlagConfig class */
68
69
}
/* namespace SourceXtractor */
70
71
72
#endif
SourceXtractor::ExternalFlagConfig::Type::MIN
SourceXtractor::ExternalFlagConfig
Definition:
ExternalFlagConfig.h:37
Euclid::Configuration::Configuration::Configuration
Configuration(long manager_id)
SourceXtractor::ExternalFlagConfig::Type::OR
Euclid::Configuration::Configuration
SourceXtractor::ExternalFlagConfig::Type::AND
SourceXtractor::ExternalFlagConfig::getProgramOptions
std::map< std::string, OptionDescriptionList > getProgramOptions() override
Definition:
ExternalFlagConfig.cpp:53
std::map
STL class.
SourceXtractor::ExternalFlagConfig::Type
Type
Definition:
ExternalFlagConfig.h:41
Image.h
SourceXtractor::ExternalFlagConfig::m_flag_info_list
std::vector< std::pair< std::string, FlagInfo > > m_flag_info_list
Definition:
ExternalFlagConfig.h:64
SourceXtractor::ExternalFlagConfig::ExternalFlagConfig
ExternalFlagConfig(long manager_id)
Definition:
ExternalFlagConfig.h:52
SourceXtractor::ExternalFlagConfig::Type::MAX
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::ExternalFlagConfig::initialize
void initialize(const UserValues &args) override
Definition:
ExternalFlagConfig.cpp:92
SourceXtractor::ExternalFlagConfig::preInitialize
void preInitialize(const UserValues &args) override
Definition:
ExternalFlagConfig.cpp:63
SourceXtractor::ExternalFlagConfig::getFlagInfoList
const std::vector< std::pair< std::string, FlagInfo > > & getFlagInfoList() const
Definition:
ExternalFlagConfig.cpp:110
SourceXtractor::ExternalFlagConfig::~ExternalFlagConfig
virtual ~ExternalFlagConfig()=default
Destructor.
std::pair
std::vector
STL class.
SourceXtractor::ExternalFlagConfig::Type::MOST
Configuration.h
Euclid::Configuration::Configuration::UserValues
std::map< std::string, boost::program_options::variable_value > UserValues
Generated by
1.8.14