| 441 | } |
| 442 | |
| 443 | bool UUID::fromString( const char* str ) |
| 444 | { |
| 445 | if( parse_token( str, ( xuuid_t* ) this ) != 0 ) |
| 446 | { |
| 447 | dMemset( this, 0, sizeof( UUID ) ); |
| 448 | return false; |
| 449 | } |
| 450 | |
| 451 | return true; |
| 452 | } |
| 453 | |
| 454 | U32 UUID::getHash() const |
| 455 | { |
no test coverage detected