| 896 | } |
| 897 | |
| 898 | inline bool GetVector2D(const char *pszFieldName, Vector2D *out) |
| 899 | { |
| 900 | GETCHECK_FIELD(); |
| 901 | CHECK_FIELD_TYPE(MESSAGE); |
| 902 | CHECK_FIELD_NOT_REPEATED(); |
| 903 | |
| 904 | const CMsgVector2D &msgVec2d = (const CMsgVector2D &)msg->GetReflection()->GetMessage(*msg, field); |
| 905 | out->Init( |
| 906 | msgVec2d.x(), |
| 907 | msgVec2d.y() |
| 908 | ); |
| 909 | |
| 910 | return true; |
| 911 | } |
| 912 | |
| 913 | inline bool SetVector2D(const char *pszFieldName, Vector2D &vec) |
| 914 | { |
no test coverage detected