access to message's data buffer
| 213 | |
| 214 | // access to message's data buffer |
| 215 | unsigned char* getBuffer() |
| 216 | { |
| 217 | if (!buffer) |
| 218 | { |
| 219 | getMetadata(); |
| 220 | |
| 221 | createBuffer(metadata); |
| 222 | while(fieldList) |
| 223 | { |
| 224 | fieldList->linkWithMessage(buffer); |
| 225 | fieldList = fieldList->next; |
| 226 | } |
| 227 | } |
| 228 | |
| 229 | return buffer; |
| 230 | } |
| 231 | |
| 232 | private: |
| 233 | void createBuffer(Firebird::IMessageMetadata* aMeta) |
no test coverage detected