
#include "Util/Assert.H"#include "Util/Types.H"#include <string>
Go to the source code of this file.
Classes | |
| class | Dims |
| A simple struct to hold a pair of width/height dimensions. More... | |
Functions | |
| std::string | convertToString (const Dims &val) |
| Dims overload: format is "<int>x<int>". | |
| void | convertFromString (const std::string &str, Dims &val) |
| Dims overload: format is "<int>x<int>". | |
| Dims | operator+ (const Dims &d1, const Dims &d2) |
| Dims+Dims addition. | |
| Dims | operator+ (const Dims &d, int a) |
| Dims+int addition. | |
| Dims | operator+ (int a, const Dims &d) |
| int+Dims addition | |
| Dims | operator- (const Dims &d, int a) |
| Dims-int subtraction. | |
| Dims | operator* (const Dims &d, int factor) |
| Dims*int multiplication. | |
| Dims | operator* (const Dims &d, double factor) |
| Dims*double multiplication. | |
| Dims | operator* (int factor, const Dims &d) |
| int*Dims multiplication | |
| Dims | operator* (double factor, const Dims &d) |
| double*Dims multiplication | |
| Dims | operator/ (const Dims &d, int factor) |
| Dims/int division. | |
| Dims | operator/ (const Dims &d, double factor) |
| Dims/double division. | |
A simple struct to hold a pair of width/height dimensions.
Definition in file Dims.H.
| void convertFromString | ( | const std::string & | str, | |
| Dims & | val | |||
| ) |
| std::string convertToString | ( | const Dims & | val | ) |
1.6.3