72 if (!attr || (*
this)[attr->name()])
82 for (
auto &attr:
cltn)
83 if (attr->name() ==
name)
91 for (
auto &attr:
cltn)
92 if (attr->name() ==
name)
100 for (
auto &attr:
cltn) {
101 if (attr->name() ==
name) {
103 std::swap(attr,
cltn.back());
const std::string & name() const
std::vector< elem_type >::iterator iterator
std::vector< elem_type >::const_iterator const_iterator
sc_attr_base * operator[](const std::string &name)
bool push_back(sc_attr_base *)
std::vector< sc_attr_base * > cltn
sc_attr_base * remove(const std::string &name)
const std::string & name()