15 #include <vsg/core/Object.h>
17 #include <vsg/io/Input.h>
18 #include <vsg/io/Options.h>
37 _input.read(
reinterpret_cast<char*
>(&
id),
sizeof(uint32_t));
42 void _read(
size_t num, T* value)
44 _input.read(
reinterpret_cast<char*
>(value), num *
sizeof(T));
48 void read(
size_t num, int8_t* value)
override { _read(num, value); }
49 void read(
size_t num, uint8_t* value)
override { _read(num, value); }
50 void read(
size_t num, int16_t* value)
override { _read(num, value); }
51 void read(
size_t num, uint16_t* value)
override { _read(num, value); }
52 void read(
size_t num, int32_t* value)
override { _read(num, value); }
53 void read(
size_t num, uint32_t* value)
override { _read(num, value); }
54 void read(
size_t num, int64_t* value)
override { _read(num, value); }
55 void read(
size_t num, uint64_t* value)
override { _read(num, value); }
56 void read(
size_t num,
float* value)
override { _read(num, value); }
57 void read(
size_t num,
double* value)
override { _read(num, value); }
60 void _read(std::string& value);
63 void read(
size_t num, std::string* value)
override;
66 void _read(std::wstring& value);
69 void read(
size_t num, std::wstring* value)
override;