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

Function validateFilename

pdal/FlexWriter.hpp:55–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 Scaling m_scaling;
54
55 void validateFilename(PointTableRef table)
56 {
57 if (!table.supportsView() && (filename().find('#') != std::string::npos))
58 {
59 std::ostringstream oss;
60 oss << getName() << ": Can't write with template-based "
61 "filename using streaming point table.";
62 throw pdal_error(oss.str());
63 }
64 }
65
66private:
67 std::string::size_type m_hashPos;

Callers 2

preparedMethod · 0.85
preparedMethod · 0.85

Calls 3

strMethod · 0.80
getNameFunction · 0.50
findMethod · 0.45

Tested by

no test coverage detected