Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::ItemScalarProperty< DataType > Class Template Reference
Collaboration diagram for Arcane::ItemScalarProperty< DataType >:

Public Member Functions

 ItemScalarProperty ()
template<class AbstractFamily>
void resize (AbstractFamily *item_family, const DataType default_value)
Integer size () const
template<class AbstractItem>
DataType & operator[] (const AbstractItem item)
template<class AbstractItem>
DataType operator[] (const AbstractItem item) const
void print () const
ConstArrayView< DataType > view ()
void updateSupport (Int32ConstArrayView new_to_old_ids)
void copy (const ItemScalarProperty< DataType > &item_property_from)

Private Attributes

SharedArray< DataType > m_data
DataType m_default_value

Detailed Description

template<class DataType>
class Arcane::ItemScalarProperty< DataType >

Definition at line 35 of file ItemProperty.h.

Constructor & Destructor Documentation

◆ ItemScalarProperty()

template<class DataType>
Arcane::ItemScalarProperty< DataType >::ItemScalarProperty ( )
inline

Constructor of the class

Definition at line 40 of file ItemProperty.h.

Member Function Documentation

◆ copy()

template<class DataType>
void Arcane::ItemScalarProperty< DataType >::copy ( const ItemScalarProperty< DataType > & item_property_from)
inline

Definition at line 89 of file ItemProperty.h.

◆ operator[]() [1/2]

template<class DataType>
template<class AbstractItem>
DataType & Arcane::ItemScalarProperty< DataType >::operator[] ( const AbstractItem item)
inline

Definition at line 56 of file ItemProperty.h.

◆ operator[]() [2/2]

template<class DataType>
template<class AbstractItem>
DataType Arcane::ItemScalarProperty< DataType >::operator[] ( const AbstractItem item) const
inline

Definition at line 59 of file ItemProperty.h.

◆ print()

template<class DataType>
void Arcane::ItemScalarProperty< DataType >::print ( ) const
inline

Definition at line 61 of file ItemProperty.h.

◆ resize()

template<class DataType>
template<class AbstractFamily>
void Arcane::ItemScalarProperty< DataType >::resize ( AbstractFamily * item_family,
const DataType default_value )
inline

Definition at line 47 of file ItemProperty.h.

◆ size()

template<class DataType>
Integer Arcane::ItemScalarProperty< DataType >::size ( ) const
inline

Definition at line 53 of file ItemProperty.h.

◆ updateSupport()

template<class DataType>
void Arcane::ItemScalarProperty< DataType >::updateSupport ( Int32ConstArrayView new_to_old_ids)
inline

Definition at line 72 of file ItemProperty.h.

◆ view()

template<class DataType>
ConstArrayView< DataType > Arcane::ItemScalarProperty< DataType >::view ( )
inline

Definition at line 70 of file ItemProperty.h.

Member Data Documentation

◆ m_data

template<class DataType>
SharedArray<DataType> Arcane::ItemScalarProperty< DataType >::m_data
private

Definition at line 98 of file ItemProperty.h.

◆ m_default_value

template<class DataType>
DataType Arcane::ItemScalarProperty< DataType >::m_default_value
private

Definition at line 99 of file ItemProperty.h.


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