I can't figure out how to bind a NodeListArray for an SDT derivative.
For ODT, this is how I would do it for a list of SDTs:
class MyODTType: public ObjectDataType { NodeListArray<MySDTType>::SdtSubNodeBindingType mylistofSDTs; void MyODTType::bindVariables() { ObjectDataType::bindVariables(); bindVariable(variable); // <--- } };
My SDTs also need to have a list of treenodes within them. Which bind macro do I use in this example?
class MySDTType: public SimpleDataType { NodeListArray<treenode>::NodePtrType mylistofnodes; void MySDTType::bind() { SimpleDataType::bind(); // What goes here? // I have tried with no success: // bindNodeListArrayAsClass(treenode, mylistofnodes); } };