| 62 | } |
| 63 | |
| 64 | const char* PhysicalDevice::getString(const std::string& name) const |
| 65 | { |
| 66 | if (name == "name") |
| 67 | return this->name.c_str(); |
| 68 | else |
| 69 | throw Exception(Error::InvalidArgument, "unknown physical device parameter or type mismatch: '" + name + "'"); |
| 70 | } |
| 71 | |
| 72 | Data PhysicalDevice::getData(const std::string& name) const |
| 73 | { |
no test coverage detected