| 258 | } |
| 259 | |
| 260 | unsigned MetadataBuilder::addField(CheckStatusWrapper* status) |
| 261 | { |
| 262 | try |
| 263 | { |
| 264 | MutexLockGuard g(mtx, FB_FUNCTION); |
| 265 | |
| 266 | metadataError("addField"); |
| 267 | |
| 268 | msgMetadata->items.add(); |
| 269 | return msgMetadata->items.getCount() - 1; |
| 270 | } |
| 271 | catch (const Exception& ex) |
| 272 | { |
| 273 | ex.stuffException(status); |
| 274 | return ~0; |
| 275 | } |
| 276 | } |
| 277 | |
| 278 | IMessageMetadata* MetadataBuilder::getMetadata(CheckStatusWrapper* status) |
| 279 | { |
no test coverage detected