Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F520
macpatch.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
fangerau
Sep 28 2010, 4:57 PM
2010-09-28 16:57:45 (UTC+2)
Size
2 KB
Referenced Files
None
Subscribers
None
macpatch.patch
View Options
Index: Core/Code/DataManagement/mitkPropertyList.cpp
===================================================================
--- Core/Code/DataManagement/mitkPropertyList.cpp (revision 26421)
+++ Core/Code/DataManagement/mitkPropertyList.cpp (working copy)
@@ -239,38 +239,6 @@
}
}
-
-#ifndef _MSC_VER
-template <typename T>
-bool mitk::PropertyList::GetPropertyValue(const char* propertyKey, T & value) const
-{
- GenericProperty<T>* gp= dynamic_cast<GenericProperty<T>*>(GetProperty(propertyKey) );
- if ( gp != NULL )
- {
- value = gp->GetValue();
- return true;
- }
- return false;
-}
-
-template bool mitk::PropertyList::GetPropertyValue<double>(char const*, double&) const;
-template bool mitk::PropertyList::GetPropertyValue<float>(char const*, float&) const;
-template bool mitk::PropertyList::GetPropertyValue<int>(char const*, int&) const;
-template bool mitk::PropertyList::GetPropertyValue<bool>(char const*, bool&) const;
-template bool mitk::PropertyList::GetPropertyValue<mitk::Vector3D>(char const*, mitk::Vector3D&) const;
-template bool mitk::PropertyList::GetPropertyValue<mitk::Point3D>(char const*, mitk::Point3D&) const;
-template bool mitk::PropertyList::GetPropertyValue<mitk::Point4D>(char const*, mitk::Point4D&) const;
-template bool mitk::PropertyList::GetPropertyValue<mitk::Point3I>(char const*, mitk::Point3I&) const;
-
-template bool mitk::PropertyList::GetPropertyValue<mitk::FloatLookupTable>(char const*, mitk::FloatLookupTable&) const;
-template bool mitk::PropertyList::GetPropertyValue<mitk::BoolLookupTable>(char const*, mitk::BoolLookupTable&) const;
-template bool mitk::PropertyList::GetPropertyValue<mitk::IntLookupTable>(char const*, mitk::IntLookupTable&) const;
-template bool mitk::PropertyList::GetPropertyValue<mitk::StringLookupTable>(char const*, mitk::StringLookupTable&) const;
-
-
-#endif
-
-
bool mitk::PropertyList::GetBoolProperty(const char* propertyKey, bool& boolValue) const
{
return GetPropertyValue<bool>(propertyKey, boolValue);
Index: Core/Code/DataManagement/mitkPropertyList.h
===================================================================
--- Core/Code/DataManagement/mitkPropertyList.h (revision 26421)
+++ Core/Code/DataManagement/mitkPropertyList.h (working copy)
@@ -120,7 +120,6 @@
//## @return @a true property was found
template <typename T>
bool GetPropertyValue(const char* propertyKey, T & value) const
-#ifdef _MSC_VER
{
GenericProperty<T>* gp= dynamic_cast<GenericProperty<T>*>(GetProperty(propertyKey));
if ( gp != NULL )
@@ -130,9 +129,6 @@
}
return false;
}
-#else
- ;
-#endif
/**
* @brief Convenience method to access the value of a BoolProperty
File Metadata
Details
Attached
Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
498
Default Alt Text
macpatch.patch (2 KB)
Attached To
Mode
T3893: [Dashboard] dartclient failed to pass mitkBaseDataTest
Attached
Detach File
Event Timeline
fangerau
added a comment.
Sep 28 2010, 4:57 PM
2010-09-28 16:57:45 (UTC+2)
Comment Actions
CleanFix for the MacTestBug
Log In to Comment