Searched defs:CtrlValue (Results 1 – 1 of 1) sorted by relevance
626 struct CtrlValue { struct628 CtrlValue() : value_(), dirty_(false) {} in CtrlValue() argument629 CtrlValue(const T& value) : value_(value), dirty_(false) {} in CtrlValue() function631 void store(T value) { in store()636 const T &get() { return value_; }; in get()637 bool is_dirty() { return dirty_; }; in is_dirty()638 void clear_dirty() { dirty_ = false; }; in clear_dirty()639 void set_dirty() { dirty_ = true; }; in set_dirty()640 void reset(T value) { value_ = value; dirty_ = false; } in reset()643 bool dirty_;