Changeset 549 for XIOS/trunk/src/type/type_util.hpp
- Timestamp:
- 01/26/15 14:39:26 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/type/type_util.hpp
r501 r549 5 5 namespace xios 6 6 { 7 class CDomain 7 class CDomain; 8 8 class CDomainGroup; 9 9 class CField; … … 17 17 class CContext; 18 18 class CContextGroup; 19 class CVariable ; 20 class CVariableGroup ; 21 22 template <typename T> inline string getStrType(void) ; 23 24 #define macro(T) template <> inline string getStrType<T>(void) { return std::string(#T) ; } 19 class CCalendarWrapper; 20 class CVariable; 21 class CVariableGroup; 22 23 template <typename T> inline string getStrType(void); 24 25 #define macro(T) template <> inline string getStrType<T>(void) { return std::string(#T); } 25 26 26 27 macro(short) … … 38 39 macro(bool) 39 40 #undef macro 40 41 #define macro(T) template <> inline string getStrType<T>(void) { return std::string(#T) 41 42 #define macro(T) template <> inline string getStrType<T>(void) { return std::string(#T); } 42 43 macro(CDomain) 43 44 macro(CDomainGroup) … … 52 53 macro(CContext) 53 54 macro(CContextGroup) 55 macro(CCalendarWrapper) 54 56 macro(CVariable) 55 57 macro(CVariableGroup) 56 57 58 58 59 #undef macro 59 60 60 } 61 61
Note: See TracChangeset
for help on using the changeset viewer.