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 const &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

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

Member Function Documentation

template<typename In , typename Out , typename Func >
In const& o3tl::LazyUpdate< In, Out, Func >::getInValue ( ) const
inline
template<typename In , typename Out , typename Func >
Out const& o3tl::LazyUpdate< In, Out, Func >::getOutValue ( ) const
inline
template<typename In , typename Out , typename Func >
In& o3tl::LazyUpdate< In, Out, Func >::operator* ( void  )
inline
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().

template<typename In , typename Out , typename Func >
In* o3tl::LazyUpdate< In, Out, Func >::operator-> ( )
inline
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().

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

Member Data Documentation

template<typename In , typename Out , typename Func >
bool o3tl::LazyUpdate< In, Out, Func >::dirty_
mutableprivate
template<typename In , typename Out , typename Func >
Func const o3tl::LazyUpdate< In, Out, Func >::func_
private
template<typename In , typename Out , typename Func >
In o3tl::LazyUpdate< In, Out, Func >::input_
private
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: