- Timestamp:
- 20/11/11 00:14:27 (6 months ago)
- File:
-
- 1 edited
-
trunk/bindings/cpp/NeXusFile.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bindings/cpp/NeXusFile.cpp
r1735 r1771 56 56 NXnumtype getType(NumT number) { 57 57 stringstream msg; 58 msg << "NeXus::getType() does not know type of " << number;58 msg << "NeXus::getType() does not know type of " << typeid(number).name(); 59 59 throw Exception(msg.str()); 60 60 } 61 61 62 #ifndef _MSC_VER63 62 template<> 64 63 NXDLL_EXPORT NXnumtype getType(char number) { 65 64 return CHAR; 66 /* This causes runtime errors for getAttr(string, string). 67 stringstream msg; 68 msg << "NeXus::getType() does not know type of \"char\" " << number; 69 throw Exception(msg.str()); 70 */ 71 } 72 #endif 73 /* _MSC_VER */ 65 } 74 66 75 67 // template specialisations for types we know
Note: See TracChangeset
for help on using the changeset viewer.
