KiCad PCB EDA Suite
METHOD< Owner, T, Base > Class Template Reference

#include <property.h>

Public Member Functions

 METHOD ()=delete
 

Static Public Member Functions

static constexpr GETTER_BASE< Owner, T > * Wrap (T(Base::*aFunc)())
 
static constexpr GETTER_BASE< Owner, T > * Wrap (const T(Base::*aFunc)())
 
static constexpr GETTER_BASE< Owner, T > * Wrap (const T &(Base::*aFunc)())
 
static constexpr GETTER_BASE< Owner, T > * Wrap (T(Base::*aFunc)() const)
 
static constexpr GETTER_BASE< Owner, T > * Wrap (const T(Base::*aFunc)() const)
 
static constexpr GETTER_BASE< Owner, T > * Wrap (const T &(Base::*aFunc)() const)
 
static constexpr SETTER_BASE< Owner, T > * Wrap (void(Base::*aFunc)(T))
 
static constexpr SETTER_BASE< Owner, T > * Wrap (void(Base::*aFunc)(T &))
 
static constexpr SETTER_BASE< Owner, T > * Wrap (void(Base::*aFunc)(const T &))
 

Detailed Description

template<typename Owner, typename T, typename Base = Owner>
class METHOD< Owner, T, Base >

Definition at line 120 of file property.h.

Constructor & Destructor Documentation

◆ METHOD()

template<typename Owner , typename T , typename Base = Owner>
METHOD< Owner, T, Base >::METHOD ( )
delete

Member Function Documentation

◆ Wrap() [1/9]

template<typename Owner , typename T , typename Base = Owner>
static constexpr GETTER_BASE<Owner, T>* METHOD< Owner, T, Base >::Wrap ( T(Base::*)()  aFunc)
inlinestatic

Definition at line 123 of file property.h.

124  {
125  return new GETTER<Owner, T, T (Base::*)()>( aFunc );
126  }

◆ Wrap() [2/9]

template<typename Owner , typename T , typename Base = Owner>
static constexpr GETTER_BASE<Owner, T>* METHOD< Owner, T, Base >::Wrap ( const T(Base::*)()  aFunc)
inlinestatic

Definition at line 128 of file property.h.

129  {
130  return new GETTER<Owner, T, T (Base::*)()>( aFunc );
131  }

◆ Wrap() [3/9]

template<typename Owner , typename T , typename Base = Owner>
static constexpr GETTER_BASE<Owner, T>* METHOD< Owner, T, Base >::Wrap ( const T &(Base::*)()  aFunc)
inlinestatic

Definition at line 133 of file property.h.

134  {
135  return new GETTER<Owner, T, const T& (Base::*)()>( aFunc );
136  }

◆ Wrap() [4/9]

template<typename Owner , typename T , typename Base = Owner>
static constexpr GETTER_BASE<Owner, T>* METHOD< Owner, T, Base >::Wrap ( T(Base::*)() const  aFunc)
inlinestatic

Definition at line 138 of file property.h.

139  {
140  return new GETTER<Owner, T, T (Base::*)() const>( aFunc );
141  }

◆ Wrap() [5/9]

template<typename Owner , typename T , typename Base = Owner>
static constexpr GETTER_BASE<Owner, T>* METHOD< Owner, T, Base >::Wrap ( const T(Base::*)() const  aFunc)
inlinestatic

Definition at line 143 of file property.h.

144  {
146  }

◆ Wrap() [6/9]

template<typename Owner , typename T , typename Base = Owner>
static constexpr GETTER_BASE<Owner, T>* METHOD< Owner, T, Base >::Wrap ( const T &(Base::*)() const  aFunc)
inlinestatic

Definition at line 148 of file property.h.

149  {
151  }

◆ Wrap() [7/9]

template<typename Owner , typename T , typename Base = Owner>
static constexpr SETTER_BASE<Owner, T>* METHOD< Owner, T, Base >::Wrap ( void(Base::*)(T)  aFunc)
inlinestatic

Definition at line 153 of file property.h.

154  {
155  return aFunc ? new SETTER<Owner, T, void (Base::*)( T )>( aFunc ) : nullptr;
156  }

◆ Wrap() [8/9]

template<typename Owner , typename T , typename Base = Owner>
static constexpr SETTER_BASE<Owner, T>* METHOD< Owner, T, Base >::Wrap ( void(Base::*)(T &)  aFunc)
inlinestatic

Definition at line 158 of file property.h.

159  {
160  return aFunc ? new SETTER<Owner, T, void (Base::*)( T& )>( aFunc ) : nullptr;
161  }

◆ Wrap() [9/9]

template<typename Owner , typename T , typename Base = Owner>
static constexpr SETTER_BASE<Owner, T>* METHOD< Owner, T, Base >::Wrap ( void(Base::*)(const T &)  aFunc)
inlinestatic

Definition at line 163 of file property.h.

164  {
165  return aFunc ? new SETTER<Owner, T, void (Base::*)( const T& )>( aFunc ) : nullptr;
166  }

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