36 #include "PropertyDefines.hh" 40 template <>
const std::string typeName<int>() {
return "int"; }
41 template <>
const std::string typeName<unsigned int>() {
return "uint"; }
42 template <>
const std::string typeName<short>() {
return "short"; }
43 template <>
const std::string typeName<long>() {
return "long"; }
44 template <>
const std::string typeName<unsigned long>() {
return "ulong"; }
45 template <>
const std::string typeName<char>() {
return "char"; }
46 template <>
const std::string typeName<unsigned char>() {
return "uchar"; }
47 template <>
const std::string typeName<bool>() {
return "bool"; }
48 template <>
const std::string typeName<float>() {
return "float"; }
49 template <>
const std::string typeName<double>() {
return "double"; }
50 template <>
const std::string typeName<std::string>() {
return "string"; }
51 template <>
const std::string typeName<std::map<HalfEdgeHandle, int> >(){
return "map_heh_int"; }
52 template <>
const std::string typeName<std::vector<double> >(){
return "vector_double"; }
53 template <>
const std::string typeName<std::vector<VertexHandle> >(){
return "vector_vh"; }
54 template <>
const std::string typeName<std::vector<HalfFaceHandle> >(){
return "vector_hfh"; }
55 template <>
const std::string typeName<std::vector<std::vector<HalfFaceHandle> > >(){
return "vector_vector_hfh"; }
57 template <>
const std::string entityTypeName<Entity::Vertex>() {
return "VProp"; }
58 template <>
const std::string entityTypeName<Entity::HalfEdge>(){
return "HEProp"; }
59 template <>
const std::string entityTypeName<Entity::Edge>() {
return "EProp"; }
60 template <>
const std::string entityTypeName<Entity::Face>() {
return "FProp"; }
61 template <>
const std::string entityTypeName<Entity::HalfFace>(){
return "HFProp"; }
62 template <>
const std::string entityTypeName<Entity::Cell>() {
return "CProp"; }
63 template <>
const std::string entityTypeName<Entity::Mesh>() {
return "MProp"; }