📄 typebuilder.h
字号:
// @(#)root/reflex:$Name: $:$Id: TypeBuilder.h,v 1.14 2006/09/12 13:06:46 roiser Exp $// Author: Stefan Roiser 2004// Copyright CERN, CH-1211 Geneva 23, 2004-2006, All rights reserved.//// Permission to use, copy, modify, and distribute this software for any// purpose is hereby granted without fee, provided that this copyright and// permissions notice appear in all copies and derivatives.//// This software is provided "as is" without express or implied warranty.#ifndef ROOT_Reflex_TypeBuilder#define ROOT_Reflex_TypeBuilder// Include files#include "Reflex/Type.h"#include "Reflex/Tools.h"#include <vector>#if defined(__ICC)#define OffsetOf(c1,mem) (int(&(((c1*)0)->mem)))#else#define OffsetOf(c1,mem) ((size_t)(&((c1*)64)->mem)-64)#endifnamespace ROOT{ namespace Reflex{ RFLX_API Type TypeBuilder( const char * n, unsigned int modifiers = 0 ); RFLX_API Type ConstBuilder( const Type & t ); RFLX_API Type VolatileBuilder( const Type & t ); RFLX_API Type PointerBuilder( const Type & t, const std::type_info & ti = typeid(UnknownType)); RFLX_API Type PointerToMemberBuilder( const Type & t, const Scope & s, const std::type_info & ti = typeid(UnknownType)); RFLX_API Type ReferenceBuilder( const Type & t ); RFLX_API Type ArrayBuilder( const Type & t, size_t n, const std::type_info & ti = typeid(UnknownType)); RFLX_API Type EnumTypeBuilder( const char *, const char * items = "", const std::type_info & ti = typeid(UnknownType), unsigned int modifiers = 0 ); RFLX_API Type TypedefTypeBuilder( const char * Name, const Type & t ); RFLX_API Type FunctionTypeBuilder( const Type & r, const std::vector<Type> & p, const std::type_info & ti = typeid(UnknownType)); RFLX_API Type FunctionTypeBuilder(const Type & r); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4, const Type & t5); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4, const Type & t5, const Type & t6); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4, const Type & t5, const Type & t6, const Type & t7); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4, const Type & t5, const Type & t6, const Type & t7, const Type & t8); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4, const Type & t5, const Type & t6, const Type & t7, const Type & t8, const Type & t9); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4, const Type & t5, const Type & t6, const Type & t7, const Type & t8, const Type & t9, const Type & t10); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4, const Type & t5, const Type & t6, const Type & t7, const Type & t8, const Type & t9, const Type & t10, const Type & t11); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4, const Type & t5, const Type & t6, const Type & t7, const Type & t8, const Type & t9, const Type & t10, const Type & t11, const Type & t12); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4, const Type & t5, const Type & t6, const Type & t7, const Type & t8, const Type & t9, const Type & t10, const Type & t11, const Type & t12, const Type & t13); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4, const Type & t5, const Type & t6, const Type & t7, const Type & t8, const Type & t9, const Type & t10, const Type & t11, const Type & t12, const Type & t13, const Type & t14); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4, const Type & t5, const Type & t6, const Type & t7, const Type & t8, const Type & t9, const Type & t10, const Type & t11, const Type & t12, const Type & t13, const Type & t14, const Type & t15); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4, const Type & t5, const Type & t6, const Type & t7, const Type & t8, const Type & t9, const Type & t10, const Type & t11, const Type & t12, const Type & t13, const Type & t14, const Type & t15, const Type & t16); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4, const Type & t5, const Type & t6, const Type & t7, const Type & t8, const Type & t9, const Type & t10, const Type & t11, const Type & t12, const Type & t13, const Type & t14, const Type & t15, const Type & t16, const Type & t17); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4, const Type & t5, const Type & t6, const Type & t7, const Type & t8, const Type & t9, const Type & t10, const Type & t11, const Type & t12, const Type & t13, const Type & t14, const Type & t15, const Type & t16, const Type & t17, const Type & t18); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4, const Type & t5, const Type & t6, const Type & t7, const Type & t8, const Type & t9, const Type & t10, const Type & t11, const Type & t12, const Type & t13, const Type & t14, const Type & t15, const Type & t16, const Type & t17, const Type & t18, const Type & t19); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4, const Type & t5, const Type & t6, const Type & t7, const Type & t8, const Type & t9, const Type & t10, const Type & t11, const Type & t12, const Type & t13, const Type & t14, const Type & t15, const Type & t16, const Type & t17, const Type & t18, const Type & t19, const Type & t20); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4, const Type & t5, const Type & t6, const Type & t7, const Type & t8, const Type & t9, const Type & t10, const Type & t11, const Type & t12, const Type & t13, const Type & t14, const Type & t15, const Type & t16, const Type & t17, const Type & t18, const Type & t19, const Type & t20, const Type & t21); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4, const Type & t5, const Type & t6, const Type & t7, const Type & t8, const Type & t9, const Type & t10, const Type & t11, const Type & t12, const Type & t13, const Type & t14, const Type & t15, const Type & t16, const Type & t17, const Type & t18, const Type & t19, const Type & t20, const Type & t21, const Type & t22); RFLX_API Type FunctionTypeBuilder(const Type & r, const Type & t0, const Type & t1, const Type & t2, const Type & t3, const Type & t4,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -