Home | History | Annotate | Download | only in fruit

Lines Matching defs:PartialComponent

42  * See PartialComponent below for how to construct a Component.
53 * Converts a PartialComponent to an arbitrary Component, auto-injecting the missing types (if
55 * This is usually called implicitly when returning a component from a function. See PartialComponent for an example.
58 Component(PartialComponent<Bindings...>&& component);
68 friend class PartialComponent;
117 PartialComponent<> createComponent();
122 * Client code should never write `PartialComponent'; always start the construction of a component with
123 * fruit::createComponent(), and end it by casting the PartialComponent to the desired Component (often done implicitly
124 * by returning a PartialComponent from a function that has Component<...> as the return type).
128 * required. All methods of this class return a PartialComponent, which allows to chain method invocations without
129 * declaring a variable of type PartialComponent.
140 * Note that no variable of type PartialComponent has been declared; this class should only be used for temporary
144 class PartialComponent {
146 PartialComponent& operator=(PartialComponent&&) = delete;
147 PartialComponent& operator=(const PartialComponent&) = delete;
258 PartialComponent<fruit::impl::Bind<I, C>, Bindings...> bind();
330 PartialComponent<fruit::impl::RegisterConstructor<Signature>, Bindings...> registerConstructor();
359 PartialComponent<fruit::impl::BindInstance<C, C>, Bindings...> bindInstance(C& instance);
396 PartialComponent<fruit::impl::BindConstInstance<C, C>, Bindings...> bindInstance(const C& instance);
402 PartialComponent<fruit::impl::BindConstInstance<C, C>, Bindings...> bindInstance(C&&) = delete;
415 PartialComponent<fruit::impl::BindInstance<AnnotatedType, C>, Bindings...> bindInstance(C& instance);
429 PartialComponent<fruit::impl::BindConstInstance<AnnotatedType, C>, Bindings...> bindInstance(const C& instance);
435 PartialComponent<fruit::impl::BindConstInstance<AnnotatedType, C>, Bindings...> bindInstance(C&& instance);
481 PartialComponent<fruit::impl::RegisterProvider<Lambda>, Bindings...> registerProvider(Lambda lambda);
510 PartialComponent<fruit::impl::RegisterProvider<AnnotatedSignature, Lambda>, Bindings...>
532 PartialComponent<fruit::impl::AddMultibinding<I, C>, Bindings...> addMultibinding();
572 PartialComponent<fruit::impl::AddInstanceMultibinding<C>, Bindings...> addInstanceMultibinding(C& instance);
598 PartialComponent<fruit::impl::AddInstanceMultibinding<AnnotatedC>, Bindings...> addInstanceMultibinding(C& instance);
626 PartialComponent<fruit::impl::AddInstanceVectorMultibindings<C>, Bindings...>
651 PartialComponent<fruit::impl::AddInstanceVectorMultibindings<AnnotatedC>, Bindings...>
691 PartialComponent<fruit::impl::AddMultibindingProvider<Lambda>, Bindings...> addMultibindingProvider(Lambda lambda);
728 PartialComponent<fruit::impl::AddMultibindingProvider<AnnotatedSignature, Lambda>, Bindings...>
811 PartialComponent<fruit::impl::RegisterFactory<DecoratedSignature, Factory>, Bindings...>
891 PartialComponent<fruit::impl::InstallComponent<fruit::Component<OtherComponentParams...>(FormalArgs...)>, Bindings...>
922 PartialComponent<fruit::impl::InstallComponentFunctions<ComponentFunctions...>, Bindings...>
926 * This class is returned by PartialComponent::replace, see the documentation of that method for more information.
936 PartialComponent<fruit::impl::ReplaceComponent<ReplacedComponent(GetReplacedComponentFormalArgs...),
1047 typename PartialComponent<Bindings...>::template PartialComponentWithReplacementInProgress<
1051 ~PartialComponent();
1055 friend class PartialComponent;
1063 PartialComponent() = delete;
1065 // Do not use. Only use PartialComponent for temporaries, and then convert it to a Component.
1066 PartialComponent(const PartialComponent&) = delete;
1067 PartialComponent(PartialComponent&&) = delete;
1069 PartialComponent(fruit::impl::PartialComponentStorage<Bindings...> storage);
1074 friend PartialComponent<> createComponent();