Hello,
there is a lot of stuff in my plugin object's BaseContainer, e.g. the object's name, and other irrelevant stuff. Since the object is quite complex and takes a while to calculate, I want it to rebuild only when relevant attributes have changed.
Is there a smart way already, to detect changes to certain values in a BaseContainer?
If not, I'd probably end up writing a Compare() function for two BaseContainers that accepts a BaseArray of value IDs, and compare the values of each of those IDs from the two containers.
Is there a way to get a list of all IDs defined in my object's resource header?
I found COPYFLAGS::PRIVATE_CONTAINER_COPY_DIRTY
and COPYFLAGS::PRIVATE_CONTAINER_COPY_IDENTICAL
which sound promising, but they're marked as private
and not explained in the SDK docs.
Thanks for advice!
Cheers,
Frank