51 #ifndef OPENMESH_SR_BINARY_HH 52 #define OPENMESH_SR_BINARY_HH 77 const static size_t UnknownSize(
size_t(-1));
84 std::ostringstream msg; \ 85 msg << "Type not supported: " << typeid(value_type).name(); \ 86 throw std::logic_error(msg.str()) 102 typedef T value_type;
104 static const bool is_streamable =
false;
106 static size_t size_of(
void) {
return UnknownSize; }
107 static size_t size_of(
const value_type&) {
return UnknownSize; }
110 size_t store( std::ostream& ,
116 size_t restore( std::istream& ,
129 #endif // OPENMESH_SR_RBO_HH defined