Common Tools.
More...
Common Tools.
Definition at line 106 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 |
Definition at line 133 of file ToolSvc.cpp.
const std::string & name() const override
Retrieve name of the service.
◆ end()
auto ToolSvc::ToolList::end |
( |
| ) |
const |
|
inline |
◆ find()
auto ToolSvc::ToolList::find |
( |
std::string_view | name, |
|
|
const IInterface * | parent ) const |
|
inline |
Definition at line 141 of file ToolSvc.cpp.
141 {
143 auto it = std::find_if(
range.first,
range.second, [&](
auto const& p ) { return p->parent() == parent; } );
144 return it !=
range.second ? *it :
nullptr;
145 }
decltype(auto) range(Args &&... args)
Zips multiple containers together to form a single range.
◆ grab()
std::vector< IAlgTool * > ToolSvc::ToolList::grab |
( |
| ) |
&& |
|
inline |
Definition at line 146 of file ToolSvc.cpp.
146 {
150 }
const std::vector< IAlgTool * > & tools() const
◆ push_back()
void ToolSvc::ToolList::push_back |
( |
IAlgTool * | tool | ) |
|
|
inline |
◆ remove()
void ToolSvc::ToolList::remove |
( |
IAlgTool * | tool | ) |
|
|
inline |
Definition at line 122 of file ToolSvc.cpp.
122 {
125 auto itm = std::find_if(
range.first,
range.second, [&](
auto const& p ) { return p == tool; } );
126 if ( itm !=
range.second )
m_map.erase( itm );
127 }
◆ size()
auto ToolSvc::ToolList::size |
( |
| ) |
const |
|
inline |
◆ m_map
◆ m_tools
std::vector<IAlgTool*> ToolSvc::ToolList::m_tools |
|
private |
The documentation for this class was generated from the following file: