add function to access current writer version

This commit is contained in:
Max Lyon
2018-10-23 11:20:41 +02:00
parent 6ca8816c29
commit f8b906c2d9

View File

@@ -111,10 +111,10 @@ public:
bool write(std::ostream&, BaseExporter&, Options, std::streamsize _precision = 6) const; bool write(std::ostream&, BaseExporter&, Options, std::streamsize _precision = 6) const;
size_t binary_size(BaseExporter& _be, Options _opt) const; size_t binary_size(BaseExporter& _be, Options _opt) const;
static OMFormat::uint8 get_version() { return version_; }
protected: protected: