library/src/blockclass/subclasses/BP_StringUtils.cc
// gets the next xml element or NULL if failed.
gets the next xml element or NULL if failed.
gets the next xml element or NULL if failed .
xmlNode * BP_StringUtils::xmlGetNextNodeElement()
{
	if(!this->xml_parsed_ok)
		return NULL;
	if(!this->xml_curr_node)
	{
		return NULL;
	}
	xml_curr_node = xml_curr_node->next;
	return this->xml_curr_node;
}
xmlNode * BP_StringUtils :: xmlGetNextNodeElement ( ) { if ( ! this -> xml_parsed_ok ) return NULL ; if ( ! this -> xml_curr_node ) { return NULL ; } xml_curr_node = xml_curr_node -> next ; return this -> xml_curr_node ; }
gets the next xml element or NULL if failed.
gets the next xml element or NULL if failed .
// ensure we have parsed xml // if we haven't resolved a current node by now, we can return with failure // set current node as next node // return the next node