00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 #ifndef MLN_TRAIT_ACCUMULATOR_PROPS_HH
00027 # define MLN_TRAIT_ACCUMULATOR_PROPS_HH
00028 
00032 
00033 # include <string>
00034 
00035 
00036 namespace mln
00037 {
00038 
00039   namespace trait 
00040   {
00041 
00042     namespace accumulator
00043     {
00044 
00045       
00046 
00047       struct has_untake
00048       {
00049         struct any { protected: any() {}; };
00050         struct no : any { std::string name() const { return "has_untake::no"; } };
00051         struct yes : any { std::string name() const { return "has_untake::yes"; } };
00052       };
00053 
00054       struct has_stop
00055       {
00056         struct any { protected: any() {}; };
00057         struct no : any { std::string name() const { return "has_stop::no"; } };
00058         struct yes : any { std::string name() const { return "has_stop::yes"; } };
00059       };
00060 
00061       struct has_set_value
00062       {
00063         struct any { protected: any() {}; };
00064         struct no : any { std::string name() const { return "has_set_value::no"; } };
00065         struct yes : any { std::string name() const { return "has_set_value::yes"; } };
00066       };
00067 
00068       
00069       struct when_pix
00070       {
00071         struct any { protected: any() {}; };
00072         struct use_v : any { std::string name() const { return "when_pix::use_v"; } };
00073         struct use_p : any { std::string name() const { return "when_pix::use_p"; } };
00074         struct use_pix  : any { std::string name() const { return "when_pix::use_pix"; } };
00075         struct use_none : any { std::string name() const { return "when_pix::use_none"; } };
00076         struct not_ok : any { std::string name() const { return "when_pix::not_ok"; } };
00077       };
00078 
00079     } 
00080 
00081   } 
00082 
00083 } 
00084 
00085 
00086 #endif // ! MLN_TRAIT_ACCUMULATOR_PROPS_HH