MCPcopy Create free account
hub / github.com/PDAL/PDAL / initialize

Method initialize

io/FbiReader.cpp:151–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149std::string FbiReader::getName() const { return s_info.name; }
150
151void FbiReader::initialize()
152{
153 m_istreamPtr = Utils::openFile(m_filename, true);
154 if (!m_istreamPtr)
155 throwError("Couldn't open '" + m_filename + "'.");
156
157 m_istreamPtr->seekg(0);
158
159 //read the hdr file
160 readFbiHeader(hdr.get(), m_istreamPtr);
161 hdr->dump(log());
162
163 Utils::closeFile(m_istreamPtr);
164}
165
166void FbiReader::addArgs(ProgramArgs& args)
167{

Callers

nothing calls this directly

Calls 6

readFbiHeaderFunction · 0.85
openFileFunction · 0.50
logFunction · 0.50
closeFileFunction · 0.50
getMethod · 0.45
dumpMethod · 0.45

Tested by

no test coverage detected