()
| 248 | } |
| 249 | |
| 250 | func (self cppField) Tag() string { |
| 251 | |
| 252 | if self.parentStruct.IsCombine() { |
| 253 | tag := model.MakeTag(int32(model.FieldType_Table), self.Order) |
| 254 | |
| 255 | return fmt.Sprintf("0x%x", tag) |
| 256 | } |
| 257 | |
| 258 | return fmt.Sprintf("0x%x", self.FieldDescriptor.Tag()) |
| 259 | } |
| 260 | |
| 261 | func (self cppField) StructName() string { |
| 262 | if self.Complex == nil { |
no test coverage detected