Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::ProxyItemVariable< DataType > Class Template Reference

Implementation of the IProxyItemVariable interface. More...

Inheritance diagram for Arcane::ProxyItemVariable< DataType >:
Collaboration diagram for Arcane::ProxyItemVariable< DataType >:

Public Member Functions

 ProxyItemVariable (IVariable *var, Integer pos=0)
Real operator[] (ItemEnumerator i) const
 Access to the value associated with a mesh entity, in the form of a Real.
Integer getPos () const
 Access to the associated family number.
Public Member Functions inherited from Arcane::ObjectImpl
 ObjectImpl (const ObjectImpl &rhs)=delete
ObjectImpl & operator= (const ObjectImpl &rhs)=delete
void addRef ()
 Increments the reference counter.
void removeRef ()
 Decrements the reference counter.
Int32 refCount () const
 Returns the value of the reference counter.
virtual void deleteMe ()
 Destroys this object.

Private Attributes

ItemVariableScalarRefT< DataType > m_var
Integer m_pos

Detailed Description

template<typename DataType>
class Arcane::ProxyItemVariable< DataType >

Implementation of the IProxyItemVariable interface.

Templated by the data type associated with the variable.

Definition at line 71 of file LoadBalanceMngInternal.cc.

Constructor & Destructor Documentation

◆ ProxyItemVariable()

template<typename DataType>
Arcane::ProxyItemVariable< DataType >::ProxyItemVariable ( IVariable * var,
Integer pos = 0 )
inlineexplicit

Definition at line 76 of file LoadBalanceMngInternal.cc.

◆ ~ProxyItemVariable()

template<typename DataType>
Arcane::ProxyItemVariable< DataType >::~ProxyItemVariable ( )
inline

Definition at line 81 of file LoadBalanceMngInternal.cc.

Member Function Documentation

◆ getPos()

template<typename DataType>
Integer Arcane::ProxyItemVariable< DataType >::getPos ( ) const
inlinevirtual

Access to the associated family number.

Implements Arcane::IProxyItemVariable.

Definition at line 87 of file LoadBalanceMngInternal.cc.

◆ operator[]()

template<typename DataType>
Real Arcane::ProxyItemVariable< DataType >::operator[] ( ItemEnumerator i) const
inlinevirtual

Access to the value associated with a mesh entity, in the form of a Real.

Implements Arcane::IProxyItemVariable.

Definition at line 83 of file LoadBalanceMngInternal.cc.

Member Data Documentation

◆ m_pos

template<typename DataType>
Integer Arcane::ProxyItemVariable< DataType >::m_pos
private

Definition at line 95 of file LoadBalanceMngInternal.cc.

◆ m_var

template<typename DataType>
ItemVariableScalarRefT<DataType> Arcane::ProxyItemVariable< DataType >::m_var
private

Definition at line 94 of file LoadBalanceMngInternal.cc.


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