| 539 | public: |
| 540 | template <typename StatusType> |
| 541 | MessageDesc(IMaster* master, StatusType* status, unsigned count, |
| 542 | void (*setup)(StatusType*, IMetadataBuilder*)) |
| 543 | { |
| 544 | IMetadataBuilder* builder = master->getMetadataBuilder(status, count); |
| 545 | |
| 546 | setup(status, builder); |
| 547 | |
| 548 | metadata = builder->getMetadata(status); |
| 549 | |
| 550 | builder->release(); |
| 551 | } |
| 552 | |
| 553 | ~MessageDesc() |
| 554 | { |
nothing calls this directly
no test coverage detected