// Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
//
// NVIDIA CORPORATION and its licensors retain all intellectual property
// and proprietary rights in and to this software, related documentation
// and any modifications thereto. Any use, reproduction, disclosure or
// distribution of this software and related documentation without an express
// license agreement from NVIDIA CORPORATION is strictly prohibited.
//
// --------- Warning: This is a build system generated file. ----------
//

//! @file
//!
//! @brief This file was generated by <i>omni.bind</i>.

#include <omni/core/Interface.h>
#include <omni/core/OmniAttr.h>
#include <omni/core/ResultError.h>

#include <functional>
#include <type_traits>
#include <utility>

#ifndef OMNI_BIND_INCLUDE_INTERFACE_IMPL


template <>
class omni::core::Generated<usdrt::IRtSchemaRegistry_abi> : public usdrt::IRtSchemaRegistry_abi
{
public:
    OMNI_PLUGIN_INTERFACE("usdrt::IRtSchemaRegistry")


    omni::core::ObjectPtr<usdrt::IRtSchemaRegistry> initRegistry() noexcept;


    bool isConcrete(omni::fabric::TokenC primTypeC) noexcept;


    bool isAppliedAPISchema(omni::fabric::TokenC apiSchemaTypeC) noexcept;


    bool isMultipleApplyAPISchema(omni::fabric::TokenC apiSchemaTypeC) noexcept;


    bool isA(omni::fabric::TokenC sourceTypeNameC, omni::fabric::TokenC queryTypeNameC) noexcept;


    omni::fabric::TokenC getAliasFromName(omni::fabric::TokenC nameC) noexcept;
};

#endif

#ifndef OMNI_BIND_INCLUDE_INTERFACE_DECL

inline omni::core::ObjectPtr<usdrt::IRtSchemaRegistry> omni::core::Generated<usdrt::IRtSchemaRegistry_abi>::initRegistry() noexcept
{
    return omni::core::steal(initRegistry_abi());
}

inline bool omni::core::Generated<usdrt::IRtSchemaRegistry_abi>::isConcrete(omni::fabric::TokenC primTypeC) noexcept
{
    return isConcrete_abi(primTypeC);
}

inline bool omni::core::Generated<usdrt::IRtSchemaRegistry_abi>::isAppliedAPISchema(omni::fabric::TokenC apiSchemaTypeC) noexcept
{
    return isAppliedAPISchema_abi(apiSchemaTypeC);
}

inline bool omni::core::Generated<usdrt::IRtSchemaRegistry_abi>::isMultipleApplyAPISchema(
    omni::fabric::TokenC apiSchemaTypeC) noexcept
{
    return isMultipleApplyAPISchema_abi(apiSchemaTypeC);
}

inline bool omni::core::Generated<usdrt::IRtSchemaRegistry_abi>::isA(omni::fabric::TokenC sourceTypeNameC,
                                                                     omni::fabric::TokenC queryTypeNameC) noexcept
{
    return isA_abi(sourceTypeNameC, queryTypeNameC);
}

inline omni::fabric::TokenC omni::core::Generated<usdrt::IRtSchemaRegistry_abi>::getAliasFromName(
    omni::fabric::TokenC nameC) noexcept
{
    return getAliasFromName_abi(nameC);
}

#endif

#undef OMNI_BIND_INCLUDE_INTERFACE_DECL
#undef OMNI_BIND_INCLUDE_INTERFACE_IMPL
