numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
num_collect::logging::impl::iteration_layer_handler Class Reference

Class to handle layers of iterations. More...

#include <num_collect/logging/impl/iteration_layer_handler.h>

+ Collaboration diagram for num_collect::logging::impl::iteration_layer_handler:

Classes

class  node
 Class of internal nodes. More...
 

Public Member Functions

 iteration_layer_handler ()=default
 Constructor.
 
 iteration_layer_handler (const iteration_layer_handler &)=delete
 
 iteration_layer_handler (iteration_layer_handler &&) noexcept=default
 Move constructor.
 
 ~iteration_layer_handler () noexcept=default
 Destructor.
 
void initialize_lower_layer (iteration_layer_handler &lower_layer) noexcept
 Initialize the lower layer.
 
auto is_upper_layer_iterative () const noexcept -> bool
 Check whether one of upper layers is iterative.
 
auto operator= (const iteration_layer_handler &)=delete
 
auto operator= (iteration_layer_handler &&) noexcept -> iteration_layer_handler &=default
 Copy assignment operator.
 
void set_iterative () const noexcept
 Set this node to an iterative algorithm.
 

Private Attributes

std::shared_ptr< nodenode_ {std::make_shared<node>()}
 This node.
 

Detailed Description

Class to handle layers of iterations.

Thread Safety
Thread safe only for different objects.

Definition at line 32 of file iteration_layer_handler.h.

Member Function Documentation

◆ initialize_lower_layer()

void num_collect::logging::impl::iteration_layer_handler::initialize_lower_layer ( iteration_layer_handler & lower_layer)
inlinenoexcept

Initialize the lower layer.

Parameters
[in]lower_layerHandler of the lower layer.

Definition at line 71 of file iteration_layer_handler.h.

◆ is_upper_layer_iterative()

auto num_collect::logging::impl::iteration_layer_handler::is_upper_layer_iterative ( ) const -> bool
inlinenodiscardnoexcept

Check whether one of upper layers is iterative.

Return values
trueOne of upper layers is iterative.
falseNone of upper layers is iterative.

Definition at line 81 of file iteration_layer_handler.h.

◆ operator=()

auto num_collect::logging::impl::iteration_layer_handler::operator= ( iteration_layer_handler && ) -> iteration_layer_handler &=default
defaultnoexcept

Copy assignment operator.

Returns
This.

◆ set_iterative()

void num_collect::logging::impl::iteration_layer_handler::set_iterative ( ) const
inlinenoexcept

Set this node to an iterative algorithm.

Definition at line 64 of file iteration_layer_handler.h.

Member Data Documentation

◆ node_

std::shared_ptr<node> num_collect::logging::impl::iteration_layer_handler::node_ {std::make_shared<node>()}
private

This node.

Definition at line 149 of file iteration_layer_handler.h.


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