Go to the documentation of this file.
10 template <
class DerivedT>
19 virtual DerivedT&
withName(
const std::string& name) = 0;
25 return withNames<std::vector<std::string>>(
names);
28 template <
class StringContainerT>
33 template <
class IteratorT>
36 for (
auto it = begin; it != end; ++it)
40 return dynamic_cast<DerivedT&
>(*this);
virtual DerivedT & withName(const std::string &name)=0
virtual DerivedT & withNamesStartingWith(const std::string &prefix)
DerivedT & withNames(IteratorT begin, IteratorT end)
virtual DerivedT & withNamesMatching(const std::string ®ex)=0
virtual DerivedT & withNames(const std::vector< std::string > &names)
NameSelectorOps()=default
const simox::meta::IntEnumNames names
virtual DerivedT & withNamesEndingWith(const std::string &suffix)
DerivedT & withNames(const StringContainerT &names)
virtual ~NameSelectorOps()=default
virtual DerivedT & withNamesContaining(const std::string &substring)