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

Method OStreamMarker

pdal/util/OStream.hpp:305–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303{
304public:
305 PDAL_EXPORT OStreamMarker(OStream& stream) : m_stream(stream)
306 {
307 if (m_stream.isOpen())
308 m_pos = m_stream.position();
309 else
310 m_pos = 0;
311 }
312
313 PDAL_EXPORT void mark()
314 { m_pos = m_stream.position(); }

Callers

nothing calls this directly

Calls 2

isOpenMethod · 0.45
positionMethod · 0.45

Tested by

no test coverage detected