16 #include <vsg/core/Inherit.h>
17 #include <vsg/io/FileSystem.h>
18 #include <vsg/io/Options.h>
24 extern VSG_DECLSPEC ref_ptr<Object> read(
const Path& filename, ref_ptr<const Options> options = {});
27 extern VSG_DECLSPEC PathObjects read(
const Paths& filenames, ref_ptr<const Options> options = {});
30 extern VSG_DECLSPEC ref_ptr<Object> read(std::istream& fin, ref_ptr<const Options> options = {});
33 extern VSG_DECLSPEC ref_ptr<Object> read(
const uint8_t* ptr,
size_t size, ref_ptr<const Options> options = {});
37 ref_ptr<T> read_cast(
const Path& filename, ref_ptr<const Options> options = {})
39 auto object = read(filename, options);
45 ref_ptr<T> read_cast(std::istream& fin, ref_ptr<const Options> options = {})
47 auto object = read(fin, options);
53 ref_ptr<T> read_cast(
const uint8_t* ptr,
size_t size, ref_ptr<const Options> options = {})
55 auto object = read(ptr, size, options);