1 #ifndef _OCME_TYPE_TRAITS_ 2 #define _OCME_TYPE_TRAITS_ 3 4 #include <string> 5 #include <vcg/space/color4.h> 6 7 /* we use forward declaration and avoid useless include of the real definition which 8 is not actually used in the function 9 */ 10 //struct OFace; 11 //struct OVertex; 12 //struct GIndex; 13 // 14 // 15 //template <> 16 //struct NameOf<OFace>{ 17 // std::string operator ()(){return std::string("OFace");} 18 //}; 19 // 20 //template <> 21 //struct NameOf< OVertex >{ 22 // std::string operator ()(){return std::string("OVertex");} 23 //}; 24 // 25 //template <> 26 //struct NameOf< GIndex >{ 27 // std::string operator ()(){return std::string("GIndex");} 28 //}; 29 // 30 //template <> 31 //struct NameOf< vcg::Color4b >{ 32 // std::string operator ()(){return std::string("Color4b");} 33 //}; 34 35 #endif 36