| 924 | } |
| 925 | |
| 926 | inline bool GetRepeatedVector2D(const char *pszFieldName, int index, Vector2D *out) |
| 927 | { |
| 928 | GETCHECK_FIELD(); |
| 929 | CHECK_FIELD_TYPE(MESSAGE); |
| 930 | CHECK_FIELD_REPEATED(); |
| 931 | CHECK_REPEATED_ELEMENT(index); |
| 932 | |
| 933 | const CMsgVector2D &msgVec2d = (const CMsgVector2D &)msg->GetReflection()->GetRepeatedMessage(*msg, field, index); |
| 934 | out->Init( |
| 935 | msgVec2d.x(), |
| 936 | msgVec2d.y() |
| 937 | ); |
| 938 | |
| 939 | return true; |
| 940 | } |
| 941 | |
| 942 | inline bool SetRepeatedVector2D(const char *pszFieldName, int index, Vector2D &vec) |
| 943 | { |
no test coverage detected