blob: d8d0dde57ed1683772e2edb7ede174da81b08924 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#pragma once
#include <forstio/codec/data.hpp>
namespace saw {
namespace encode {
struct WavefrontObj {};
}
}
namespace saw{
template<typename Schema>
class data<Schema, encode::WavefrontObj> {
private:
public:
};
template<typename Schema>
class codec<Schema, encode::WavefrontObj> {
private:
template<typename ToEncode>
error_or<void> decode(data<Schema,encode::WavefrontObj>& from, data<Schema, ToEncode>& to){
return make_error<err::not_implemented>("Wavefront decode not available");
}
template<typename FromEncode>
error_or<void> encode(data<Schema,FromEncode>& from, data<Schema, encode::WavefrontObj>& to){
return make_error<err::not_implemented>("Wavefront encode not available");
}
};
}
|