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

Data set option of the service list type. More...

#include <arcane/core/CaseOptionService.h>

Public Member Functions

 CaseOptionMultiServiceT (const CaseOptionBuildInfo &cob, bool allow_null)
CaseOptionMultiServiceT< InterfaceType > & operator() ()
const CaseOptionMultiServiceT< InterfaceType > & operator() () const
Public Member Functions inherited from Arcane::CaseOptionMultiService
 CaseOptionMultiService (const CaseOptionBuildInfo &cob, bool allow_null)
 CaseOptionMultiService (const CaseOptionMultiService &)=delete
const CaseOptionMultiService & operator= (const CaseOptionMultiService &)=delete
XmlNode rootElement () const
String rootTagName () const
String name () const
void getAvailableNames (StringArray &names) const
 Returns the valid implementation names for this service in names.
String serviceName (Integer index) const
 Name of the n-th service.
void addAlternativeNodeName (const String &lang, const String &name)
void setMeshName (const String &mesh_name)
 Sets the mesh name to which the service will be associated.
String meshName () const
 Mesh name to which the service is associated.
Public Member Functions inherited from Arcane::ArrayView< InterfaceType * >
constexpr ArrayView () noexcept
 Constructs an empty view.
 ArrayView (const ArrayView< InterfaceType * > &from)=default
 Copy constructor from another view.
constexpr ArrayView (Integer asize, pointer ptr) noexcept
 Constructs a view over a memory region starting at ptr and.
constexpr ArrayView (std::array< InterfaceType *, N > &v)
ArrayView< InterfaceType * > & operator= (const ArrayView< InterfaceType * > &from)=default
 Copy assignment operator.
constexpr ArrayView< InterfaceType * > & operator= (std::array< InterfaceType *, N > &from)
constexpr reference operator[] (Integer i)
 i-th element of the array.
constexpr const_reference operator[] (Integer i) const
 i-th element of the array.
constexpr reference operator() (Integer i)
 i-th element of the array.
constexpr const_reference operator() (Integer i) const
 i-th element of the array.
constexpr const_reference item (Integer i) const
 i-th element of the array.
constexpr void setItem (Integer i, const_reference v)
 Sets the i-th element of the array.
constexpr Integer size () const noexcept
 Returns the size of the array.
constexpr Integer length () const noexcept
 Number of elements in the array.
constexpr iterator begin () noexcept
 Iterator to the first element of the array.
constexpr const_iterator begin () const noexcept
 Constant iterator to the first element of the array.
constexpr iterator end () noexcept
 Iterator to the first element after the end of the array.
constexpr const_iterator end () const noexcept
 Constant iterator to the first element after the end of the array.
constexpr reverse_iterator rbegin () noexcept
 Reverse iterator to the first element of the array.
constexpr const_reverse_iterator rbegin () const noexcept
 Reverse iterator to the first element of the array.
constexpr reverse_iterator rend () noexcept
 Reverse iterator to the first element after the end of the array.
constexpr const_reverse_iterator rend () const noexcept
 Reverse iterator to the first element after the end of the array.
ArrayRange< pointerrange ()
 Iteration range from the first to the last element.
ArrayRange< const_pointerrange () const
 Iteration range from the first to the last element.
constexpr pointer ptrAt (Integer index)
 Address of the index-th element.
constexpr const_pointer ptrAt (Integer index) const
 Address of the index-th element.
constexpr const_reference at (Integer i) const
void setAt (Integer i, const_reference value)
void fill (const InterfaceType *&o) noexcept
 Fills the array with the value o.
constexpr ConstArrayView< InterfaceType * > constView () const noexcept
 Constant view of this view.
constexpr ArrayView< InterfaceType * > subView (Integer abegin, Integer asize) noexcept
 Sub-view starting from element abegin and containing asize elements.
constexpr ThatClass subPart (Integer abegin, Integer asize) noexcept
 Sub-view starting from element abegin and containing asize elements.
constexpr ConstArrayView< InterfaceType * > subConstView (Integer abegin, Integer asize) const noexcept
 Constant sub-view starting from element abegin and containing asize elements.
constexpr ArrayView< InterfaceType * > subViewInterval (Integer index, Integer nb_interval)
 Sub-view corresponding to the interval index over nb_interval.
constexpr ThatClass subPartInterval (Integer index, Integer nb_interval)
 Sub-view corresponding to the interval index over nb_interval.
void copy (const U &copy_array)
 Copies the array copy_array into the instance.
constexpr bool empty () const noexcept
 Returns true if the array is empty (zero dimension).
bool contains (const_reference v) const
 true if the array contains the element with value v
void setArray (const ArrayView< InterfaceType * > &v) noexcept
constexpr pointer unguardedBasePointer () noexcept
 Pointer to the beginning of the view.
constexpr const_pointer unguardedBasePointer () const noexcept
 Constant pointer to the start of the view.
constexpr const_pointer data () const noexcept
 Pointer to the start of the view.
constexpr pointer data () noexcept
 Constant pointer to the start of the view.

Protected Member Functions

void _notify ()
Protected Member Functions inherited from Arcane::CaseOptionMultiService
CaseOptionMultiServiceImpl_impl ()
const CaseOptionMultiServiceImpl_impl () const
Protected Member Functions inherited from Arcane::ArrayView< InterfaceType * >
constexpr pointer _ptr () noexcept
 Returns a pointer to the array.
constexpr const_pointer _ptr () const noexcept
 Returns a pointer to the array.
void _setArray (pointer v, Integer s) noexcept
 Modifies the pointer and size of the array.
void _setPtr (pointer v) noexcept
 Modifies the pointer to the start of the array.
void _setSize (Integer s) noexcept
 Modifies the size of the array.

Additional Inherited Members

Public Types inherited from Arcane::ArrayView< InterfaceType * >
using ThatClass
typedef InterfaceType * value_type
 Type of the array elements.
typedef value_typepointer
 Pointer type of an array element.
typedef const value_typeconst_pointer
 Constant pointer type of an array element.
typedef ArrayIterator< pointeriterator
 Type of the iterator over an array element.
typedef ArrayIterator< const_pointerconst_iterator
 Type of the constant iterator over an array element.
typedef value_typereference
 Reference type of an array element.
typedef const value_typeconst_reference
 Constant reference type of an array element.
typedef Integer size_type
 Type indexing the array.
typedef std::ptrdiff_t difference_type
 Type of a distance between array iterator elements.
typedef IterT< ArrayView< InterfaceType * > > iter
 Type of an iterator over the entire array.
typedef ConstIterT< ArrayView< InterfaceType * > > const_iter
 Type of a constant iterator over the entire array.
typedef std::reverse_iterator< iteratorreverse_iterator
typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
Static Public Member Functions inherited from Arcane::ArrayView< InterfaceType * >
static constexpr ThatClass create (pointer ptr, Integer asize) noexcept
 Constructs a view over a memory region starting at ptr and.

Detailed Description

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

Data set option of the service list type.

Definition at line 344 of file CaseOptionService.h.

Constructor & Destructor Documentation

◆ CaseOptionMultiServiceT()

template<typename InterfaceType>
Arcane::CaseOptionMultiServiceT< InterfaceType >::CaseOptionMultiServiceT ( const CaseOptionBuildInfo & cob,
bool allow_null )
inline

Definition at line 352 of file CaseOptionService.h.

Member Function Documentation

◆ _notify()

template<typename InterfaceType>
void Arcane::CaseOptionMultiServiceT< InterfaceType >::_notify ( )
inlineprotected

Definition at line 374 of file CaseOptionService.h.

◆ operator()() [1/2]

template<typename InterfaceType>
CaseOptionMultiServiceT< InterfaceType > & Arcane::CaseOptionMultiServiceT< InterfaceType >::operator() ( )
inline

Definition at line 362 of file CaseOptionService.h.

◆ operator()() [2/2]

template<typename InterfaceType>
const CaseOptionMultiServiceT< InterfaceType > & Arcane::CaseOptionMultiServiceT< InterfaceType >::operator() ( ) const
inline

Definition at line 366 of file CaseOptionService.h.


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