载入中...
搜索中...
未找到
AttributeTable.h
浏览该文件的文档.
47 [[nodiscard]] Result<std::size_t> appendRowFrom(const AttributeTable& source, std::size_t sourceRow);
87 [[nodiscard]] Result<void> setVector(std::size_t row, std::string_view name, ProcgenAttributeVector value);
98 [[nodiscard]] std::optional<ProcgenAttributeVector> getVector(std::size_t row, std::string_view name) const;
100 [[nodiscard]] std::optional<std::string_view> getString(std::size_t row, std::string_view name) const;
115 [[nodiscard]] Result<void> set(std::size_t row, std::string_view name, ProcgenAttributeType type, T value);
117 [[nodiscard]] std::optional<T> get(std::size_t row, std::string_view name, ProcgenAttributeType type) const;
Move-only, checked operation results for the common layer.
Schema-bearing column store aligned with a PointSet's point rows.
Definition AttributeTable.h:33
Definition EvpackPointGraphLoader.h:12
ProcgenAttributeType
Closed set of column types supported by procedural point metadata.
Definition AttributeTable.h:23
std::string_view procgenAttributeTypeName(ProcgenAttributeType type) noexcept
Return the stable script/persistence name for an attribute type.
Definition AttributeTable.cpp:246
Compact three-component value used by typed procedural metadata.
Definition AttributeTable.h:16