Range representing a path and ancestors, and providing methods for iterating over them.
An ancestor range represents a path and all of its ancestors ordered from nearest to furthest (root-most). For example, given a path like /a/b.prop
, the range represents paths /a/b.prop
, /a/b
and /a
, in that order. A range accepts relative paths as well: For path a/b.prop
, the range represents paths 'a/b.prop,
a/band
a. If a path contains parent path elements, (
..), those elements are treated as elements of the range. For instance, given path
../a/b, the range represents paths
../a/b,
../aand
... This represents the same of set of
prefix` paths as SdfPath::GetPrefixes, but in reverse order.
Definition at line 1083 of file path.h.