MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getStatus

Method getStatus

Engine/source/core/stream/streamObject.cpp:84–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82//-----------------------------------------------------------------------------
83
84const char * StreamObject::getStatus()
85{
86 if(mStream == NULL)
87 return "";
88
89 switch(mStream->getStatus())
90 {
91 case Stream::Ok:
92 return "Ok";
93 case Stream::IOError:
94 return "IOError";
95 case Stream::EOS:
96 return "EOS";
97 case Stream::IllegalCall:
98 return "IllegalCall";
99 case Stream::Closed:
100 return "Closed";
101 case Stream::UnknownError:
102 return "UnknownError";
103
104 default:
105 return "Invalid";
106 }
107}
108
109//-----------------------------------------------------------------------------
110

Callers 1

streamObject.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected