12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #include "Data.h"
- Data::Data()
- {
- }
- Data::Data(const Data& orig)
- {
- }
- Data::~Data()
- {
- }
- float Data::getFloat() const
- {
- throw Exception("get float not possible");
- }
- void Data::setFloat(float f)
- {
- throw Exception("set float not possible");
- }
- bool Data::getBool() const
- {
- throw Exception("get bool not possible");
- }
- void Data::setBool(bool b)
- {
- throw Exception("set bool not possible");
- }
- string Data::getString() const
- {
- throw Exception("get string not possible");
- }
- void Data::setString(string s)
- {
- throw Exception("set string not possible");
- }
- std::ostream& operator<<(std::ostream& os, const Data& d)
- {
- d.print(os);
- return os;
- }
- void Data::print(std::ostream& os) const
- {
- os << "_no_print_";
- }
|