| 400 | |
| 401 | |
| 402 | const TiXmlNode* TiXmlNode::IterateChildren( const TiXmlNode* previous ) const |
| 403 | { |
| 404 | if ( !previous ) |
| 405 | { |
| 406 | return FirstChild(); |
| 407 | } |
| 408 | else |
| 409 | { |
| 410 | assert( previous->parent == this ); |
| 411 | return previous->NextSibling(); |
| 412 | } |
| 413 | } |
| 414 | |
| 415 | |
| 416 | const TiXmlNode* TiXmlNode::IterateChildren( const char * val, const TiXmlNode* previous ) const |