Lumiera  0.pre.03
»edit your freedom«
fake-configrules.cpp File Reference

Go to the source code of this file.

Description

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()

Deprecated:
integrate a real resolution engine! /////////////////////////////////////////////////////////TICKET #710

Definition in file fake-configrules.cpp.

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.