00001
00002
00003 #ifndef _CATEGORYCONCEPT_H
00004 #define _CATEGORYCONCEPT_H
00005 #include <boost/concept_check.hpp>
00006
00007 namespace osl
00008 {
00009 namespace category
00010 {
00014 template <class T>
00015 struct CategoryConcept
00016 {
00017 void constraints()
00018 {
00019 const char *name = T::getName();
00020 boost::ignore_unused_variable_warning(name);
00021 const int type = T::probType;
00022 boost::ignore_unused_variable_warning(type);
00023 #if 0
00024
00025 void (T::*generate)(const MockState&, int, MoveLogProbVector&)
00026 = &T::generate;
00027 #endif
00028 }
00029
00030
00031
00032 };
00033 }
00034 }
00035
00036
00037 #endif
00038
00039
00040
00041