Common Tools.
More...
Common Tools.
Definition at line 109 of file ToolSvc.cpp.
◆ begin()
| auto ToolSvc::ToolList::begin |
( |
| ) |
const |
|
inline |
◆ contains() [1/2]
| bool ToolSvc::ToolList::contains |
( |
IAlgTool const * |
tool | ) |
const |
|
inline |
◆ contains() [2/2]
| bool ToolSvc::ToolList::contains |
( |
std::string_view |
name | ) |
const |
|
inline |
◆ end()
| auto ToolSvc::ToolList::end |
( |
| ) |
const |
|
inline |
◆ find()
| auto ToolSvc::ToolList::find |
( |
std::string_view |
name, |
|
|
const IInterface * |
parent |
|
) |
| const |
|
inline |
Definition at line 156 of file ToolSvc.cpp.
158 #ifdef __cpp_lib_generic_unordered_lookup
159 auto it = std::find_if(
range.first,
range.second, [&](
auto const& p ) { return p->parent() == parent; } );
160 return it !=
range.second ? *it :
nullptr;
163 std::find_if(
range.first,
range.second, [&](
auto const& p ) { return p.second->parent() == parent; } );
164 return it !=
range.second ? it->second :
nullptr;
◆ grab()
| std::vector<IAlgTool*> ToolSvc::ToolList::grab |
( |
| ) |
&& |
|
inline |
◆ push_back()
| void ToolSvc::ToolList::push_back |
( |
IAlgTool * |
tool | ) |
|
|
inline |
Definition at line 139 of file ToolSvc.cpp.
141 #ifdef __cpp_lib_generic_unordered_lookup
◆ remove()
| void ToolSvc::ToolList::remove |
( |
IAlgTool * |
tool | ) |
|
|
inline |
Definition at line 129 of file ToolSvc.cpp.
132 #ifdef __cpp_lib_generic_unordered_lookup
133 auto itm = std::find_if(
range.first,
range.second, [&](
auto const& p ) { return p == tool; } );
135 auto itm = std::find_if(
range.first,
range.second, [&](
auto const& p ) { return p.second == tool; } );
137 if ( itm !=
range.second )
m_map.erase( itm );
◆ size()
| auto ToolSvc::ToolList::size |
( |
| ) |
const |
|
inline |
◆ m_map
| std::unordered_multimap<std::string_view, IAlgTool*> ToolSvc::ToolList::m_map |
|
private |
◆ m_tools
| std::vector<IAlgTool*> ToolSvc::ToolList::m_tools |
|
private |
The documentation for this class was generated from the following file: