| 393 | |
| 394 | #ifdef VALIDATE_BASIC |
| 395 | bool NodeImpl::_verifyPathNameAbsolute( const ustring &inPathName ) |
| 396 | { |
| 397 | checkImageFileOpen( __FILE__, __LINE__, static_cast<const char *>( __FUNCTION__ ) ); |
| 398 | |
| 399 | // Parse to determine if pathName is absolute |
| 400 | bool isRelative = false; |
| 401 | std::vector<ustring> fields; |
| 402 | ImageFileImplSharedPtr imf( destImageFile_ ); |
| 403 | |
| 404 | imf->pathNameParse( inPathName, isRelative, |
| 405 | fields ); // throws if bad pathName |
| 406 | |
| 407 | // If not an absolute path name, have error |
| 408 | if ( isRelative ) |
| 409 | { |
| 410 | throw E57_EXCEPTION2( ErrorBadPathName, |
| 411 | "this->pathName=" + this->pathName() + " pathName=" + inPathName ); |
| 412 | } |
| 413 | |
| 414 | return false; |
| 415 | } |
| 416 | #endif |
| 417 | |
| 418 | NodeImplSharedPtr NodeImpl::_verifyAndGetRoot() |
nothing calls this directly
no test coverage detected