#include <iostream>
#include <fstream>
#include "streams.h"
#include "covboxes.h"
Go to the source code of this file.
Functions | |
| void | byte2hex (std::ostream &out, unsigned int byte) |
| Writes a given unsigned byte in the hexadecimal way. | |
| void | double2hex (std::ostream &out, const double &x) |
| Writes a double precision floating-point number in the hexadecimal way as bytes. | |
| void | saveCover (const tCoverBoxes< double > &cover, const char *filename) |
| Saves the given cover to a text file. | |
| template<class UnknownCover> | |
| void | saveCover (const UnknownCover &cover, const char *filename) |
| Throws an exception because of an unknown cover is to be saved. | |
This file contains the definition of a function that saves a cover to a text file.
Definition in file savecover.h.
| void byte2hex | ( | std::ostream & | out, | |
| unsigned int | byte | |||
| ) | [inline] |
Writes a given unsigned byte in the hexadecimal way.
Definition at line 51 of file savecover.h.
Referenced by double2hex().
| void double2hex | ( | std::ostream & | out, | |
| const double & | x | |||
| ) | [inline] |
Writes a double precision floating-point number in the hexadecimal way as bytes.
Definition at line 61 of file savecover.h.
References byte2hex().
Referenced by saveCover().
| void saveCover | ( | const UnknownCover & | cover, | |
| const char * | filename | |||
| ) | [inline] |
Throws an exception because of an unknown cover is to be saved.
Definition at line 139 of file savecover.h.
| void saveCover | ( | const tCoverBoxes< double > & | cover, | |
| const char * | filename | |||
| ) | [inline] |
Saves the given cover to a text file.
Definition at line 94 of file savecover.h.
References double2hex().
Referenced by henonAttractor().
1.5.3