| 140 | NITF_TRE_STATIC_HANDLER_REF(USE00A) |
| 141 | |
| 142 | void register_tre_handler(NITF_PLUGIN_INIT_FUNCTION init, NITF_PLUGIN_TRE_HANDLER_FUNCTION handler) |
| 143 | { |
| 144 | nitf_Error error; |
| 145 | if (!nitf_PluginRegistry_registerTREHandler(init, handler, &error)) |
| 146 | { |
| 147 | ::nitf::NITFException ex(&error); |
| 148 | throw pdal_error(ex.toString()); |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | void register_tre_plugins() |
| 153 | { |
no test coverage detected