SOFA API  b3f2f2a4
Open source framework for multi-physics simuation
sofa::core::objectmodel::Parents< T, Types > Struct Template Reference

#include <BaseClass.h>

Detailed Description

template<class T, class ... Types>
struct sofa::core::objectmodel::Parents< T, Types >

Represents a list of types with ability to get the number of types, and the ith type BaseClass

Static Public Attributes

static constexpr std::size_t nb = sizeof...(Types) + 1
 

Static Public Member Functions

static const BaseClassget (const std::size_t i)
 

Attribute details

◆ nb

template<class T , class ... Types>
constexpr std::size_t sofa::core::objectmodel::Parents< T, Types >::nb = sizeof...(Types) + 1
staticconstexpr

Function details

◆ get()

template<class T , class ... Types>
static const BaseClass* sofa::core::objectmodel::Parents< T, Types >::get ( const std::size_t  i)
inlinestatic