Photon 1.0.0
Loading...
Searching...
No Matches
litehtml::def_value< T > Class Template Reference

#include <types.h>

Public Member Functions

 def_value (T def_val)
 
 def_value (const def_value< T > &val)
 
void reset (T def_val)
 
bool is_default () const
 
operator= (T new_val)
 
def_value< T > & operator= (const def_value< T > &val)
 
 operator T () const
 

Private Attributes

m_val
 
bool m_is_default
 

Constructor & Destructor Documentation

◆ def_value() [1/2]

template<class T >
litehtml::def_value< T >::def_value ( def_val)
inline

◆ def_value() [2/2]

template<class T >
litehtml::def_value< T >::def_value ( const def_value< T > &  val)
inline

Member Function Documentation

◆ is_default()

template<class T >
bool litehtml::def_value< T >::is_default ( ) const
inline

◆ operator T()

template<class T >
litehtml::def_value< T >::operator T ( ) const
inline

◆ operator=() [1/2]

template<class T >
def_value< T > & litehtml::def_value< T >::operator= ( const def_value< T > &  val)
inline

◆ operator=() [2/2]

template<class T >
T litehtml::def_value< T >::operator= ( new_val)
inline

◆ reset()

template<class T >
void litehtml::def_value< T >::reset ( def_val)
inline

Member Data Documentation

◆ m_is_default

template<class T >
bool litehtml::def_value< T >::m_is_default
private

◆ m_val

template<class T >
T litehtml::def_value< T >::m_val
private

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