Skip to content

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
SizeT size () noexcept const
Get the size of the attribute.
Json to_json (SizeT i) noexcept const
Json to_json () noexcept const
virtual ~IAttribute () = default

Protected Functions

Type Name
backend::BufferView backend_view () noexcept const
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_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 backend::BufferView get_backend_view () noexcept const = 0
virtual SizeT get_size () const = 0

Public Functions Documentation

function IAttribute

uipc::geometry::IAttribute::IAttribute () = default

function size

SizeT uipc::geometry::IAttribute::size () noexcept const

function to_json [1/2]

Json uipc::geometry::IAttribute::to_json (
    SizeT i
) noexcept const

function to_json [2/2]

Json uipc::geometry::IAttribute::to_json () noexcept const

function ~IAttribute

virtual uipc::geometry::IAttribute::~IAttribute () = default

Protected Functions Documentation

function backend_view [2/2]

backend::BufferView uipc::geometry::IAttribute::backend_view () noexcept const

function do_clear

virtual void uipc::geometry::IAttribute::do_clear () = 0

function do_clone

virtual S< IAttribute > uipc::geometry::IAttribute::do_clone () const = 0

function do_clone_empty

virtual S< IAttribute > uipc::geometry::IAttribute::do_clone_empty () const = 0

function do_copy_from

virtual void uipc::geometry::IAttribute::do_copy_from (
    const IAttribute & other,
    const AttributeCopy & copy
) noexcept = 0

function do_reorder

virtual void uipc::geometry::IAttribute::do_reorder (
    span< const SizeT > O
) noexcept = 0

function do_reserve

virtual void uipc::geometry::IAttribute::do_reserve (
    SizeT N
) = 0

function do_resize

virtual void uipc::geometry::IAttribute::do_resize (
    SizeT N
) = 0

function do_to_json

virtual Json uipc::geometry::IAttribute::do_to_json (
    SizeT i
) noexcept const = 0

function get_backend_view

virtual backend::BufferView uipc::geometry::IAttribute::get_backend_view () noexcept const = 0

function get_size

virtual SizeT uipc::geometry::IAttribute::get_size () const = 0


The documentation for this class was generated from the following file include/uipc/geometry/attribute.h