MCPcopy Create free account
hub / github.com/diasurgical/devilution / DirToString

Function DirToString

Source/mpqapi.cpp:23–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22
23const char *DirToString(std::ios::seekdir dir)
24{
25 switch (dir) {
26 case std::ios::beg:
27 return "std::ios::beg";
28 case std::ios::end:
29 return "std::ios::end";
30 case std::ios::cur:
31 return "std::ios::cur";
32 default:
33 return "invalid";
34 }
35}
36
37std::string OpenModeToString(std::ios::openmode mode)
38{

Callers 2

seekgMethod · 0.85
seekpMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected