OMToolkit
1.0
The polygonal mesh processing tool.
|
#include <OMSerializableMatrix.h>
Public Types | |
typedef OMToolkit::Types::OMSerializableMatrix < T > | value_type |
Static Public Member Functions | |
static size_t | size_of (void) |
static size_t | size_of (const value_type &_v) |
static size_t | store (std::ostream &_os, const value_type &_v, bool _swap=false) |
static size_t | restore (std::istream &_is, value_type &_v, bool _swap=false) |
Static Public Attributes | |
static const bool | is_streamable = true |
Binary serializer for OMSerializableMatrix
typedef OMToolkit::Types::OMSerializableMatrix<T> OpenMesh::IO::binary< OMToolkit::Types::OMSerializableMatrix< T > >::value_type |
Definition of value type
|
inlinestatic |
Restore from intput stream Restores size of matrix, reallocates _v and restores values
|
inlinestatic |
Static sizeof method - we have unknown size
|
inlinestatic |
Dynamic sizeof method - computes size of serialized structure
|
inlinestatic |
Store into output stream Stores two ints as size of matrix and then sequence of values
|
static |
Must be defined for writer/reader