// Copyright (c) 2021-2022, 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::IRtAttribute_abi> : public usdrt::IRtAttribute_abi
{
public:
    OMNI_PLUGIN_INTERFACE("usdrt::IRtAttribute")


    bool hasValue() noexcept;


    bool hasAuthoredValue() noexcept;


    bool hasAuthoredValueGpu() noexcept;


    omni::fabric::ConstSpanC getValue() noexcept;


    omni::fabric::SpanC getValueGpu() noexcept;


    omni::fabric::SpanC setValue() noexcept;


    omni::fabric::SpanC setValueGpu() noexcept;


    size_t getValueArraySize() noexcept;


    void setValueNewArraySize(size_t size) noexcept;


    omni::fabric::TypeC getTypeName() noexcept;
};

#endif

#ifndef OMNI_BIND_INCLUDE_INTERFACE_DECL

inline bool omni::core::Generated<usdrt::IRtAttribute_abi>::hasValue() noexcept
{
    return hasValue_abi();
}

inline bool omni::core::Generated<usdrt::IRtAttribute_abi>::hasAuthoredValue() noexcept
{
    return hasAuthoredValue_abi();
}

inline bool omni::core::Generated<usdrt::IRtAttribute_abi>::hasAuthoredValueGpu() noexcept
{
    return hasAuthoredValueGpu_abi();
}

inline omni::fabric::ConstSpanC omni::core::Generated<usdrt::IRtAttribute_abi>::getValue() noexcept
{
    return getValue_abi();
}

inline omni::fabric::SpanC omni::core::Generated<usdrt::IRtAttribute_abi>::getValueGpu() noexcept
{
    return getValueGpu_abi();
}

inline omni::fabric::SpanC omni::core::Generated<usdrt::IRtAttribute_abi>::setValue() noexcept
{
    return setValue_abi();
}

inline omni::fabric::SpanC omni::core::Generated<usdrt::IRtAttribute_abi>::setValueGpu() noexcept
{
    return setValueGpu_abi();
}

inline size_t omni::core::Generated<usdrt::IRtAttribute_abi>::getValueArraySize() noexcept
{
    return getValueArraySize_abi();
}

inline void omni::core::Generated<usdrt::IRtAttribute_abi>::setValueNewArraySize(size_t size) noexcept
{
    setValueNewArraySize_abi(size);
}

inline omni::fabric::TypeC omni::core::Generated<usdrt::IRtAttribute_abi>::getTypeName() noexcept
{
    return getTypeName_abi();
}

#endif

#undef OMNI_BIND_INCLUDE_INTERFACE_DECL
#undef OMNI_BIND_INCLUDE_INTERFACE_IMPL
