| 102 | |
| 103 | template<typename B> |
| 104 | module::Encoder_RSC_sys<B>* |
| 105 | Encoder_RSC ::build(std::ostream& stream) const |
| 106 | { |
| 107 | if (this->type == "RSC_JSON") |
| 108 | return new module::Encoder_RSC_generic_json_sys<B>(this->K, this->N_cw, this->buffered, this->poly, stream); |
| 109 | if (this->type == "RSC") |
| 110 | return new module::Encoder_RSC_generic_sys<B>(this->K, this->N_cw, this->buffered, this->poly); |
| 111 | |
| 112 | throw spu::tools::cannot_allocate(__FILE__, __LINE__, __func__); |
| 113 | } |
| 114 | |
| 115 | // ==================================================================================== explicit template instantiation |
| 116 | #include "Tools/types.h" |
nothing calls this directly
no outgoing calls
no test coverage detected