20 f.open(fileName.c_str(), std::ofstream::out);
21 if (!f.is_open())
return false;
23 for (
unsigned int cy = 0; cy < sy; cy++)
25 for (
unsigned int cx = 0; cx < sx; cx++)
bool saveToTextFile(const std::string &fileName) const
GLsizei const GLchar ** string
std::string format(const char *fmt,...) MRPT_printf_format_check(1
A std::string version of C sprintf.
virtual float getCellAsFloat(unsigned int cx, unsigned int cy) const =0
virtual unsigned int getSizeX() const =0
virtual unsigned int getSizeY() const =0