Blender
V3.3
source
blender
editors
asset
intern
asset_library_reference.hh
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
9
#pragma once
10
11
#include <cstdint>
12
13
#include "
DNA_asset_types.h
"
14
15
namespace
blender::ed::asset
{
16
20
class
AssetLibraryReferenceWrapper
:
public
AssetLibraryReference
{
21
public
:
22
/* Intentionally not `explicit`, allow implicit conversion for convenience. Might have to be
23
* NOLINT */
24
AssetLibraryReferenceWrapper
(
const
AssetLibraryReference
&reference);
25
~AssetLibraryReferenceWrapper
() =
default
;
26
27
friend
bool
operator==
(
const
AssetLibraryReferenceWrapper
&
a
,
28
const
AssetLibraryReferenceWrapper
&
b
);
29
uint64_t
hash
()
const
;
30
};
31
32
}
// namespace blender::ed::asset
DNA_asset_types.h
blender::ed::asset::AssetLibraryReferenceWrapper
Definition:
asset_library_reference.hh:20
blender::ed::asset::AssetLibraryReferenceWrapper::operator==
friend bool operator==(const AssetLibraryReferenceWrapper &a, const AssetLibraryReferenceWrapper &b)
Definition:
asset_library_reference.cc:18
blender::ed::asset::AssetLibraryReferenceWrapper::hash
uint64_t hash() const
Definition:
asset_library_reference.cc:25
blender::ed::asset::AssetLibraryReferenceWrapper::~AssetLibraryReferenceWrapper
~AssetLibraryReferenceWrapper()=default
blender::ed::asset::AssetLibraryReferenceWrapper::AssetLibraryReferenceWrapper
AssetLibraryReferenceWrapper(const AssetLibraryReference &reference)
Definition:
asset_library_reference.cc:13
Freestyle::a
static unsigned a[3]
Definition:
RandGen.cpp:78
blender::ed::asset
Definition:
asset_indexer.cc:35
usdtokens::b
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
uint64_t
unsigned __int64 uint64_t
Definition:
stdint.h:90
AssetLibraryReference
Definition:
DNA_asset_types.h:105
Generated on Tue Oct 22 2024 13:18:25 for Blender by
doxygen
1.9.1