Lines Matching refs:attr_container
90 #define SG_ATTRIBUTE(attr_name, attr_type, attr_container) \ argument
91 const attr_type& get##attr_name() const { return attr_container; } \
93 if (attr_container == v) return; \
94 attr_container = v; \
98 if (attr_container == v) return; \
99 attr_container = std::move(v); \
103 #define SG_MAPPED_ATTRIBUTE(attr_name, attr_type, attr_container) \ argument
104 attr_type get##attr_name() const { return attr_container.get##attr_name(); } \
106 if (attr_container.get##attr_name() == v) return; \
107 attr_container.set##attr_name(v); \
111 if (attr_container.get##attr_name() == v) return; \
112 attr_container.set##attr_name(std::move(v)); \