|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef ASG_TOOLS__ASG_COMPONENT_CONFIG_H
10 #define ASG_TOOLS__ASG_COMPONENT_CONFIG_H
162 const std::
string& toolType);
190 const std::
string& toolType);
208 #ifdef XAOD_STANDALONE
239 makeComponentExpert (std::unique_ptr<T>& component,
240 const std::string& newCommand,
241 bool nestedNames, std::string
prefix)
const;
245 #ifndef XAOD_STANDALONE
263 bool nestedNames)
const;
an object that stores the configuration for an AsgComponent and is able to create one from it
void setType(const std::string &val_type)
set the value of type
bool empty() const noexcept
whether all properties are unset
std::map< std::string, std::string > m_propertyValues
the map of property values
std::string m_name
the value of name
bool const RAWDATA *ch2 const
std::map< std::string, std::vector< std::string > > m_toolArrays
the map of (private) tool handle arrays to manage, and the tools they contain
AsgComponentConfig()=default
standard constructor
std::string m_type
the value of type
StatusCode checkTypeName(bool nestedNames) const
check that the type and name members have the correct format
::StatusCode StatusCode
StatusCode definition for legacy code.
std::string addPrivateToolInArray(const std::string &name, AsgComponentConfig toolConfig)
the array version of addPrivateTool
const std::string & type() const noexcept
the type of the component
std::string createPrivateToolInArray(const std::string &name, const std::string &toolType)
the array version of createPrivateTool
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)
void setName(const std::string &val_name)
set the value of name
StatusCode setProperty(const std::string &name, const T &value)
set the given property
std::string typeAndName() const
get type and name at the same time
void setPropertyFromString(const std::string &name, const std::string &value)
set a given property from a string value
const std::string & name() const noexcept
the name of the component
StatusCode addPrivateTool(const std::string &name, AsgComponentConfig toolConfig)
add a private tool from the given configuration
AccessSubtoolData accessSubtool(const std::string &name, std::size_t split)
StatusCode createPrivateTool(const std::string &name, const std::string &toolType)
create a private tool of the given name and type
std::map< std::string, details::AsgComponentPrivateToolConfig > m_privateTools
the map of (private) tools to create