ASGE  3.2.0
Simple Game Framework in GL
ASGE::ValueBase Class Referenceabstract

#include <Value.hpp>

Inheritance diagram for ASGE::ValueBase:
[legend]

Public Member Functions

virtual void set (std::any object)=0
 
virtual std::any get ()=0
 

Detailed Description

A thin interface for an object of any type.

Definition at line 24 of file Value.hpp.

Member Function Documentation

◆ get()

virtual std::any ASGE::ValueBase::get ( )
pure virtual

Retrieves the value as a pointer wrapped in std::any container.

Returns
A pointer to the object stored.

Implemented in ASGE::Value< T >.

◆ set()

virtual void ASGE::ValueBase::set ( std::any  object)
pure virtual

Replaces the object being stored being stored.

Parameters
objectThe replacement object to store.

Implemented in ASGE::Value< T >.


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