| 39 | } |
| 40 | |
| 41 | Field ObjectType::GetFieldInfo(int id) const |
| 42 | { |
| 43 | if (id == 0) |
| 44 | return {1, "String", "type", nullptr, nullptr, 0, 0}; |
| 45 | else |
| 46 | BOOST_THROW_EXCEPTION(std::runtime_error("Invalid field ID.")); |
| 47 | } |
| 48 | |
| 49 | int ObjectType::GetFieldCount() const |
| 50 | { |
nothing calls this directly
no outgoing calls
no test coverage detected