ManaPlus
Public Member Functions | Data Fields
mse::TIntBase1< _Ty > Class Template Reference

#include <mseprimitives.h>

Public Member Functions

 TIntBase1 ()
 
 TIntBase1 (const TIntBase1 &x)
 
 TIntBase1 (_Ty x)
 
template<typename _Tz >
void assign_check_range (const _Tz &x)
 
void note_value_assignment ()
 
void assert_initialized () const
 

Data Fields

_Ty m_val
 
bool m_initialized = false
 

Detailed Description

template<typename _Ty>
class mse::TIntBase1< _Ty >

Definition at line 184 of file mseprimitives.h.

Constructor & Destructor Documentation

◆ TIntBase1() [1/3]

template<typename _Ty >
mse::TIntBase1< _Ty >::TIntBase1 ( )
inline

Definition at line 187 of file mseprimitives.h.

187 : m_val(0) {}

◆ TIntBase1() [2/3]

template<typename _Ty >
mse::TIntBase1< _Ty >::TIntBase1 ( const TIntBase1< _Ty > &  x)
inline

Definition at line 190 of file mseprimitives.h.

190 : m_val(x.m_val) { note_value_assignment(); };
void note_value_assignment()

References mse::TIntBase1< _Ty >::note_value_assignment().

◆ TIntBase1() [3/3]

template<typename _Ty >
mse::TIntBase1< _Ty >::TIntBase1 ( _Ty  x)
inlineexplicit

Member Function Documentation

◆ assert_initialized()

template<typename _Ty >
void mse::TIntBase1< _Ty >::assert_initialized ( ) const
inline

◆ assign_check_range()

template<typename _Ty >
template<typename _Tz >
void mse::TIntBase1< _Ty >::assign_check_range ( const _Tz &  x)
inline

Definition at line 196 of file mseprimitives.h.

196  {
198  g_assign_check_range<_Ty, _Tz>(x);
199  }

References mse::TIntBase1< _Ty >::note_value_assignment(), and x.

◆ note_value_assignment()

template<typename _Ty >
void mse::TIntBase1< _Ty >::note_value_assignment ( )
inline

Field Documentation

◆ m_initialized

template<typename _Ty >
bool mse::TIntBase1< _Ty >::m_initialized = false

◆ m_val

template<typename _Ty >
_Ty mse::TIntBase1< _Ty >::m_val

Definition at line 201 of file mseprimitives.h.

Referenced by mse::TIntBase1< _Ty >::TIntBase1().


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