Hello,
I'm very excited at the prospect of using Ice-E to replace some gsoap usage on a fairly large project. Unfortunately, I have an existing class set which has two characteristics which together, I'm afraid, make it impossible to model in Ice-E.
First, it has sequences of objects. Ice-E doesn't support sequences of classes (b/c that would imply passing classes by value, in some subtle way), so I have to model everything as structs. That's too bad, since there is a lot of inheritance that now has to be modeled through has-a relationships instead of is-a relationships. That is, a sub-class will just contain an instance of its base class with some special naming convention to indicate it's really the base class.
Second, I also have many circular class references. Since Slice doesn't allow declaring structs before implementation, this is not supported, and I'm out of luck.
Is my only option to prune the class hierarchy (we're talking over 400 classes) to avoid circular references? Would it be terribly non-trivial to hack forward declarations into the mix, given that classes already support them (and the two cases seem awfully similar)? Am I missing something?
Thanks very much,
Eric

Reply With Quote
