2#include "Engine/Core/Path.h"
28 Scope(
const Path& path, std::string scopeType) : path_{path}, scopeType_{std::move(scopeType)}
36 const std::string&
getType()
const {
return scopeType_; }
40 std::string scopeType_;
A default path class for creation and manipulation of tree-based paths.
Definition Path.h:14
One place nodes live, either the root or the inside of a node that holds one.
Definition Scope.h:26
const std::string & getType() const
Returns the kind of nodes this scope holds, such as "geometry".
Definition Scope.h:36
const Path & getPath() const
Returns the path this scope sits at, which its nodes are children of.
Definition Scope.h:33