Only used in defsmanager.cpp and for the unit tests. We can't place it into a separate compilation unit, because defsmanager.cpp defines some explicit template instantiaton, which cause the different Slots of the DefsrRegistry::table_ to be filled with data and defaults for the specific Types.
defsregistryimpltest.cpp
Definition in file defsregistry.hpp.
#include "lib/sync-classlock.hpp"
#include "lib/query.hpp"
#include "lib/util.hpp"
#include "lib/p.hpp"
#include <set>
#include <vector>
#include <tr1/memory>
#include <boost/format.hpp>
#include <boost/utility.hpp>
#include <boost/lambda/lambda.hpp>


Go to the source code of this file.
Namespaces | |
| namespace | mobject |
| namespace | mobject::session |
| namespace | mobject::session::impl |
Classes | |
| class | mobject::session::impl::DefsRegistry |
| class | mobject::session::impl::DefsRegistry::Iter< TAR > |
| used for enumerating solutions More... | |
| struct | mobject::session::impl::Record< TAR > |
| holding a single "default object" entry More... | |
| struct | mobject::session::impl::Record< TAR >::OrderRelation |
| struct | mobject::session::impl::Record< TAR >::Search |
| < Functor searching for a specific object More... | |
| struct | mobject::session::impl::Slot< TAR > |
| every new kind of object (Type) creates a new slot in the main Table holding all registered default objects. More... | |
| struct | mobject::session::impl::TableEntry |
Typedefs | |
| typedef std::vector< P < TableEntry > > | mobject::session::impl::Table |
| we maintain an independent defaults registry for every participating kind of objects | |
Functions | |
| format | mobject::session::impl::dumpRecord ("%2i| %64s --> %s\n") |
| uint | mobject::session::impl::maxSlots (0) |
| number of different registered Types | |
1.5.6