OpenClonk
StdParameter2Adapt< T, P1, P2 > Struct Template Reference

#include <StdAdaptors.h>

Public Member Functions

 StdParameter2Adapt (T &&rObj, P1 &&rPar1, P2 &&rPar2)
 
void CompileFunc (StdCompiler *pComp) const
 
template<class D >
bool operator== (const D &nValue) const
 
template<class D >
StdParameter2Adaptoperator= (const D &nValue)
 

Public Attributes

T && rObj
 
P1 && rPar1
 
P2 && rPar2
 

Detailed Description

template<class T, class P1, class P2>
struct StdParameter2Adapt< T, P1, P2 >

Definition at line 494 of file StdAdaptors.h.

Constructor & Destructor Documentation

◆ StdParameter2Adapt()

template<class T , class P1 , class P2 >
StdParameter2Adapt< T, P1, P2 >::StdParameter2Adapt ( T &&  rObj,
P1 &&  rPar1,
P2 &&  rPar2 
)
inline

Definition at line 496 of file StdAdaptors.h.

496  :
497  rObj(std::forward<T>(rObj)), rPar1(std::forward<P1>(rPar1)), rPar2(std::forward<P2>(rPar2)) { }

Member Function Documentation

◆ CompileFunc()

template<class T , class P1 , class P2 >
void StdParameter2Adapt< T, P1, P2 >::CompileFunc ( StdCompiler pComp) const
inline

Definition at line 499 of file StdAdaptors.h.

References StdNullAdapt::CompileFunc().

500  {
501  std::forward<T>(rObj).CompileFunc(pComp, std::forward<P1>(rPar1), std::forward<P2>(rPar2));
502  }
void CompileFunc(StdCompiler *pComp) const
Definition: StdAdaptors.h:499
Here is the call graph for this function:

◆ operator=()

template<class T , class P1 , class P2 >
template<class D >
StdParameter2Adapt& StdParameter2Adapt< T, P1, P2 >::operator= ( const D &  nValue)
inline

Definition at line 505 of file StdAdaptors.h.

505 { rObj = nValue; return *this; }

◆ operator==()

template<class T , class P1 , class P2 >
template<class D >
bool StdParameter2Adapt< T, P1, P2 >::operator== ( const D &  nValue) const
inline

Definition at line 504 of file StdAdaptors.h.

504 { return rObj == nValue; }

Member Data Documentation

◆ rObj

template<class T , class P1 , class P2 >
T&& StdParameter2Adapt< T, P1, P2 >::rObj

Definition at line 498 of file StdAdaptors.h.

◆ rPar1

template<class T , class P1 , class P2 >
P1&& StdParameter2Adapt< T, P1, P2 >::rPar1

Definition at line 498 of file StdAdaptors.h.

◆ rPar2

template<class T , class P1 , class P2 >
P2&& StdParameter2Adapt< T, P1, P2 >::rPar2

Definition at line 498 of file StdAdaptors.h.


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