From a7567d08e4d5869833069ec7211785af350aea88 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sat, 20 Dec 2014 15:51:00 +0100 Subject: Renamed ManagedType class to Rtti to make naming less confusing, implemented easier to use Rtti clas --- src/core/model/Typesystem.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/core/model') diff --git a/src/core/model/Typesystem.cpp b/src/core/model/Typesystem.cpp index 3fc8465..724bf0e 100644 --- a/src/core/model/Typesystem.cpp +++ b/src/core/model/Typesystem.cpp @@ -76,13 +76,13 @@ EnumType EnumType::createValidated(Manager &mgr, std::string name, /* RTTI type registrations */ -const ManagedType Type_T("Type", typeid(Type)); -const ManagedType StringType_T("StringType", typeid(StringType), {&Type_T}); -const ManagedType IntType_T("IntType", typeid(IntType), {&Type_T}); -const ManagedType DoubleType_T("DoubleType", typeid(DoubleType), {&Type_T}); -const ManagedType BoolType_T("BoolType", typeid(BoolType), {&Type_T}); -const ManagedType EnumType_T("EnumType", typeid(EnumType), {&Type_T}); -const ManagedType StructType_T("StructType", typeid(EnumType), {&Type_T}); +const Rtti Type_T("Type"); +const Rtti StringType_T("StringType", {&Type_T}); +const Rtti IntType_T("IntType", {&Type_T}); +const Rtti DoubleType_T("DoubleType", {&Type_T}); +const Rtti BoolType_T("BoolType", {&Type_T}); +const Rtti EnumType_T("EnumType", {&Type_T}); +const Rtti StructType_T("StructType", {&Type_T}); } } -- cgit v1.2.3