| 71 | } |
| 72 | |
| 73 | Value Object::GetField(int id) const |
| 74 | { |
| 75 | if (id == 0) |
| 76 | return GetReflectionType()->GetName(); |
| 77 | else |
| 78 | BOOST_THROW_EXCEPTION(std::runtime_error("Invalid field ID.")); |
| 79 | } |
| 80 | |
| 81 | bool Object::HasOwnField(const String& field) const |
| 82 | { |