Skip to content

Class uipc::geometry::GeometryCollection

ClassList > uipc > geometry > GeometryCollection

Inherits the following classes: uipc::geometry::IGeometryCollection

Public Functions

Type Name
GeometryCollection () = default
void destroy (IndexT id) noexcept
S< geometry::GeometrySlotT< GeometryT > > emplace (const GeometryT & geometry)
S< geometry::GeometrySlotT< GeometryT > > find (IndexT id) noexcept
S< geometry::GeometrySlot > find (IndexT id) noexcept
S< const geometry::GeometrySlotT< GeometryT > > find (IndexT id) noexcept const
S< const geometry::GeometrySlot > find (IndexT id) noexcept const
span< S< geometry::GeometrySlot > > geometry_slots () noexcept const
span< S< geometry::GeometrySlot > > pending_create_slots () noexcept const
void pending_destroy (IndexT id) noexcept
span< IndexT > pending_destroy_ids () noexcept const
S< geometry::GeometrySlotT< GeometryT > > pending_emplace (const GeometryT & geometry)
void solve_pending () noexcept

Public Functions inherited from uipc::geometry::IGeometryCollection

See uipc::geometry::IGeometryCollection

Type Name
void clear () noexcept
IndexT next_id () noexcept const
void reserve (SizeT size) noexcept
SizeT size () noexcept const
virtual ~IGeometryCollection () = default

Protected Functions

Type Name
virtual void do_clear () noexcept override
virtual void do_reserve (SizeT size) noexcept override
virtual IndexT get_next_id () noexcept override const
virtual SizeT get_size () noexcept override const

Protected Functions inherited from uipc::geometry::IGeometryCollection

See uipc::geometry::IGeometryCollection

Type Name
virtual void do_clear () noexcept = 0
virtual void do_reserve (SizeT size) noexcept = 0
virtual IndexT get_next_id () noexcept const = 0
virtual SizeT get_size () noexcept const = 0

Public Functions Documentation

function GeometryCollection

uipc::geometry::GeometryCollection::GeometryCollection () = default

function destroy

void uipc::geometry::GeometryCollection::destroy (
    IndexT id
) noexcept

function emplace

template<std::derived_from< geometry::Geometry > GeometryT>
S< geometry::GeometrySlotT < GeometryT > > uipc::geometry::GeometryCollection::emplace (
    const GeometryT & geometry
) 

function find [1/4]

template<std::derived_from< geometry::Geometry > GeometryT>
S< geometry::GeometrySlotT < GeometryT > > uipc::geometry::GeometryCollection::find (
    IndexT id
) noexcept

function find [2/4]

S< geometry::GeometrySlot > uipc::geometry::GeometryCollection::find (
    IndexT id
) noexcept

function find [3/4]

template<std::derived_from< geometry::Geometry > GeometryT>
S< const geometry::GeometrySlotT < GeometryT > > uipc::geometry::GeometryCollection::find (
    IndexT id
) noexcept const

function find [4/4]

S< const geometry::GeometrySlot > uipc::geometry::GeometryCollection::find (
    IndexT id
) noexcept const

function geometry_slots

span< S< geometry::GeometrySlot > > uipc::geometry::GeometryCollection::geometry_slots () noexcept const

function pending_create_slots

span< S< geometry::GeometrySlot > > uipc::geometry::GeometryCollection::pending_create_slots () noexcept const

function pending_destroy

void uipc::geometry::GeometryCollection::pending_destroy (
    IndexT id
) noexcept

function pending_destroy_ids

span< IndexT > uipc::geometry::GeometryCollection::pending_destroy_ids () noexcept const

function pending_emplace

template<std::derived_from< geometry::Geometry > GeometryT>
S< geometry::GeometrySlotT < GeometryT > > uipc::geometry::GeometryCollection::pending_emplace (
    const GeometryT & geometry
) 

function solve_pending

void uipc::geometry::GeometryCollection::solve_pending () noexcept

Protected Functions Documentation

function do_clear

virtual void uipc::geometry::GeometryCollection::do_clear () noexcept override

Implements uipc::geometry::IGeometryCollection::do_clear


function do_reserve

virtual void uipc::geometry::GeometryCollection::do_reserve (
    SizeT size
) noexcept override

Implements uipc::geometry::IGeometryCollection::do_reserve


function get_next_id

virtual IndexT uipc::geometry::GeometryCollection::get_next_id () noexcept override const

Implements uipc::geometry::IGeometryCollection::get_next_id


function get_size

virtual SizeT uipc::geometry::GeometryCollection::get_size () noexcept override const

Implements uipc::geometry::IGeometryCollection::get_size



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