Lumiera
0.pre.03
»edit your freedom«
|
Go to the source code of this file.
Implementation of a fake query resolution service based on preconfigured answers.
Since we're not able to build or even integrate a real resolution engine for the time being, we use a table of preconfigured answers, which allows us to handle the standard cases and some additional unit test cases.
Obviously this is a dirty hack, and the implementation is a pile of spaghetti code, hastily bashed together to keep things going. Typically this fake code collaborates with backdoor functions placed into otherwise not yet implemented facilities, to get past the roadblock. For example, StructFactory::made4fake()
Definition in file fake-configrules.cpp.
#include "steam/mobject/session/query/fake-configrules.hpp"
#include "steam/mobject/session.hpp"
#include "steam/mobject/session/fork.hpp"
#include "steam/asset/procpatt.hpp"
#include "steam/asset/pipe.hpp"
#include "lib/query-util.hpp"
#include "common/query.hpp"
#include "include/logging.h"
#include "lib/symbol.hpp"
#include "lib/util.hpp"
Typedefs | |
typedef std::pair< const QueryKey, any > | AnyPair |
Functions | |
template<class TY > | |
AnyPair | entry (Query< TY > const &query, typename WrapReturn< TY >::Wrapper &obj) |
helper to simplify creating mock table entries, wrapped correctly | |
template<class STRU > | |
AnyPair | entry_Struct (Literal caps) |
helper especially for creating structural assets from a capability query | |
Namespaces | |
steam | |
Steam-Layer implementation namespace root. | |
steam::mobject | |
Media-Objects, edit operations and high-level session. | |
steam::mobject::session | |
Namespace of Session and user visible high-level objects. | |