19 lines
353 B
C++
19 lines
353 B
C++
#ifndef NALOGA0201_DIMENSION_H
|
|
#define NALOGA0201_DIMENSION_H
|
|
|
|
#include <string>
|
|
|
|
class Dimension {
|
|
private:
|
|
double width, height, depth;
|
|
public:
|
|
Dimension() = default;
|
|
Dimension(double width, double height, double depth);
|
|
~Dimension() = default;
|
|
|
|
std::string toString() const;
|
|
};
|
|
|
|
|
|
#endif //NALOGA0201_DIMENSION_H
|