|
MADARA
3.1.8
|
Provides default versions of methods below. More...
#include <Tracked.h>
Public Member Functions | |
| void | clear_dirty () |
| Resets modification status. More... | |
| const T & | get () const |
| Get a const ref to the underlying object. More... | |
| T & | get_mut () |
| Get a non-const ref to underlying object. More... | |
| T & | get_mutable () |
| Get a non-const ref to underlying object. More... | |
| bool | is_dirty () const |
| Get modification status. More... | |
| void | modify () |
| Treat object as modified, even if it isn't. More... | |
| void | set (T val) |
| Set the underlying object, and mark as modified. More... | |
Provides default versions of methods below.
Specialize to add additional overloads for certain Ts
| void madara::knowledge::rcw::TrackedExtra< T, Impl >::clear_dirty | ( | ) |
Resets modification status.
| const T& madara::knowledge::rcw::TrackedExtra< T, Impl >::get | ( | ) | const |
Get a const ref to the underlying object.
| T& madara::knowledge::rcw::TrackedExtra< T, Impl >::get_mut | ( | ) |
Get a non-const ref to underlying object.
Immediately treat it as modified, since we don't know what the caller will do with it.
| T& madara::knowledge::rcw::TrackedExtra< T, Impl >::get_mutable | ( | ) |
Get a non-const ref to underlying object.
Immediately treat it as modified, since we don't know what the caller will do with it. Synonmym for
| bool madara::knowledge::rcw::TrackedExtra< T, Impl >::is_dirty | ( | ) | const |
Get modification status.
| void madara::knowledge::rcw::TrackedExtra< T, Impl >::modify | ( | ) |
Treat object as modified, even if it isn't.
| void madara::knowledge::rcw::TrackedExtra< T, Impl >::set | ( | T | val | ) |
Set the underlying object, and mark as modified.