TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::AddResult Struct Reference

What Add returns: the new element's ref and status; true on success. More...

#include <gui_core/elements/gui_element_storage.h>

Public Member Functions

 operator bool () const
bool operator== (ElementStorageResult rhs) const
bool operator!= (ElementStorageResult rhs) const
bool operator== (const ElementRef &rhs) const
bool operator!= (const ElementRef &rhs) const

Public Attributes

ElementRef ref = ElementRef::Invalid()
ElementStorageResult status = ElementStorageResult::Success

Detailed Description

What Add returns: the new element's ref and status; true on success.

Member Function Documentation

◆ operator bool()

tachyon::AddResult::operator bool ( ) const
inline

◆ operator==() [1/2]

bool tachyon::AddResult::operator== ( ElementStorageResult rhs) const
inline

◆ operator!=() [1/2]

bool tachyon::AddResult::operator!= ( ElementStorageResult rhs) const
inline

◆ operator==() [2/2]

bool tachyon::AddResult::operator== ( const ElementRef & rhs) const
inline

◆ operator!=() [2/2]

bool tachyon::AddResult::operator!= ( const ElementRef & rhs) const
inline

Member Data Documentation

◆ ref

ElementRef tachyon::AddResult::ref = ElementRef::Invalid()

◆ status


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