22#ifndef MOBJECT_SESSION_QUERY_FOCUS_STACK_H
23#define MOBJECT_SESSION_QUERY_FOCUS_STACK_H
130 paths_.push_back (newPathFrame);
144 or 0 ==
paths_.back().ref_count()
163 if (1 ==
size() and not
paths_.front().isValid())
166 while (
size() and (0 ==
paths_.back().ref_count()))
182 REQUIRE (0 ==
size());
186 ENSURE (not
paths_.front().empty());
187 ENSURE (not
paths_.front().isValid());
A custom stack holding ScopePath »frames«.
std::list< ScopePath > paths_
ScopePath & push(Scope const &)
Open a new path frame, pushing down the current frame.
void pop_unused()
investigate the stack top and discard any path frames which aren't referred anymore (as indicated by ...
Sequence of nested scopes within the high-level model.
bool isValid() const
a valid path consists of more than just the root element.
A Placement scope within the high-level-model.
Any copy and copy construction prohibited.
Namespace of Session and user visible high-level objects.
Steam-Layer implementation namespace root.
Mix-Ins to allow or prohibit various degrees of copying and cloning.
An Object representing a sequence of nested scopes within the Session.