LibreOffice Module o3tl (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
o3tl::LazyUpdate< In, Out, Func > Class Template Reference

#include <lazy_update.hxx>

Public Member Functions

 LazyUpdate (Func func)
 
In const & getInValue () const
 
Out const & getOutValue () const
 
In & operator* ()
 
In * operator-> ()
 
Out const & operator* () const
 
Out const * operator-> () const
 

Private Member Functions

Out const & update () const
 

Private Attributes

Func const func_
 
In input_
 
Out output_
 
bool dirty_
 

Detailed Description

template<typename In, typename Out, typename Func>
class o3tl::LazyUpdate< In, Out, Func >

Definition at line 49 of file lazy_update.hxx.

Constructor & Destructor Documentation

◆ LazyUpdate()

template<typename In , typename Out , typename Func >
o3tl::LazyUpdate< In, Out, Func >::LazyUpdate ( Func  func)
inline

Member Function Documentation

◆ getInValue()

template<typename In , typename Out , typename Func >
In const & o3tl::LazyUpdate< In, Out, Func >::getInValue ( ) const
inline

◆ getOutValue()

template<typename In , typename Out , typename Func >
Out const & o3tl::LazyUpdate< In, Out, Func >::getOutValue ( ) const
inline

◆ operator*() [1/2]

template<typename In , typename Out , typename Func >
In & o3tl::LazyUpdate< In, Out, Func >::operator* ( void  )
inline

◆ operator*() [2/2]

template<typename In , typename Out , typename Func >
Out const & o3tl::LazyUpdate< In, Out, Func >::operator* ( void  ) const
inline

Definition at line 67 of file lazy_update.hxx.

References Out(), and o3tl::LazyUpdate< In, Out, Func >::update().

◆ operator->() [1/2]

template<typename In , typename Out , typename Func >
In * o3tl::LazyUpdate< In, Out, Func >::operator-> ( )
inline

◆ operator->() [2/2]

template<typename In , typename Out , typename Func >
Out const * o3tl::LazyUpdate< In, Out, Func >::operator-> ( ) const
inline

Definition at line 69 of file lazy_update.hxx.

References Out(), and o3tl::LazyUpdate< In, Out, Func >::update().

◆ update()

template<typename In , typename Out , typename Func >
Out const & o3tl::LazyUpdate< In, Out, Func >::update ( ) const
inlineprivate

Member Data Documentation

◆ dirty_

template<typename In , typename Out , typename Func >
bool o3tl::LazyUpdate< In, Out, Func >::dirty_
mutableprivate

◆ func_

template<typename In , typename Out , typename Func >
Func const o3tl::LazyUpdate< In, Out, Func >::func_
private

◆ input_

template<typename In , typename Out , typename Func >
In o3tl::LazyUpdate< In, Out, Func >::input_
private

◆ output_

template<typename In , typename Out , typename Func >
Out o3tl::LazyUpdate< In, Out, Func >::output_
mutableprivate

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