14#include "arcane/core/materials/ComponentItemVectorView.h"
16#include "arcane/utils/NotImplementedException.h"
17#include "arcane/utils/ArgumentException.h"
19#include "arcane/core/materials/IMeshMaterial.h"
20#include "arcane/core/materials/IMeshEnvironment.h"
59 return ComponentItemVectorView(m_component);
62 if (begin >= nb_total) {
71 return { m_component, mvs, mn, ids };
#define ARCANE_THROW(exception_class,...)
Macro for throwing an exception with formatting.
Exception when an argument is invalid.
Constant view of an array of type T.
constexpr ConstArrayView< T > subView(Integer abegin, Integer asize) const noexcept
Sub-view (constant) starting from element abegin and containing asize elements.
ComponentItemVectorView _subView(Integer begin, Integer size)
Creates a sub-view of this view.
ConstArrayView< Int32 > _internalLocalIds() const
Array of localId() of associated entities.
IMeshComponent * component() const
Associated component.
Integer nbItem() const
Number of entities in the view.
View of a ConstituentItemLocalIdList instance.
EnvItemVectorView _subView(Integer begin, Integer size)
Creates a sub-view of this view.
IMeshEnvironment * environment() const
Associated environment.
Interface of a mesh environment.
Interface of a mesh material.
MatItemVectorView _subView(Integer begin, Integer size)
Creates a sub-view of this view.
IMeshMaterial * material() const
Associated material.
Always enables tracing in Arcane parts concerning materials.
Int32 Integer
Type representing an integer.