add binary for handles and add string recognition support for meshhandle

This commit is contained in:
Alexandra Heuschling
2021-01-06 23:30:31 +01:00
parent 443fcd78a0
commit bdd10562d2
3 changed files with 13 additions and 6 deletions

View File

@@ -130,6 +130,13 @@ SIMPLE_BINARY(uint16_t);
SIMPLE_BINARY(uint32_t);
SIMPLE_BINARY(uint64_t);
//handles
SIMPLE_BINARY(OpenMesh::FaceHandle);
SIMPLE_BINARY(OpenMesh::EdgeHandle);
SIMPLE_BINARY(OpenMesh::HalfedgeHandle);
SIMPLE_BINARY(OpenMesh::VertexHandle);
SIMPLE_BINARY(OpenMesh::MeshHandle);
#undef SIMPLE_BINARY
// For unsigned long which is of size 64 bit on 64 bit
@@ -259,7 +266,6 @@ template <> struct binary< std::string > {
}
};
template <> struct binary<OpenMesh::Attributes::StatusInfo>
{
typedef OpenMesh::Attributes::StatusInfo value_type;