MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenImageIO / xml_node_struct

Class xml_node_struct

src/include/pugixml.cpp:482–503  ·  view source on GitHub ↗

An XML document tree node.

Source from the content-addressed store, hash-verified

480
481 /// An XML document tree node.
482 struct xml_node_struct
483 {
484 /// Default ctor
485 /// \param type - node type
486 xml_node_struct(impl::xml_memory_page* page, xml_node_type type): header(reinterpret_cast<uintptr_t>(page) | (type - 1)), parent(0), name(0), value(0), first_child(0), prev_sibling_c(0), next_sibling(0), first_attribute(0)
487 {
488 }
489
490 uintptr_t header;
491
492 xml_node_struct* parent; ///< Pointer to parent
493
494 char_t* name; ///< Pointer to element name.
495 char_t* value; ///< Pointer to any associated string data.
496
497 xml_node_struct* first_child; ///< First child
498
499 xml_node_struct* prev_sibling_c; ///< Left brother (cyclic list)
500 xml_node_struct* next_sibling; ///< Right brother
501
502 xml_attribute_struct* first_attribute; ///< First attribute
503 };
504}
505} OIIO_NAMESPACE_EXIT
506

Callers 1

pugixml.cppFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected