📄 typebase.h
字号:
*/ void SetSize( size_t s ) const; /** * SetTypeInfo will set the type_info object of this type. * Attention: This will change the reflection information * of this type. */ void SetTypeInfo( const std::type_info & ti ) const; virtual void HideName() const; protected: /** * Pointer to the TypeName * @label At Name * @ling aggregation * @link aggregation * @supplierCardinality 1 * @clientCardinality 1 */ TypeName * fTypeName; /** C++ type_info object */ mutable const std::type_info * fTypeInfo; private: /** * The Scope of the Type * @label type scope * @link aggregation * @clientCardinality 1 * @supplierCardinality 1 */ Scope fScope; /** size of the type in int */ mutable size_t fSize; /** * TYPE (kind) of the Type * @link aggregation * @label type type * @clientCardinality 1 * @supplierCardinality 1 */ TYPE fTypeType; /** * Property list attached to this type * @label propertylist * @link aggregationByValue * @clientCardinality 1 * @supplierCardinality 1 */ OwnedPropertyList fPropertyList; /** * The position where the unscoped Name starts in the typename */ size_t fBasePosition; /** * the final type excluding typedefs * @label final typedef type * @link aggregation * @supplierCardinality 0..1 * @clientCardinality 1 */ mutable Type * fFinalType; /** * the raw type excluding pointers, typedefs and arrays * @label raw type * @link aggregation * @supplierCardinality 0..1 * @clientCardinality 1 */ mutable Type * fRawType; }; // class TypeBase } //namespace Reflex} //namespace ROOT#include "Reflex/TypeTemplate.h"//-------------------------------------------------------------------------------inline ROOT::Reflex::Base_Iterator ROOT::Reflex::TypeBase::Base_Begin() const {//------------------------------------------------------------------------------- return Dummy::BaseCont().begin();}//-------------------------------------------------------------------------------inline ROOT::Reflex::Base_Iterator ROOT::Reflex::TypeBase::Base_End() const {//------------------------------------------------------------------------------- return Dummy::BaseCont().end();}//-------------------------------------------------------------------------------inline ROOT::Reflex::Reverse_Base_Iterator ROOT::Reflex::TypeBase::Base_RBegin() const {//------------------------------------------------------------------------------- return Dummy::BaseCont().rbegin();}//-------------------------------------------------------------------------------inline ROOT::Reflex::Reverse_Base_Iterator ROOT::Reflex::TypeBase::Base_REnd() const {//------------------------------------------------------------------------------- return Dummy::BaseCont().rend();}//-------------------------------------------------------------------------------inline size_t ROOT::Reflex::TypeBase::DataMemberSize() const {//------------------------------------------------------------------------------- return 0;}//-------------------------------------------------------------------------------inline ROOT::Reflex::Member_Iterator ROOT::Reflex::TypeBase::DataMember_Begin() const {//------------------------------------------------------------------------------- return Dummy::MemberCont().begin();}//-------------------------------------------------------------------------------inline ROOT::Reflex::Member_Iterator ROOT::Reflex::TypeBase::DataMember_End() const {//------------------------------------------------------------------------------- return Dummy::MemberCont().end();}//-------------------------------------------------------------------------------inline ROOT::Reflex::Reverse_Member_Iterator ROOT::Reflex::TypeBase::DataMember_RBegin() const {//------------------------------------------------------------------------------- return Dummy::MemberCont().rbegin();}//-------------------------------------------------------------------------------inline ROOT::Reflex::Reverse_Member_Iterator ROOT::Reflex::TypeBase::DataMember_REnd() const {//------------------------------------------------------------------------------- return Dummy::MemberCont().rend();}//-------------------------------------------------------------------------------inline size_t ROOT::Reflex::TypeBase::FunctionMemberSize() const {//------------------------------------------------------------------------------- return 0;}//-------------------------------------------------------------------------------inline ROOT::Reflex::Member_Iterator ROOT::Reflex::TypeBase::FunctionMember_Begin() const {//------------------------------------------------------------------------------- return Dummy::MemberCont().begin();}//-------------------------------------------------------------------------------inline ROOT::Reflex::Member_Iterator ROOT::Reflex::TypeBase::FunctionMember_End() const {//------------------------------------------------------------------------------- return Dummy::MemberCont().end();}//-------------------------------------------------------------------------------inline ROOT::Reflex::Reverse_Member_Iterator ROOT::Reflex::TypeBase::FunctionMember_RBegin() const {//------------------------------------------------------------------------------- return Dummy::MemberCont().rbegin();}//-------------------------------------------------------------------------------inline ROOT::Reflex::Reverse_Member_Iterator ROOT::Reflex::TypeBase::FunctionMember_REnd() const {//------------------------------------------------------------------------------- return Dummy::MemberCont().rend();}//-------------------------------------------------------------------------------inline bool ROOT::Reflex::TypeBase::IsAbstract() const {//------------------------------------------------------------------------------- return false;}//-------------------------------------------------------------------------------inline bool ROOT::Reflex::TypeBase::IsArray() const {//------------------------------------------------------------------------------- return ( fTypeType == ARRAY );}//-------------------------------------------------------------------------------inline bool ROOT::Reflex::TypeBase::IsClass() const {//------------------------------------------------------------------------------- return ( fTypeType == CLASS || fTypeType == TYPETEMPLATEINSTANCE || fTypeType == STRUCT );}//-------------------------------------------------------------------------------inline bool ROOT::Reflex::TypeBase::IsComplete() const {//------------------------------------------------------------------------------- return true;}//-------------------------------------------------------------------------------inline bool ROOT::Reflex::TypeBase::IsEnum() const {//------------------------------------------------------------------------------- return ( fTypeType == ENUM );}//-------------------------------------------------------------------------------inline bool ROOT::Reflex::TypeBase::IsFunction() const {//------------------------------------------------------------------------------- return ( fTypeType == FUNCTION );}//-------------------------------------------------------------------------------inline bool ROOT::Reflex::TypeBase::IsFundamental() const {//------------------------------------------------------------------------------- return ( fTypeType == FUNDAMENTAL );}//-------------------------------------------------------------------------------inline bool ROOT::Reflex::TypeBase::IsPointer() const {//------------------------------------------------------------------------------- return ( fTypeType == POINTER );}//-------------------------------------------------------------------------------inline bool ROOT::Reflex::TypeBase::IsStruct() const {//------------------------------------------------------------------------------- return ( fTypeType == STRUCT );}//-------------------------------------------------------------------------------inline bool ROOT::Reflex::TypeBase::IsPointerToMember() const {//------------------------------------------------------------------------------- return ( fTypeType == POINTERTOMEMBER );}//-------------------------------------------------------------------------------inline bool ROOT::Reflex::TypeBase::IsTemplateInstance() const {//------------------------------------------------------------------------------- return ( fTypeType == TYPETEMPLATEINSTANCE || fTypeType == MEMBERTEMPLATEINSTANCE );}//-------------------------------------------------------------------------------inline bool ROOT::Reflex::TypeBase::IsTypedef() const {//------------------------------------------------------------------------------- return ( fTypeType == TYPEDEF );}//-------------------------------------------------------------------------------inline bool ROOT::Reflex::TypeBase::IsUnion() const {//------------------------------------------------------------------------------- return ( fTypeType == UNION );}//-------------------------------------------------------------------------------inline bool ROOT::Reflex::TypeBase::IsPrivate() const {//------------------------------------------------------------------------------- return false;}//-------------------------------------------------------------------------------inline bool ROOT::Reflex::TypeBase::IsProtected() const {//------------------------------------------------------------------------------- return false;}//-------------------------------------------------------------------------------inline bool ROOT::Reflex::TypeBase::IsPublic() const {//------------------------------------------------------------------------------- return false;}//-------------------------------------------------------------------------------inline bool ROOT::Reflex::TypeBase::IsVirtual() const {//------------------------------------------------------------------------------- return false;}//-------------------------------------------------------------------------------inline size_t ROOT::Reflex::TypeBase::MemberSize() const {//------------------------------------------------------------------------------- return 0;}//-------------------------------------------------------------------------------inline ROOT::Reflex::Member_Iterator ROOT::Reflex::TypeBase::Member_Begin() const {//------------------------------------------------------------------------------- return Dummy::MemberCont().begin();}//-------------------------------------------------------------------------------inline ROOT::Reflex::Member_Iterator ROOT::Reflex::TypeBase::Member_End() const {//------------------------------------------------------------------------------- return Dummy::MemberCont().end();}//-------------------------------------------------------------------------------inline ROOT::Reflex::Reverse_Member_Iterator ROOT::Reflex::TypeBase::Member_RBegin() const {//------------------------------------------------------------------------------- return Dummy::MemberCont().rbegin();}//-------------------------------------------------------------------------------inline ROOT::Reflex::Reverse_Member_Iterator ROOT::Reflex::TypeBase::Member_REnd() const {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -