typebuilder.h
来自「cint...昨天看到有个c++解释器,叫CINT,down下来一用,很爽,推荐」· C头文件 代码 · 共 907 行 · 第 1/4 页
H
907 行
template < typename R, typename T0, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9 > class FunctionDistiller<__R_TN__ R(__R_TN__ T0, __R_TN__ T1, __R_TN__ T2, __R_TN__ T3, __R_TN__ T4, __R_TN__ T5, __R_TN__ T6, __R_TN__ T7, __R_TN__ T8, __R_TN__ T9)> { public: static Type Get() { Type t = Type::ByTypeInfo(typeid(R(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9))); if ( t ) return t; else return FunctionTypeBuilder( TypeDistiller<R>::Get(), Tools::MakeVector( TypeDistiller<T0>::Get(), TypeDistiller<T1>::Get(), TypeDistiller<T2>::Get(), TypeDistiller<T3>::Get(), TypeDistiller<T4>::Get(), TypeDistiller<T5>::Get(), TypeDistiller<T6>::Get(), TypeDistiller<T7>::Get(), TypeDistiller<T8>::Get(), TypeDistiller<T9>::Get()), typeid(R( T0, T1, T2, T3, T4, T5, T6, T7, T8, T9))); } }; /** */ template < typename R, typename T0, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10 > class FunctionDistiller<__R_TN__ R(__R_TN__ T0, __R_TN__ T1, __R_TN__ T2, __R_TN__ T3, __R_TN__ T4, __R_TN__ T5, __R_TN__ T6, __R_TN__ T7, __R_TN__ T8, __R_TN__ T9, __R_TN__ T10)> { public: static Type Get() { Type t = Type::ByTypeInfo(typeid(R(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10))); if ( t ) return t; else return FunctionTypeBuilder( TypeDistiller<R>::Get(), Tools::MakeVector( TypeDistiller<T0>::Get(), TypeDistiller<T1>::Get(), TypeDistiller<T2>::Get(), TypeDistiller<T3>::Get(), TypeDistiller<T4>::Get(), TypeDistiller<T5>::Get(), TypeDistiller<T6>::Get(), TypeDistiller<T7>::Get(), TypeDistiller<T8>::Get(), TypeDistiller<T9>::Get(), TypeDistiller<T10>::Get()), typeid(R( T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10))); } }; /** */ template < typename R, typename T0, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11 > class FunctionDistiller<__R_TN__ R(__R_TN__ T0, __R_TN__ T1, __R_TN__ T2, __R_TN__ T3, __R_TN__ T4, __R_TN__ T5, __R_TN__ T6, __R_TN__ T7, __R_TN__ T8, __R_TN__ T9, __R_TN__ T10, __R_TN__ T11)> { public: static Type Get() { Type t = Type::ByTypeInfo(typeid(R(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11))); if ( t ) return t; else return FunctionTypeBuilder( TypeDistiller<R>::Get(), Tools::MakeVector( TypeDistiller<T0>::Get(), TypeDistiller<T1>::Get(), TypeDistiller<T2>::Get(), TypeDistiller<T3>::Get(), TypeDistiller<T4>::Get(), TypeDistiller<T5>::Get(), TypeDistiller<T6>::Get(), TypeDistiller<T7>::Get(), TypeDistiller<T8>::Get(), TypeDistiller<T9>::Get(), TypeDistiller<T10>::Get(), TypeDistiller<T11>::Get()), typeid(R( T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11))); } }; /** */ template < typename R, typename T0, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12 > class FunctionDistiller<__R_TN__ R(__R_TN__ T0, __R_TN__ T1, __R_TN__ T2, __R_TN__ T3, __R_TN__ T4, __R_TN__ T5, __R_TN__ T6, __R_TN__ T7, __R_TN__ T8, __R_TN__ T9, __R_TN__ T10, __R_TN__ T11, __R_TN__ T12)> { public: static Type Get() { Type t = Type::ByTypeInfo(typeid(R(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12))); if ( t ) return t; else return FunctionTypeBuilder( TypeDistiller<R>::Get(), Tools::MakeVector( TypeDistiller<T0>::Get(), TypeDistiller<T1>::Get(), TypeDistiller<T2>::Get(), TypeDistiller<T3>::Get(), TypeDistiller<T4>::Get(), TypeDistiller<T5>::Get(), TypeDistiller<T6>::Get(), TypeDistiller<T7>::Get(), TypeDistiller<T8>::Get(), TypeDistiller<T9>::Get(), TypeDistiller<T10>::Get(), TypeDistiller<T11>::Get(), TypeDistiller<T12>::Get()), typeid(R( T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12))); } }; /** */ template < typename R, typename T0, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13 > class FunctionDistiller<__R_TN__ R(__R_TN__ T0, __R_TN__ T1, __R_TN__ T2, __R_TN__ T3, __R_TN__ T4, __R_TN__ T5, __R_TN__ T6, __R_TN__ T7, __R_TN__ T8, __R_TN__ T9, __R_TN__ T10, __R_TN__ T11, __R_TN__ T12, __R_TN__ T13)> { public: static Type Get() { Type t = Type::ByTypeInfo(typeid(R(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13))); if ( t ) return t; else return FunctionTypeBuilder( TypeDistiller<R>::Get(), Tools::MakeVector( TypeDistiller<T0>::Get(), TypeDistiller<T1>::Get(), TypeDistiller<T2>::Get(), TypeDistiller<T3>::Get(), TypeDistiller<T4>::Get(), TypeDistiller<T5>::Get(), TypeDistiller<T6>::Get(), TypeDistiller<T7>::Get(), TypeDistiller<T8>::Get(), TypeDistiller<T9>::Get(), TypeDistiller<T10>::Get(), TypeDistiller<T11>::Get(), TypeDistiller<T12>::Get(), TypeDistiller<T13>::Get()), typeid(R( T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13))); } }; /** */ template < typename R, typename T0, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14 > class FunctionDistiller<__R_TN__ R(__R_TN__ T0, __R_TN__ T1, __R_TN__ T2, __R_TN__ T3, __R_TN__ T4, __R_TN__ T5, __R_TN__ T6, __R_TN__ T7, __R_TN__ T8, __R_TN__ T9, __R_TN__ T10, __R_TN__ T11, __R_TN__ T12, __R_TN__ T13, __R_TN__ T14)> { public: static Type Get() { Type t = Type::ByTypeInfo(typeid(R(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14))); if ( t ) return t; else return FunctionTypeBuilder( TypeDistiller<R>::Get(), Tools::MakeVector( TypeDistiller<T0>::Get(), TypeDistiller<T1>::Get(), TypeDistiller<T2>::Get(), TypeDistiller<T3>::Get(), TypeDistiller<T4>::Get(), TypeDistiller<T5>::Get(), TypeDistiller<T6>::Get(), TypeDistiller<T7>::Get(), TypeDistiller<T8>::Get(), TypeDistiller<T9>::Get(), TypeDistiller<T10>::Get(), TypeDistiller<T11>::Get(), TypeDistiller<T12>::Get(), TypeDistiller<T13>::Get(), TypeDistiller<T14>::Get()), typeid(R( T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14))); } }; /** */ template < typename R, typename T0, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15 > class FunctionDistiller<__R_TN__ R(__R_TN__ T0, __R_TN__ T1, __R_TN__ T2, __R_TN__ T3, __R_TN__ T4, __R_TN__ T5, __R_TN__ T6, __R_TN__ T7, __R_TN__ T8, __R_TN__ T9, __R_TN__ T10, __R_TN__ T11, __R_TN__ T12, __R_TN__ T13, __R_TN__ T14, __R_TN__ T15)> { public: static Type Get() { Type t = Type::ByTypeInfo(typeid(R(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15))); if ( t ) return t; else return FunctionTypeBuilder( TypeDistiller<R>::Get(), Tools::MakeVector( TypeDistiller<T0>::Get(), TypeDistiller<T1>::Get(), TypeDistiller<T2>::Get(), TypeDistiller<T3>::Get(), TypeDistiller<T4>::Get(), TypeDistiller<T5>::Get(), TypeDistiller<T6>::Get(), TypeDistiller<T7>::Get(), TypeDistiller<T8>::Get(), TypeDistiller<T9>::Get(), TypeDistiller<T10>::Get(), TypeDistiller<T11>::Get(), TypeDistiller<T12>::Get(), TypeDistiller<T13>::Get(), TypeDistiller<T14>::Get(), TypeDistiller<T15>::Get()), typeid(R( T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15))); } };#undef __R_TN__ // end of the Sun Forte CC fix } // namespace Reflex } // namespace ROOT#endif // ROOT_Reflex_TypeBuilder
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?