Class uipc::geometry::IAttribute
ClassList > uipc > geometry > IAttribute
An abstract class to represent a geometries attribute.
#include <attribute.h>
Inherited by the following classes: uipc::geometry::Attribute
Public Functions
| Type | Name |
|---|---|
| IAttribute () = default |
|
| void | from_json (const Json & j) noexcept |
| SizeT | size () noexcept const Get the size of the attribute. |
| Json | to_json (SizeT i) noexcept const |
| Json | to_json () noexcept const |
| std::string_view | type_name () noexcept const Get the type name of data stored in the attribute slot. |
| virtual | ~IAttribute () = default |
Protected Functions
| Type | Name |
|---|---|
| virtual void | do_clear () = 0 |
| virtual S< IAttribute > | do_clone () const = 0 |
| virtual S< IAttribute > | do_clone_empty () const = 0 |
| virtual void | do_copy_from (const IAttribute & other, const AttributeCopy & copy) noexcept = 0 |
| virtual void | do_from_json (const Json & j) noexcept = 0 |
| virtual void | do_reorder (span< const SizeT > O) noexcept = 0 |
| virtual void | do_reserve (SizeT N) = 0 |
| virtual void | do_resize (SizeT N) = 0 |
| virtual Json | do_to_json (SizeT i) noexcept const = 0 |
| virtual Json | do_to_json () noexcept const = 0 |
| virtual SizeT | get_size () const = 0 |
| virtual std::string_view | get_type_name () noexcept const = 0 |
Public Functions Documentation
function IAttribute
function from_json
function size
Get the size of the attribute.
function to_json [1/2]
function to_json [2/2]
function type_name
Get the type name of data stored in the attribute slot.
function ~IAttribute
Protected Functions Documentation
function do_clear
function do_clone
function do_clone_empty
function do_copy_from
virtual void uipc::geometry::IAttribute::do_copy_from (
const IAttribute & other,
const AttributeCopy & copy
) noexcept = 0
function do_from_json
function do_reorder
function do_reserve
function do_resize
function do_to_json [1/2]
function do_to_json [2/2]
function get_size
function get_type_name
The documentation for this class was generated from the following file include/uipc/geometry/attribute.h