diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2014-12-20 15:51:00 +0100 |
---|---|---|
committer | Andreas Stöckel <andreas@somweyr.de> | 2014-12-20 15:51:00 +0100 |
commit | a7567d08e4d5869833069ec7211785af350aea88 (patch) | |
tree | 120971129563f9e5f054ea5bb740fcbf8f473936 /src/core/model | |
parent | 87233da76c01ebead18a26f01ffb4e20dffe3214 (diff) |
Renamed ManagedType class to Rtti to make naming less confusing, implemented easier to use Rtti clas
Diffstat (limited to 'src/core/model')
-rw-r--r-- | src/core/model/Typesystem.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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> Type_T("Type"); +const Rtti<StringType> StringType_T("StringType", {&Type_T}); +const Rtti<IntType> IntType_T("IntType", {&Type_T}); +const Rtti<DoubleType> DoubleType_T("DoubleType", {&Type_T}); +const Rtti<BoolType> BoolType_T("BoolType", {&Type_T}); +const Rtti<EnumType> EnumType_T("EnumType", {&Type_T}); +const Rtti<StructType> StructType_T("StructType", {&Type_T}); } } |