Result of reading or writing through a ComponentCursor.
More...
#include <component_cursor.h>
|
| GAIA_NODISCARD bool | ok () const noexcept |
| |
| GAIA_NODISCARD | operator bool () const noexcept |
| |
|
|
CursorStatus | status = CursorStatus::Invalid |
| | Operation status.
|
| |
|
T | value {} |
| | Value returned by a successful read operation.
|
| |
template<typename T>
struct gaia::ecs::CursorResult< T >
Result of reading or writing through a ComponentCursor.
- Template Parameters
-
| T | Value type returned by the operation. |
◆ ok()
- Returns
- True when the operation succeeded.
◆ operator bool()
- Returns
- True when the operation succeeded.
The documentation for this struct was generated from the following file: