载入中...
搜索中...
未找到
ResourceRef.h 文件参考

Strong asset, definition, object and generic resource references. 更多...

#include "common/Export.h"
#include "common/Identity.h"
#include "common/Uri.h"
#include <cstdint>
#include <functional>
#include <ostream>
#include <string_view>
#include <utility>
#include <variant>

浏览源代码.

类

class  eve::AssetRef
 Stable asset identity backed by PersistentId. 更多...
 
class  eve::DefinitionRef
 Stable definition reference backed by LogicalId. 更多...
 
class  eve::ObjectRef
 Stable world/object identity backed by PersistentId. 更多...
 
class  eve::ResourceRef
 Type-safe union of the reference forms accepted by resource-facing APIs. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  std
 

枚举

enum class  eve::ResourceRefKind : std::uint8_t { eve::Asset , eve::Uri , eve::Definition , eve::Object }
 The alternative held by a generic ResourceRef. 更多...
 

函数

constexpr std::string_view eve::resourceRefKindName (ResourceRefKind kind) noexcept
 Returns the stable resource-reference alternative spelling.
 
std::ostream & eve::operator<< (std::ostream &stream, ResourceRefKind kind)
 Writes a resource-reference alternative for diagnostics.
 

详细描述

Strong asset, definition, object and generic resource references.

在文件 ResourceRef.h 中定义.