| 397 | } |
| 398 | |
| 399 | bool mitk::DICOMImageBlockDescriptor::GetFlag( const std::string& key, bool defaultValue ) const |
| 400 | { |
| 401 | this->UpdateImageDescribingProperties(); |
| 402 | BoolProperty::ConstPointer boolProp = dynamic_cast<BoolProperty*>( this->GetProperty( key ) ); |
| 403 | if ( boolProp.IsNotNull() ) |
| 404 | { |
| 405 | return boolProp->GetValue(); |
| 406 | } |
| 407 | else |
| 408 | { |
| 409 | return defaultValue; |
| 410 | } |
| 411 | } |
| 412 | |
| 413 | void mitk::DICOMImageBlockDescriptor::SetIntProperty( const std::string& key, int value ) |
| 414 | { |
no test coverage detected