neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::scoped_object< T > Class Template Reference

#include <scoped.hpp>

Public Member Functions

 scoped_object (T &aObject, T aValue={})
 
 ~scoped_object ()
 
T constsaved () const
 
void ignore ()
 

Detailed Description

template<typename T>
class neolib::scoped_object< T >

Definition at line 101 of file scoped.hpp.

Constructor & Destructor Documentation

◆ scoped_object()

template<typename T >
neolib::scoped_object< T >::scoped_object ( T aObject,
T  aValue = {} 
)
inline

Definition at line 104 of file scoped.hpp.

◆ ~scoped_object()

template<typename T >
neolib::scoped_object< T >::~scoped_object ( )
inline

Definition at line 105 of file scoped.hpp.

Member Function Documentation

◆ ignore()

template<typename T >
void neolib::scoped_object< T >::ignore ( )
inline

Definition at line 108 of file scoped.hpp.

◆ saved()

template<typename T >
T const & neolib::scoped_object< T >::saved ( ) const
inline

Definition at line 107 of file scoped.hpp.


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