56 #ifndef OPENMESH_SR_BINARY_HH 57 #define OPENMESH_SR_BINARY_HH 82 const static size_t UnknownSize(
size_t(-1));
89 std::ostringstream msg; \ 90 msg << "Type not supported: " << typeid(value_type).name(); \ 91 throw std::logic_error(msg.str()) 107 typedef T value_type;
109 static const bool is_streamable =
false;
111 static size_t size_of(
void) {
return UnknownSize; }
112 static size_t size_of(
const value_type&) {
return UnknownSize; }
115 size_t store( std::ostream& ,
121 size_t restore( std::istream& ,
134 #endif // OPENMESH_SR_RBO_HH defined