Classes | |
| class | BALFileComparison |
| BAL File Comparison. More... | |
| class | BALFileReader |
| class | BALFileWriter |
| struct | HEADER |
| struct | INFOHEADER |
Functions | |
| int | WriteRGBA32Bitmap (const std::string &aFileName, const BAL::RGBA32Array &aArray, int aWidth, int aHeight) |
| Write a bitmap file, with the given array, width and height. | |
| void | GetTemporaryUnexistingFileName (const std::string &aPrefix, const std::string &aSuffix, std::string &aFileName) |
| int BALTest::WriteRGBA32Bitmap | ( | const std::string & | aFileName, | |
| const BAL::RGBA32Array & | aArray, | |||
| int | aWidth, | |||
| int | aHeight | |||
| ) |
Write a bitmap file, with the given array, width and height.
| void BALTest::GetTemporaryUnexistingFileName | ( | const std::string & | aPrefix, | |
| const std::string & | aSuffix, | |||
| std::string & | aFileName | |||
| ) |
Get a temporary file name Algorithm takes the prefix and the suffix, with a number between. For instance, if "bitmap" is prefix and ".bmp" is suffix, it tests if /tmp/bitmap1.bmp exists. It increments number up to a file that does not already exist.