Skip to content

Conversation

@mpictor
Copy link
Member

@mpictor mpictor commented Dec 26, 2014

looking up inverse attributes (lazy_refs.h) is non-trivial, and figuring out how to took a while. once I got that mostly working, I discovered that it would not work for complex instances because they work differently than I thought. I had to rewrite quite a bit of code, and ended up moving all inverse attr's into a std::map that is a member of SDAI_Application_instance. This allows them to be used for normal instances as well as complex instances.

this will allow access to inverse attr values even with late binding, and is necessary to
set these attr values when the instances are being loaded
is populated with inverse attrs, setters, getters
this is so that lazyInstMgr functions will be called when necessary
@mpictor mpictor modified the milestone: v0.8 release Dec 26, 2014
mpictor added a commit that referenced this pull request Dec 26, 2014
@mpictor mpictor merged commit 953021e into master Dec 26, 2014
@mpictor mpictor deleted the review/inverse-attributes branch December 26, 2014 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants