Lines Matching refs:attr_container
93 #define SG_ATTRIBUTE(attr_name, attr_type, attr_container) \ argument
94 const attr_type& get##attr_name() const { return attr_container; } \
96 if (attr_container == v) return; \
97 attr_container = v; \
101 if (attr_container == v) return; \
102 attr_container = std::move(v); \
106 #define SG_MAPPED_ATTRIBUTE(attr_name, attr_type, attr_container) \ argument
107 attr_type get##attr_name() const { return attr_container.get##attr_name(); } \
109 if (attr_container.get##attr_name() == v) return; \
110 attr_container.set##attr_name(v); \
114 if (attr_container.get##attr_name() == v) return; \
115 attr_container.set##attr_name(std::move(v)); \