82 [[nodiscard]]
static SchemaPluginManager&
get(
const std::string& schema_plugin_path =
"");
96 [[nodiscard]] std::shared_ptr<SchemaPluginInterface>
get_interface()
const;
99 explicit SchemaPluginManager(std::string schema_plugin_path);
101 ~SchemaPluginManager();
103 std::unique_ptr<struct SchemaPluginManagerImpl> impl_;
bool is_valid() const
Returns true if a SchemaPluginInterface was successfully loaded.
static SchemaPluginManager & get(const std::string &schema_plugin_path="")
Returns the process-global SchemaPluginManager singleton.
std::shared_ptr< SchemaPluginInterface > get_interface() const
Returns the loaded SchemaPluginInterface instance.
#define VLINK_EXPORT
定义 macros.h:85
#define VLINK_DISALLOW_COPY_AND_ASSIGN(classname)
Deletes the copy constructor and copy-assignment operator of classname.
定义 macros.h:184
Runtime schema plugin interface for Protobuf and FlatBuffers metadata loading.