16#include <vsg/core/Inherit.h>
17#include <vsg/io/FileSystem.h>
18#include <vsg/io/Options.h>
39 auto object = read(filename, options);
40 return vsg::ref_ptr<T>(
dynamic_cast<T*
>(
object.get()));
47 auto object = read(fin, options);
48 return vsg::ref_ptr<T>(
dynamic_cast<T*
>(
object.get()));
55 auto object = read(ptr, size, options);
56 return vsg::ref_ptr<T>(
dynamic_cast<T*
>(
object.get()));