humoto
Public Member Functions | Protected Member Functions | List of all members
humoto::constraints::CopyTwoSidedInequalityToALMixin< t_Base > Class Template Reference

Detailed Description

template<class t_Base>
class humoto::constraints::CopyTwoSidedInequalityToALMixin< t_Base >

This mixin provides functionality for conversion of specific type of constraints to a certain container.

Template Parameters
t_BaseBase class: humoto::constraints::ConstraintsBase or humoto::TaskBase wrapped with other mixins.

Definition at line 697 of file constraints_base.h.

#include <constraints_base.h>

Inheritance diagram for humoto::constraints::CopyTwoSidedInequalityToALMixin< t_Base >:
Inheritance graph

Public Member Functions

std::size_t copyTo (ContainerAL &container, const std::size_t constraints_offset) const
 Set constraints. More...
 

Protected Member Functions

 CopyTwoSidedInequalityToALMixin ()
 
 ~CopyTwoSidedInequalityToALMixin ()
 Protected destructor: prevent destruction of the child classes through a base pointer. More...
 

Constructor & Destructor Documentation

◆ ~CopyTwoSidedInequalityToALMixin()

Protected destructor: prevent destruction of the child classes through a base pointer.

Definition at line 705 of file constraints_base.h.

◆ CopyTwoSidedInequalityToALMixin()

Definition at line 706 of file constraints_base.h.

Member Function Documentation

◆ copyTo()

template<class t_Base>
std::size_t humoto::constraints::CopyTwoSidedInequalityToALMixin< t_Base >::copyTo ( ContainerAL container,
const std::size_t  constraints_offset 
) const
inlinevirtual

Set constraints.

Parameters
[in,out]containernew constraints
[in]constraints_offsetfirst row offset
Returns
offset of the end of added constraints

Reimplemented from humoto::constraints::CopyUpperInequalityToALMixin< CopyLowerInequalityToALMixin< t_Base > >.

Definition at line 713 of file constraints_base.h.


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