Searched refs:attr_container (Results 1 – 2 of 2) sorted by relevance
98 #define SG_ATTRIBUTE(attr_name, attr_type, attr_container) \ argument99 const attr_type& get##attr_name() const { return attr_container; } \101 if (attr_container == v) return; \102 attr_container = v; \106 if (attr_container == v) return; \107 attr_container = std::move(v); \111 #define SG_MAPPED_ATTRIBUTE(attr_name, attr_type, attr_container) \ argument112 attr_type get##attr_name() const { return attr_container.get##attr_name(); } \114 if (attr_container.get##attr_name() == v) return; \115 attr_container.set##attr_name(v); \[all …]