a generic variable template: value + flag to know if the variable is set More...
#include <libstaroffice_internal.hxx>
| Public Member Functions | |
| STOFFVariable () | |
| constructor | |
| STOFFVariable (T const &def) | |
| constructor with a default value | |
| STOFFVariable (STOFFVariable const &orig) | |
| copy constructor | |
| STOFFVariable & | operator= (STOFFVariable const &orig) | 
| copy operator | |
| STOFFVariable & | operator= (T const &val) | 
| set a value | |
| void | insert (STOFFVariable const &orig) | 
| update the current value if orig is set | |
| T const * | operator-> () const | 
| operator* | |
| T * | operator-> () | 
| operator* | |
| T const & | operator* () const | 
| operator* | |
| T & | operator* () | 
| operator* | |
| T const & | get () const | 
| return the current value | |
| bool | isSet () const | 
| return true if the variable is set | |
| void | setSet (bool newVal) | 
| define if the variable is set | |
| Protected Attributes | |
| T | m_data | 
| the value | |
| bool | m_set | 
| a flag to know if the variable is set or not | |
a generic variable template: value + flag to know if the variable is set
| 
 | inline | 
constructor
Referenced by insert(), operator=(), operator=(), and STOFFVariable().
| 
 | inlineexplicit | 
constructor with a default value
| 
 | inline | 
copy constructor
| 
 | inline | 
return the current value
| 
 | inline | 
update the current value if orig is set
| 
 | inline | 
return true if the variable is set
| 
 | inline | 
operator*
| 
 | inline | 
operator*
| 
 | inline | 
operator*
| 
 | inline | 
operator*
| 
 | inline | 
copy operator
| 
 | inline | 
set a value
| 
 | inline | 
define if the variable is set
| 
 | protected | 
the value
Referenced by get(), insert(), operator*(), operator*(), operator->(), operator->(), operator=(), operator=(), STOFFVariable(), STOFFVariable(), and STOFFVariable().
| 
 | protected | 
a flag to know if the variable is set or not
Referenced by insert(), isSet(), operator*(), operator->(), operator=(), operator=(), setSet(), STOFFVariable(), STOFFVariable(), and STOFFVariable().