2#include <Core/Utils/Attribs.hpp>
3#include <Core/Utils/Log.hpp>
9AttribBase::~AttribBase() {
13AttribManager::~AttribManager() {
19 m_attribsIndex.
clear();
26 for (
const auto& attr : m.m_attribs ) {
27 m_attribsIndex[attr->getName()] = m_attribs.
size();
35 for (
const auto& attr : m_attribsIndex ) {
36 if ( other.m_attribsIndex.
find( attr.first ) == other.m_attribsIndex.
cend() ) {
41 for (
const auto& attr : other.m_attribsIndex ) {
42 if ( m_attribsIndex.find( attr.first ) == m_attribsIndex.cend() ) {
return false; }
The AttribManager provides attributes management by handles.
bool hasSameAttribs(const AttribManager &other)
void copyAllAttributes(const AttribManager &m)
void clear()
clear all attribs, invalidate handles.
hepler function to manage enum as underlying types in VariableSet