Changeset 158
- Timestamp:
- 09/02/08 11:02:51 (16 years ago)
- Location:
- bdm
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
bdm/userinfo.cpp
r151 r158 151 151 return *(pDoc->getDocumentElement()); 152 152 } 153 154 155 template<> const TypedUserInfo<bool>& TypedUserInfo<bool>::instance = BoolUI(); 156 template<> const TypedUserInfo<int>& TypedUserInfo<int>::instance = IntUI(); 157 template<> const TypedUserInfo<double>& TypedUserInfo<double>::instance = DoubleUI(); 158 template<> const TypedUserInfo<string>& TypedUserInfo<string>::instance = StringUI(); -
bdm/userinfo.h
r157 r158 646 646 }; 647 647 648 template<> const TypedUserInfo<bool>& TypedUserInfo<bool>::instance = BoolUI();649 650 648 651 649 class IntUI: public ValuedUserInfo<int> … … 672 670 }; 673 671 674 template<> const TypedUserInfo<int>& TypedUserInfo<int>::instance = IntUI();675 672 676 673 … … 698 695 }; 699 696 700 template<> const TypedUserInfo<double>& TypedUserInfo<double>::instance = DoubleUI();701 697 702 698 class StringUI: public ValuedUserInfo<string> … … 720 716 }; 721 717 722 template<> const TypedUserInfo<string>& TypedUserInfo<string>::instance = StringUI();723 724 718 725 719 #endif // #ifndef UI_H