4#ifndef OPENVDB_UTIL_NAME_HAS_BEEN_INCLUDED
5#define OPENVDB_UTIL_NAME_HAS_BEEN_INCLUDED
8#include <openvdb/version.h>
23 is.read(
reinterpret_cast<char*
>(&size),
sizeof(uint32_t));
24 std::string buffer(size,
' ');
25 if (size>0) is.read(&buffer[0], size);
33 uint32_t size = uint32_t(name.size());
34 os.write(
reinterpret_cast<char*
>(&size),
sizeof(uint32_t));
35 os.write(&name[0], size);
std::string Name
Definition: Name.h:17
void writeString(std::ostream &os, const Name &name)
Definition: Name.h:31
Name readString(std::istream &is)
Definition: Name.h:20
Definition: Exceptions.h:13
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Definition: version.h.in:116
#define OPENVDB_USE_VERSION_NAMESPACE
Definition: version.h.in:202