|
CoreComponents 3.0.0
A Modern C++ Toolkit
|
Reference counted object state. More...
#include <Object>
Public Member Functions | |
| State ()=default | |
| Default constructor. | |
| State (const State &) | |
| Copy constructor. | |
| virtual | ~State () |
| Virtual destructor. | |
| long | useCount () const |
| Reference count. | |
| const State & | operator= (const State &) const |
| template<class T > | |
| bool | is () const |
| Check if this state is of type T. | |
| template<class T > | |
| T & | as () |
| Statically cast this state to a different type T. | |
| template<class T > | |
| const T & | as () const |
| Statically cast this state to a different type T. | |
Reference counted object state.
|
default |
Default constructor.
|
virtual |
Virtual destructor.
Reimplemented in View::State.
| long useCount | ( | ) | const |
Reference count.
| bool is | ( | ) | const |
Check if this state is of type T.
| T & as | ( | ) |
Statically cast this state to a different type T.
| const T & as | ( | ) | const |
Statically cast this state to a different type T.