MCPcopy Create free account
hub / github.com/Kitware/VTK / GetSize

Method GetSize

Utilities/DICOMParser/DICOMFile.cxx:135–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135long DICOMFile::GetSize()
136{
137 if (InputStream)
138 {
139 long curpos = this->Tell();
140
141 InputStream->seekg(0, std::ios::end);
142
143 long size = this->Tell();
144 this->SkipToPos(curpos);
145
146 return size;
147 }
148 return 0;
149}
150
151void DICOMFile::Skip(long increment)
152{

Callers 2

ReadHeaderMethod · 0.45
M_WriteMethod · 0.45

Calls 2

TellMethod · 0.95
SkipToPosMethod · 0.95

Tested by

no test coverage detected