14 #include "DoubleToString.hh"
15 //#include "Components.hh"
20 char* postbuffer; // just after buffer
24 uint32_t BUFFER_SIZE = 32768; // 32K
25 uint32_t POSTBUFFER_SIZE = 256;
26 void flushOnlyBuffer();
29 void writeG0(double x, double y);
30 void writeG1(double x, double y, double e);
33 BufferWrite(std::string& fileTarget);
35 friend BufferWrite& operator<<(BufferWrite& buf, const char* ch);
36 friend BufferWrite& operator<<(BufferWrite& buf, char ch);
37 friend BufferWrite& operator<<(BufferWrite& buf, std::string& str);
38 friend BufferWrite& operator<<(BufferWrite& buf, double val);