73 if(default_flag.size() == 0 ||
name==default_flag)
76 case EDMType::INT:
return VertexVarGetterNoDefault<int>(
name);
77 case EDMType::FLOAT:
return VertexVarGetterNoDefault<float>(
name);
78 case EDMType::DOUBLE:
return VertexVarGetterNoDefault<double>(
name);
79 case EDMType::CHAR:
return VertexVarGetterNoDefault<char>(
name);
80 case EDMType::UCHAR:
return VertexVarGetterNoDefault<unsigned char>(
name);
82 throw std::logic_error(
"Unknown EDM type");
88 case EDMType::INT:
return VertexVarGetter<int>(
name, default_flag);
89 case EDMType::FLOAT:
return VertexVarGetter<float>(
name, default_flag);
90 case EDMType::DOUBLE:
return VertexVarGetter<double>(
name, default_flag);
91 case EDMType::CHAR:
return VertexVarGetter<char>(
name, default_flag);
92 case EDMType::UCHAR:
return VertexVarGetter<unsigned char>(
name, default_flag);
94 throw std::logic_error(
"Unknown EDM type");