9#ifndef ASG_TOOLS__ASG_COMPONENT_CONFIG_H
10#define ASG_TOOLS__ASG_COMPONENT_CONFIG_H
120 template<typename T> StatusCode
122 template<typename T> StatusCode
211#ifdef XAOD_STANDALONE
241 template<
typename T> StatusCode
242 makeComponentExpert (std::unique_ptr<T>& component,
243 const std::string& newCommand,
244 bool nestedNames, std::string prefix)
const;
248#ifndef XAOD_STANDALONE
266 bool nestedNames)
const;
Support class for PropertyMgr.
an object that stores the configuration for an AsgComponent and is able to create one from it
std::string addPrivateToolInArray(const std::string &name, AsgComponentConfig toolConfig)
the array version of addPrivateTool
std::string typeAndName() const
get type and name at the same time
std::string m_type
the value of type
StatusCode setProperty(const std::string &name, const T &value)
set the given property
std::string createPrivateToolInArray(const std::string &name, const std::string &toolType)
the array version of createPrivateTool
std::map< std::string, std::string > m_propertyValues
the map of property values
StatusCode createPrivateTool(const std::string &name, const std::string &toolType)
create a private tool of the given name and type
bool empty() const noexcept
whether all properties are unset
std::map< std::string, details::AsgComponentPrivateToolConfig > m_privateTools
the map of (private) tools to create
const std::string & name() const noexcept
the name of the component
void setType(const std::string &val_type)
set the value of type
const std::string & type() const noexcept
the type of the component
void setTypeAndName(const std::string &val_typeAndName)
set type and name at the same time
StatusCode configureComponentExpert(const std::string &prefix, bool nestedNames) const
add component configuration to configuration service (expert only)
AsgComponentConfig()=default
standard constructor
StatusCode checkTypeName(bool nestedNames) const
check that the type and name members have the correct format
AccessSubtoolData accessSubtool(const std::string &name, std::size_t split)
void setPropertyFromString(const std::string &name, const std::string &value)
set a given property from a string value
StatusCode addPrivateTool(const std::string &name, AsgComponentConfig toolConfig)
add a private tool from the given configuration
std::string m_name
the value of name
void setName(const std::string &val_name)
set the value of name
std::map< std::string, std::vector< std::string > > m_toolArrays
the map of (private) tool handle arrays to manage, and the tools they contain
std::vector< std::string > split(const std::string &s, const std::string &t=":")
=============================================================================