idol
A C++ Framework for Optimization
Loading...
Searching...
No Matches
idol::Lazy< T, ImplT > Class Template Reference
Collaboration diagram for idol::Lazy< T, ImplT >:
Collaboration graph

Public Member Functions

 Lazy (const T &t_object, std::list< unsigned int >::iterator t_to_be_updated_flag)
 
bool has_impl () const
 
ImplT & impl ()
 
const ImplT & impl () const
 
bool is_to_be_updated () const
 
void set_as_to_be_updated (std::list< unsigned int >::iterator t_flag)
 
void set_as_updated ()
 
std::list< unsignedint >::iterator to_be_updated_flag () const
 
void set_impl (ImplT &&t_impl)
 
const T & object () const
 

Detailed Description

template<class T, class ImplT>
class idol::Lazy< T, ImplT >

Definition at line 25 of file OptimizerWithLazyUpdates.h.

Constructor & Destructor Documentation

◆ Lazy()

template<class T , class ImplT >
idol::Lazy< T, ImplT >::Lazy ( const T &  t_object,
std::list< unsigned int >::iterator  t_to_be_updated_flag 
)
inline

Definition at line 30 of file OptimizerWithLazyUpdates.h.

Member Function Documentation

◆ has_impl()

template<class T , class ImplT >
bool idol::Lazy< T, ImplT >::has_impl ( ) const
inline

Definition at line 33 of file OptimizerWithLazyUpdates.h.

◆ impl() [1/2]

template<class T , class ImplT >
ImplT & idol::Lazy< T, ImplT >::impl ( )
inline

Definition at line 35 of file OptimizerWithLazyUpdates.h.

◆ impl() [2/2]

template<class T , class ImplT >
const ImplT & idol::Lazy< T, ImplT >::impl ( ) const
inline

Definition at line 37 of file OptimizerWithLazyUpdates.h.

◆ is_to_be_updated()

template<class T , class ImplT >
bool idol::Lazy< T, ImplT >::is_to_be_updated ( ) const
inline

Definition at line 39 of file OptimizerWithLazyUpdates.h.

◆ object()

template<class T , class ImplT >
const T & idol::Lazy< T, ImplT >::object ( ) const
inline

Definition at line 49 of file OptimizerWithLazyUpdates.h.

◆ set_as_to_be_updated()

template<class T , class ImplT >
void idol::Lazy< T, ImplT >::set_as_to_be_updated ( std::list< unsigned int >::iterator  t_flag)
inline

Definition at line 41 of file OptimizerWithLazyUpdates.h.

◆ set_as_updated()

template<class T , class ImplT >
void idol::Lazy< T, ImplT >::set_as_updated ( )
inline

Definition at line 43 of file OptimizerWithLazyUpdates.h.

◆ set_impl()

template<class T , class ImplT >
void idol::Lazy< T, ImplT >::set_impl ( ImplT &&  t_impl)
inline

Definition at line 47 of file OptimizerWithLazyUpdates.h.

◆ to_be_updated_flag()

template<class T , class ImplT >
std::list< unsignedint >::iterator idol::Lazy< T, ImplT >::to_be_updated_flag ( ) const
inline

Definition at line 45 of file OptimizerWithLazyUpdates.h.