Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
test-scope-invalid.hpp
Go to the documentation of this file.
1/*
2 TEST-SCOPE-INVALID.hpp - helper for placement scope and scope stack tests
3
4 Copyright (C)
5 2010, Hermann Vosseler <Ichthyostega@web.de>
6
7  **Lumiera** is free software; you can redistribute it and/or modify it
8  under the terms of the GNU General Public License as published by the
9  Free Software Foundation; either version 2 of the License, or (at your
10  option) any later version. See the file COPYING for further details.
11
12*/
13
20#ifndef MOBJECT_SESSION_TEST_SCOPE_INVALID_H
21#define MOBJECT_SESSION_TEST_SCOPE_INVALID_H
22
23
26
27
28
29namespace steam {
30namespace mobject {
31namespace session {
32namespace test {
33
34
35 namespace { // nifty subversive test helper...
36
37 Scope const&
39 {
45 struct Ambush
46 {
49 PlacementMO::ID derailed_;
50 };
51
52 static Ambush _shady_scope_;
53 return *reinterpret_cast<Scope*> (&_shady_scope_);
54 }
55 }
56
57
58
59}}}} // namespace steam::mobject::session::test
60#endif
A Placement scope within the high-level-model.
Definition scope.hpp:70
Namespace of Session and user visible high-level objects.
Definition sequence.hpp:65
Steam-Layer implementation namespace root.
Test runner and basic definitions for tests.
Core abstraction: placement of a media object into session context.