Sauce-0.10.1
A C++ Dependency Injection Framework
Public Member Functions | List of all members
sauce::internal::ImplicitBindings Class Reference

Attempts to supply a Binding when none is found for a dependency. More...

#include <sauce/internal/implicit_bindings.h>

Public Member Functions

template<typename Dependency >
sauce::shared_ptr< ResolvedBinding< Dependency > > getProviding (Concrete const &bindings, std::string const name) const
 Attempt to supply an unknown providing Binding at injection time. More...
 
template<typename Dependency >
std::vector< sauce::shared_ptr< ResolvedBinding< Dependency > > > getModifyings (Concrete const &, std::string const) const
 Attempt to supply unknown modifying Bindings at injection time. More...
 

Detailed Description

Attempts to supply a Binding when none is found for a dependency.

Member Function Documentation

◆ getModifyings()

template<typename Dependency >
std::vector< sauce::shared_ptr< ResolvedBinding< Dependency > > > sauce::internal::ImplicitBindings::getModifyings ( Concrete const &  ,
std::string const   
) const
inline

Attempt to supply unknown modifying Bindings at injection time.

70 {
71 return std::vector<sauce::shared_ptr<ResolvedBinding<Dependency> > >(); // TODO
72 }

◆ getProviding()

template<typename Dependency >
sauce::shared_ptr< ResolvedBinding< Dependency > > sauce::internal::ImplicitBindings::getProviding ( Concrete const &  bindings,
std::string const  name 
) const
inline

Attempt to supply an unknown providing Binding at injection time.

61 {
62 return ImplicitBinding<Dependency>::get(bindings, name);
63 }
static BindingPtr get(Concrete const &, std::string const name)
Attempt to supply an unknown providing Binding at injection time.
Definition: implicit_bindings.h:44
Here is the call graph for this function:

The documentation for this class was generated from the following file: