PLCnext API Documentation  22.9.0.33
Classes | Functions
TypeDeduction

Classes

struct  Arp::underlying_enum_type< T, IsEnum >
 Determines the underlying type of an enum class. More...
 
struct  Arp::underlying_enum_type< T, true >
 Determines the underlying type of an enum class. More...
 
struct  Arp::remove_shared_ptr< T >
 Gets the value type of a shared_ptr. More...
 
struct  Arp::remove_shared_ptr< std::shared_ptr< T > >
 Gets the value type of a shared_ptr. More...
 

Functions

template<class T , class TInstance >
bool Arp::IsInstanceOfType (const TInstance &instance)
 Tests if the type of the as argument passed instance is T or derived by T . More...
 
template<class T , class TInstance >
bool Arp::IsInstanceOfType (const TInstance *pInstance)
 Tests if the type of the as argument passed instance is T or derived by T . More...
 
template<class T , class TInstance >
bool Arp::IsInstanceOfType (TInstance &instance)
 Tests if the type of the as argument passed instance is T or derived by T . More...
 
template<class T , class TInstance >
bool Arp::IsInstanceOfType (TInstance *pInstance)
 Tests if the type of the as argument passed instance is T or derived by T . More...
 

Detailed Description

Function Documentation

◆ IsInstanceOfType() [1/4]

template<class T , class TInstance >
bool Arp::IsInstanceOfType ( const TInstance &  instance)
inline

Tests if the type of the as argument passed instance is T or derived by T .

Template Parameters
TThe (base) type to test for.
TInstanceThe type of the as argument passed instance which is deducted automatically.
Parameters
instanceThe instance to test its type.
Returns
true if the type of the as argument passed instance is T or derived by T .

◆ IsInstanceOfType() [2/4]

template<class T , class TInstance >
bool Arp::IsInstanceOfType ( const TInstance *  pInstance)
inline

Tests if the type of the as argument passed instance is T or derived by T .

Template Parameters
TThe (base) type to test for.
TInstanceThe type of the as argument passed instance which is deducted automatically.
Parameters
pInstanceThe pointer to instance to test its type.
Returns
true if the type of the as argument passed instance is T or derived by T .

◆ IsInstanceOfType() [3/4]

template<class T , class TInstance >
bool Arp::IsInstanceOfType ( TInstance &  instance)
inline

Tests if the type of the as argument passed instance is T or derived by T .

Template Parameters
TThe (base) type to test for.
TInstanceThe type of the as argument passed instance which is deducted automatically.
Parameters
instanceThe instance to test its type.
Returns
true if the type of the as argument passed instance is T or derived by T .

◆ IsInstanceOfType() [4/4]

template<class T , class TInstance >
bool Arp::IsInstanceOfType ( TInstance *  pInstance)
inline

Tests if the type of the as argument passed instance is T or derived by T .

Template Parameters
TThe (base) type to test for.
TInstanceThe type of the as argument passed instance which is deducted automatically.
Parameters
pInstanceThe pointer to the instance to test its type.
Returns
true if the type of the as argument passed instance is T or derived by T .