MCPcopy Create free account
hub / github.com/assimp/assimp / to_string

Function to_string

code/AssetLib/Ply/PlyParser.cpp:56–71  ·  view source on GitHub ↗

------------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

54
55// ------------------------------------------------------------------------------------------------
56static std::string to_string(EElementSemantic e) {
57 switch (e) {
58 case EEST_Vertex:
59 return std::string{ "vertex" };
60 case EEST_TriStrip:
61 return std::string{ "tristrips" };
62 case EEST_Edge:
63 return std::string{ "edge" };
64 case EEST_Material:
65 return std::string{ "material" };
66 case EEST_TextureFile:
67 return std::string{ "TextureFile" };
68 default:
69 return std::string{ "invalid" };
70 }
71}
72
73// ------------------------------------------------------------------------------------------------
74EDataType Property::ParseDataType(std::vector<char> &buffer) {

Callers 15

FillAnimListMethod · 0.85
dumpAllocationsMethod · 0.85
dumpMethod · 0.85
SetVectorMethod · 0.85
SetIntMethod · 0.85
SetFloatMethod · 0.85
SetBoolMethod · 0.85
AddDracoGenericsMethod · 0.85
ValidateMethod · 0.85
TestGoldenMethod · 0.85
AnyOfStringMatchesFunction · 0.85

Calls

no outgoing calls

Tested by 3

TestGoldenMethod · 0.68
AnyOfStringMatchesFunction · 0.68
AddIntToStringFunction · 0.68