added static function string_for_value_type (void) to binary struct

and adapted each instance
This commit is contained in:
Alexandra Heuschling
2021-01-05 17:50:52 +01:00
parent d835958b6b
commit 6932a33414
6 changed files with 15 additions and 3 deletions

View File

@@ -79,6 +79,7 @@ namespace OpenMesh {
return size_of();
}
static std::string string_for_value_type(void) { return "MyData"; }
static size_t store(std::ostream& _os, const value_type& _v, bool _swap=false)
{
size_t bytes;
@@ -125,6 +126,7 @@ namespace OpenMesh {
return bytes;
}
static std::string string_for_value_type(void) { return "MyMap"; }
static
size_t store(std::ostream& _os, const value_type& _v, bool _swap=false)
{