| 793 | } |
| 794 | |
| 795 | inline bool SetRepeatedString(const char *pszFieldName, int index, const char *value) |
| 796 | { |
| 797 | GETCHECK_FIELD(); |
| 798 | CHECK_FIELD_TYPE(STRING); |
| 799 | CHECK_FIELD_REPEATED(); |
| 800 | CHECK_REPEATED_ELEMENT(index); |
| 801 | |
| 802 | msg->GetReflection()->SetRepeatedString(msg, field, index, value); |
| 803 | |
| 804 | return true; |
| 805 | } |
| 806 | |
| 807 | inline bool AddString(const char *pszFieldName, const char *value) |
| 808 | { |