Initializer
init(fromChildrenOf:at:nameAttr:privateAttr:readableAttr:writableAttr:scopeAttr:)
Factory method to construct a C Type from XML with types taken from children
init(fromChildrenOf node: XMLElement, at index: Int, nameAttr: String = "name", privateAttr: String = "private", readableAttr: String = "readable", writableAttr: String = "writable", scopeAttr: String = "scope")
Parameters
node-
XMLElementwhose descendants to construct this C type from index-
Index within the siblings of the
node nameAttr-
Key for the attribute to extract the
nameproperty from privateAttr-
Key for the attribute to extract the privacy status from
readableAttr-
Key for the attribute to extract the readability status from
writableAttr-
Key for the attribute to extract the writability status from
scopeAttr-
Key for the attribute to extract the scope string from