CFx SDK Documentation  2023 SP0
Public Member Functions | List of all members
OdSaveStateFlagImpl< T, flag > Class Template Reference

#include <SaveState.h>

Public Member Functions

 OdSaveStateFlagImpl (T &variable)
 
 OdSaveStateFlagImpl (T &variable, bool bNewValue)
 
 ~OdSaveStateFlagImpl ()
 
 operator bool () const
 

Detailed Description

template<class T, T flag>
class OdSaveStateFlagImpl< T, flag >

<group Other_Classes>

Definition at line 91 of file SaveState.h.

Constructor & Destructor Documentation

◆ OdSaveStateFlagImpl() [1/2]

template<class T , T flag>
OdSaveStateFlagImpl< T, flag >::OdSaveStateFlagImpl ( T &  variable)
inline
Parameters
variable[in] Variable to save.

Definition at line 98 of file SaveState.h.

◆ OdSaveStateFlagImpl() [2/2]

template<class T , T flag>
OdSaveStateFlagImpl< T, flag >::OdSaveStateFlagImpl ( T &  variable,
bool  bNewValue 
)
inline

Definition at line 102 of file SaveState.h.

◆ ~OdSaveStateFlagImpl()

template<class T , T flag>
OdSaveStateFlagImpl< T, flag >::~OdSaveStateFlagImpl ( )
inline

Definition at line 107 of file SaveState.h.

Member Function Documentation

◆ operator bool()

template<class T , T flag>
OdSaveStateFlagImpl< T, flag >::operator bool ( ) const
inline

Returns the saved value of the flag.

Definition at line 114 of file SaveState.h.


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