Dear all:
I have encountered some problems when using the classad library in my application. I need to insert a list of classads into a parent classad, like the following: parent classad [ normal attribute: a = 1; classad list: b = [ [c = 1, d = 1], [c = 2, d = 2] ...] ... ] Which data structures and APIs should I use in this case? Some ideas: ExpressTree et = [ c = 1, d = 1] ExpressList el = [ [c = 1, d = 1], [c = 2, d = 2] ...] Then el will be inserted into the parent classad, but I do not know which APIs I should use. Hope anyone helps! Many thanks! regards zhangzhang |