| ASGE
    3.2.0
    Simple Game Framework in GL | 
#include <Value.hpp>
| Public Member Functions | |
| std::any | get () override | 
| void | set (std::any object) override | 
| T * | value () | 
The concrete implementation of the ValueBase class.
The value class uses std::any to store an object of any type. By using this templated version the data can be stored internally and access to it is controlled safely via the std::any wrapper. If an incorrect type is used an exception is thrown.
| T | The type of object to store. | 
| 
 | inlineoverridevirtual | 
Retrieves the value as a pointer wrapped in std::any container.
Implements ASGE::ValueBase.
| 
 | inlineoverridevirtual | 
Replaces the object being stored being stored.
| object | The replacement object to store. | 
Implements ASGE::ValueBase.
| 
 | inline |