Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::CaseOptionServiceContainer< InterfaceType > Class Template Reference

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

Detailed Description

template<typename InterfaceType>
class Arcane::CaseOptionServiceContainer< InterfaceType >

Implementation of the container for a service of type InterfaceType.

Definition at line 50 of file CaseOptionService.h.

Constructor & Destructor Documentation

◆ ~CaseOptionServiceContainer()

template<typename InterfaceType>
Arcane::CaseOptionServiceContainer< InterfaceType >::~CaseOptionServiceContainer ( )
inlineoverride

Definition at line 55 of file CaseOptionService.h.

Member Function Documentation

◆ allocate()

template<typename InterfaceType>
void Arcane::CaseOptionServiceContainer< InterfaceType >::allocate ( Integer asize)
inlineoverridevirtual

Allocates an array for size elements.

Implements Arcane::ICaseOptionServiceContainer.

Definition at line 83 of file CaseOptionService.h.

◆ child()

template<typename InterfaceType>
InterfaceType * Arcane::CaseOptionServiceContainer< InterfaceType >::child ( Integer i) const
inline

Definition at line 95 of file CaseOptionService.h.

◆ childRef()

template<typename InterfaceType>
Ref< InterfaceType > Arcane::CaseOptionServiceContainer< InterfaceType >::childRef ( Integer i) const
inline

Definition at line 100 of file CaseOptionService.h.

◆ hasInterfaceImplemented()

template<typename InterfaceType>
bool Arcane::CaseOptionServiceContainer< InterfaceType >::hasInterfaceImplemented ( Internal::IServiceFactory2 * factory) const
inlineoverridevirtual

Implements Arcane::ICaseOptionServiceContainer.

Definition at line 73 of file CaseOptionService.h.

◆ nbElem()

template<typename InterfaceType>
Integer Arcane::CaseOptionServiceContainer< InterfaceType >::nbElem ( ) const
inlineoverridevirtual

Returns the number of elements in the array.

Implements Arcane::ICaseOptionServiceContainer.

Definition at line 90 of file CaseOptionService.h.

◆ removeInstances()

template<typename InterfaceType>
void Arcane::CaseOptionServiceContainer< InterfaceType >::removeInstances ( )
inline

Removes service instances.

Definition at line 108 of file CaseOptionService.h.

◆ tryCreateService()

template<typename InterfaceType>
bool Arcane::CaseOptionServiceContainer< InterfaceType >::tryCreateService ( Integer index,
Internal::IServiceFactory2 * factory,
const ServiceBuildInfoBase & sbi )
inlineoverridevirtual

Implements Arcane::ICaseOptionServiceContainer.

Definition at line 60 of file CaseOptionService.h.

◆ view()

template<typename InterfaceType>
ArrayView< InterfaceType * > Arcane::CaseOptionServiceContainer< InterfaceType >::view ( )
inline

Definition at line 116 of file CaseOptionService.h.


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