summaryrefslogtreecommitdiff
path: root/src/core/managed
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-18 18:41:30 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-18 18:41:30 +0100
commit66382c62af1be515deff66d51dba7f27e5fe4937 (patch)
treecdd661a560ef1f766889d661d8c7561d18bfbabb /src/core/managed
parent7d788f2dce18c3ba6f11f7f032d35fef2e5fa9d4 (diff)
Renamed RttiType to Rtti
Diffstat (limited to 'src/core/managed')
-rw-r--r--src/core/managed/Managed.cpp6
-rw-r--r--src/core/managed/Managed.hpp20
-rw-r--r--src/core/managed/Manager.cpp4
3 files changed, 15 insertions, 15 deletions
diff --git a/src/core/managed/Managed.cpp b/src/core/managed/Managed.cpp
index d9f3a86..a3caa76 100644
--- a/src/core/managed/Managed.cpp
+++ b/src/core/managed/Managed.cpp
@@ -77,11 +77,11 @@ bool Managed::unregisterEvent(EventType type, EventHandler handler,
bool Managed::triggerEvent(Event &ev) { return mgr.triggerEvent(this, ev); }
-const RttiType &Managed::type() const { return typeOf(*this); }
+const Rtti &Managed::type() const { return typeOf(*this); }
-bool Managed::isa(const RttiType &t) const { return type().isa(t); }
+bool Managed::isa(const Rtti &t) const { return type().isa(t); }
-bool Managed::composedOf(const RttiType &t) const
+bool Managed::composedOf(const Rtti &t) const
{
return type().composedOf(t);
}
diff --git a/src/core/managed/Managed.hpp b/src/core/managed/Managed.hpp
index e98e95e..08158b2 100644
--- a/src/core/managed/Managed.hpp
+++ b/src/core/managed/Managed.hpp
@@ -41,7 +41,7 @@ class Rooted;
template <class T>
class Owned;
-class RttiType;
+class Rtti;
// TODO: Implement clone, getReferenced and getReferencing
@@ -207,32 +207,32 @@ public:
/* RTTI methods */
/**
- * Returns the RttiType instance registered for instances of the type of
+ * Returns the Rtti instance registered for instances of the type of
* this Managed instance.
*
- * @return a reference to the registered RttiType for this particular
+ * @return a reference to the registered Rtti for this particular
* Managed class.
*/
- const RttiType &type() const;
+ const Rtti &type() const;
/**
* Returns true if this Managed instance is of the type described by the
- * given RttiType instance.
+ * given Rtti instance.
*
- * @param true if the RttiType registered for this particular Managed
+ * @param true if the Rtti registered for this particular Managed
* class is of the given type or one of the registered parent types is of
* the given type.
*/
- bool isa(const RttiType &t) const;
+ bool isa(const Rtti &t) const;
/**
* Returns true if this Managed instance may contain instances of the type
- * described by the given RttiType instance.
+ * described by the given Rtti instance.
*
- * @param true if the RttiType registered for this particular Managed class
+ * @param true if the Rtti registered for this particular Managed class
* may contain instance of the given type.
*/
- bool composedOf(const RttiType &t) const;
+ bool composedOf(const Rtti &t) const;
};
/**
diff --git a/src/core/managed/Manager.cpp b/src/core/managed/Manager.cpp
index c6d7f93..212aa9d 100644
--- a/src/core/managed/Manager.cpp
+++ b/src/core/managed/Manager.cpp
@@ -592,7 +592,7 @@ void Manager::exportGraphviz(const char *filename)
: std::vector<EventHandlerDescriptor>{};
// Read type information and Node name (if available)
- const RttiType &type = objectPtr->type();
+ const Rtti &type = objectPtr->type();
const std::string &typeName = type.name;
// Fetch the name of the object if the object has a "name" property
@@ -659,7 +659,7 @@ void Manager::exportGraphviz(const char *filename)
while (edgeCount > 0) {
// Get the type of the target element
uintptr_t pTar = reinterpret_cast<uintptr_t>(e.first);
- const RttiType &typeTar = e.first->type();
+ const Rtti &typeTar = e.first->type();
// Get some information about the edge
std::string port = "";