1#ifndef SAUCE_INTERNAL_OPAQUE_BINDING_H_
2#define SAUCE_INTERNAL_OPAQUE_BINDING_H_
7#include <sauce/memory.h>
8#include <sauce/internal/type_id.h>
18typedef sauce::shared_ptr<OpaqueBinding> OpaqueBindingPtr;
51 virtual NamedTypeId
getKey()
const = 0;
73 virtual void eagerlyInject(OpaqueBindingPtr, sauce::shared_ptr<Injector>)
const = 0;
84namespace i = ::sauce::internal;
An opaque binding.
Definition: opaque_binding.h:33
virtual void setDynamicDependencyNames(std::vector< std::string > const &)=0
Accept the list of dynamic dependency names this binding was created with.
virtual NamedTypeId getKey() const =0
The NamedTypeId of the (hidden) provided interface.
virtual bool isModifier() const
Does this binding modify an existing value?
Definition: opaque_binding.h:58
virtual void eagerlyInject(OpaqueBindingPtr, sauce::shared_ptr< Injector >) const =0
Provide, but do not return the hidden interface.
virtual std::string getName() const =0
The dynamic name of this binding.
virtual void setName(std::string)=0
Set the dynamic name of this binding.
virtual TypeId getScopeKey() const =0
The TypeId of the (hidden) scope.
A TypeSignature equipped with specific helper methods dealing in the hidden type.
Definition: type_id.h:34