MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / RDF_PropertyElementList

Function RDF_PropertyElementList

xmpsdk/src/ParseRDF.cpp:784–798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

782// ws* ( propertyElt ws* )*
783
784static void
785RDF_PropertyElementList ( XMP_Node * xmpParent, const XML_Node & xmlParent, bool isTopLevel )
786{
787 XML_cNodePos currChild = xmlParent.content.begin();
788 XML_cNodePos endChild = xmlParent.content.end();
789
790 for ( ; currChild != endChild; ++currChild ) {
791 if ( (*currChild)->IsWhitespaceNode() ) continue;
792 if ( (*currChild)->kind != kElemNode ) {
793 XMP_Throw ( "Expected property element node not found", kXMPErr_BadRDF );
794 }
795 RDF_PropertyElement ( xmpParent, **currChild, isTopLevel );
796 }
797
798} // RDF_PropertyElementList
799
800
801// =================================================================================================

Callers 2

RDF_NodeElementFunction · 0.85

Calls 4

RDF_PropertyElementFunction · 0.85
IsWhitespaceNodeMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected