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

Method getStatus

Engine/source/core/util/zip/zipVolume.cpp:58–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57 virtual Path getName() const { return mZipFilename; }
58 virtual NodeStatus getStatus() const
59 {
60 if (mZipStream)
61 {
62 // great, Stream Status is different from FileNode Status...
63 switch (mZipStream->getStatus())
64 {
65 case Stream::Ok:
66 return FileNode::Open;
67 case Stream::EOS:
68 return FileNode::EndOfFile;
69 case Stream::IOError:
70 return FileNode::UnknownError;
71 default:
72 return FileNode::UnknownError;
73 }
74 }
75 else
76 return FileNode::Closed;
77 }
78
79 virtual bool getAttributes(Attributes* attr)
80 {

Callers 3

_initMethod · 0.45
fillBufferMethod · 0.45
fillBufferMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected