31 #ifndef MOBJECT_SESSION_QUERY_FOCUS_STACK_H 32 #define MOBJECT_SESSION_QUERY_FOCUS_STACK_H 73 std::list<ScopePath> paths_;
105 QueryFocusStack::empty ()
const 107 return paths_.empty();
112 QueryFocusStack::size ()
const 114 return paths_.size();
119 QueryFocusStack::clear ()
139 paths_.push_back (newPathFrame);
141 return paths_.back();
153 || 0 == paths_.back().ref_count()
158 return paths_.back();
172 if (1 == size() && !paths_.front().isValid())
175 while (size() && (0 == paths_.back().ref_count()))
191 REQUIRE (0 == size());
195 ENSURE (!paths_.front().empty());
196 ENSURE (!paths_.front().isValid());
ScopePath & push(Scope const &)
Open a new path frame, pushing down the current frame.
Any copy and copy construction prohibited.
Steam-Layer implementation namespace root.
Namespace of Session and user visible high-level objects.
Sequence of nested scopes within the high-level model.
A Placement scope within the high-level-model.
Mix-Ins to allow or prohibit various degrees of copying and cloning.
void pop_unused()
investigate the stack top and discard any path frames which aren't referred anymore (as indicated by ...
bool isValid() const
a valid path consists of more than just the root element.
An Object representing a sequence of nested scopes within the Session.
A custom stack holding ScopePath »frames«.