00001 #ifndef __TUTORIAL_ALPHABETA_BETA_HPP 00002 #define __TUTORIAL_ALPHABETA_BETA_HPP 00003 00004 #include <ocean/plankton/VValue.hpp> 00005 00006 #include "api.h" 00007 00019 namespace AlphaBeta 00020 { 00021 00022 // The Beta type. We don't have content here, it is just for demonstration. 00023 struct MYAPI Beta 00024 { 00025 }; 00026 00027 } 00028 00029 namespace Wizt 00030 { 00031 template <> 00032 class MYAPI VValueTrait< ::AlphaBeta::Beta> 00033 { 00034 public: 00035 00036 static bool setValueFromText( ::AlphaBeta::Beta&i, const string&s); 00037 00038 static string Text(const ::AlphaBeta::Beta&); 00039 }; 00040 } 00041 00042 00043 #endif // __TUTORIAL_ALPHABETA_BETA_HPP 00044