Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/graph/node_xml.h
| Show All 12 Lines | |||||
| * See the License for the specific language governing permissions and | * See the License for the specific language governing permissions and | ||||
| * limitations under the License. | * limitations under the License. | ||||
| */ | */ | ||||
| #pragma once | #pragma once | ||||
| #include "graph/node.h" | #include "graph/node.h" | ||||
| #include "util/util_map.h" | #include "util/map.h" | ||||
| #include "util/util_string.h" | #include "util/string.h" | ||||
| #include "util/util_xml.h" | #include "util/xml.h" | ||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| struct XMLReader { | struct XMLReader { | ||||
| map<ustring, Node *> node_map; | map<ustring, Node *> node_map; | ||||
| }; | }; | ||||
| void xml_read_node(XMLReader &reader, Node *node, xml_node xml_node); | void xml_read_node(XMLReader &reader, Node *node, xml_node xml_node); | ||||
| xml_node xml_write_node(Node *node, xml_node xml_root); | xml_node xml_write_node(Node *node, xml_node xml_root); | ||||
| CCL_NAMESPACE_END | CCL_NAMESPACE_END | ||||