Changeset 27:c52e11111455 in finroc_plugins_composite_ports


Ignore:
Timestamp:
08.04.2021 06:51:27 (2 weeks ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
default
Phase:
public
Message:

Adds IsDerivedFrom utility function

Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • interface_types.h

    r23 r27  
    9494} 
    9595 
     96/*! 
     97 * \param base_type Base type 
     98 * \param type Type to check 
     99 * \return Whether base_type is base interface of type to check (possibly over multiple levels) 
     100 */ 
     101bool IsDerivedFrom(const rrlib::rtti::tType& base_type, const rrlib::rtti::tType& type); 
     102 
     103 
    96104//---------------------------------------------------------------------- 
    97105// End of namespace declaration 
Note: See TracChangeset for help on using the changeset viewer.