Implementation of the container for a service of type InterfaceType. More...
#include <arcane/core/CaseOptionService.h>
Public Member Functions | |
| bool | tryCreateService (Integer index, Internal::IServiceFactory2 *factory, const ServiceBuildInfoBase &sbi) override |
| bool | hasInterfaceImplemented (Internal::IServiceFactory2 *factory) const override |
| void | allocate (Integer asize) override |
| Allocates an array for size elements. | |
| Integer | nbElem () const override |
| Returns the number of elements in the array. | |
| InterfaceType * | child (Integer i) const |
| Ref< InterfaceType > | childRef (Integer i) const |
| void | removeInstances () |
| Removes service instances. | |
| ArrayView< InterfaceType * > | view () |
Private Attributes | |
| UniqueArray< InterfaceType * > | m_services |
| UniqueArray< Ref< InterfaceType > > | m_services_reference |
Implementation of the container for a service of type InterfaceType.
Definition at line 50 of file CaseOptionService.h.
|
inlineoverride |
Definition at line 55 of file CaseOptionService.h.
|
inlineoverridevirtual |
Allocates an array for size elements.
Implements Arcane::ICaseOptionServiceContainer.
Definition at line 83 of file CaseOptionService.h.
|
inline |
Definition at line 95 of file CaseOptionService.h.
|
inline |
Definition at line 100 of file CaseOptionService.h.
|
inlineoverridevirtual |
Implements Arcane::ICaseOptionServiceContainer.
Definition at line 73 of file CaseOptionService.h.
|
inlineoverridevirtual |
Returns the number of elements in the array.
Implements Arcane::ICaseOptionServiceContainer.
Definition at line 90 of file CaseOptionService.h.
|
inline |
Removes service instances.
Definition at line 108 of file CaseOptionService.h.
|
inlineoverridevirtual |
Implements Arcane::ICaseOptionServiceContainer.
Definition at line 60 of file CaseOptionService.h.
|
inline |
Definition at line 116 of file CaseOptionService.h.
|
private |
Definition at line 120 of file CaseOptionService.h.
|
private |
Definition at line 121 of file CaseOptionService.h.