Gaia-ECS v1.0.0
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::ecs::CursorResult< void > Struct Referencefinal

Result of writing through a ComponentCursor. More...

#include <component_cursor.h>

Public Member Functions

GAIA_NODISCARD bool ok () const noexcept
 
GAIA_NODISCARD operator bool () const noexcept
 

Public Attributes

CursorStatus status = CursorStatus::Invalid
 Operation status.
 

Detailed Description

Result of writing through a ComponentCursor.

Member Function Documentation

◆ ok()

GAIA_NODISCARD bool gaia::ecs::CursorResult< void >::ok ( ) const
inlinenoexcept
Returns
True when the operation succeeded.

◆ operator bool()

GAIA_NODISCARD gaia::ecs::CursorResult< void >::operator bool ( ) const
inlineexplicitnoexcept
Returns
True when the operation succeeded.

The documentation for this struct was generated from the following file: