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

Function is_text_node

src/include/pugixml.cpp:3285–3290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3283 }
3284
3285 inline bool is_text_node(xml_node_struct* node)
3286 {
3287 xml_node_type type = static_cast<xml_node_type>((node->header & impl::xml_memory_page_type_mask) + 1);
3288
3289 return type == node_pcdata || type == node_cdata;
3290 }
3291
3292 // get value with conversion functions
3293 PUGI__FN int get_value_int(const char_t* value, int def)

Callers 2

child_valueMethod · 0.85
_dataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected