| 73 | return 0; |
| 74 | } |
| 75 | PDAL_EXPORT void close() |
| 76 | { |
| 77 | flush(); |
| 78 | if (m_fstream != NULL) |
| 79 | FileUtils::closeFile(m_fstream); |
| 80 | m_fstream = NULL; |
| 81 | m_stream = NULL; |
| 82 | } |
| 83 | PDAL_EXPORT bool isOpen() const |
| 84 | { return (bool)m_stream; } |
| 85 | PDAL_EXPORT void flush() |
no test coverage detected