OMToolkit
1.0
The polygonal mesh processing tool.
|
#include <OMStoreRestore.h>
Public Types | |
typedef std::string | value_type |
typedef uint16_t | length_t |
Static Public Member Functions | |
static size_t | size_of () |
static size_t | size_of (const value_type &_v) |
static size_t | store (mds::mod::CChannel &_os, const value_type &_v, bool _swap=false) |
static size_t | restore (mds::mod::CChannel &_is, value_type &_val, bool _swap=false) |
Static Public Attributes | |
static const bool | is_streamable = true |
binaryExt specialization for std::string
typedef uint16_t OpenMesh::IO::binaryExt< std::string >::length_t |
typedef std::string OpenMesh::IO::binaryExt< std::string >::value_type |
|
inlinestatic |
Method for restoring a string from stream
_is | MDSTk intput channel |
_v | Value to restore |
_swap | Swap bytes flag |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Method for storing a string into stream
_os | MDSTk output channel |
_v | Value to store |
_swap | Swap bytes flag |
|
static |