From 7df5f30494b7da283164717dea9098c8d9dca77a Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sun, 11 Jan 2015 13:23:26 +0100 Subject: Renamed RttiBase to RttiType --- src/core/model/Node.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/core/model/Node.cpp') diff --git a/src/core/model/Node.cpp b/src/core/model/Node.cpp index 5d8bbeb..284f323 100644 --- a/src/core/model/Node.cpp +++ b/src/core/model/Node.cpp @@ -64,7 +64,7 @@ public: /** * Type of the node that was requested for resolution. */ - const RttiBase &type; + const RttiType &type; /** * Tracks all nodes that have already been visited. @@ -87,7 +87,7 @@ public: * @param type is the type of the node that should be resolved. */ SharedResolutionState(const std::vector &path, - const RttiBase &type) + const RttiType &type) : path(path), type(type) { } @@ -184,9 +184,9 @@ public: * * @return true if the type matches, false otherwise. */ - bool typeMatches(const RttiBase &type) { return type.isa(shared.type); } + bool typeMatches(const RttiType &type) { return type.isa(shared.type); } - bool canContainType(const RttiBase &type) + bool canContainType(const RttiType &type) { return type.composedOf(shared.type); } @@ -328,7 +328,7 @@ bool Node::continueResolveReference(Handle h, ResolutionState &state) } std::vector Node::resolve( - const std::vector &path, const RttiBase &type) + const std::vector &path, const RttiType &type) { // Create the state variables SharedResolutionState sharedState(path, type); @@ -344,7 +344,7 @@ std::vector Node::resolve( } std::vector Node::resolve(const std::string &name, - const RttiBase &type) + const RttiType &type) { // Place the name in a vector and call the corresponding resolve function return resolve(std::vector{name}, type); -- cgit v1.2.3