Interface of an 'IData' whose container is based on a 'NumArray'. More...
Public Types | |
| typedef INumArrayDataT< DataType, RankValue > | ThatClass |
| using | ExtentType = typename MDDimType<RankValue>::DimType |
Public Member Functions | |
| virtual MDSpan< const DataType, ExtentType > | view () const =0 |
| Constant view of the data. | |
| virtual MDSpan< DataType, ExtentType > | view ()=0 |
| View of the data. | |
| virtual Ref< ThatClass > | cloneTrueRef ()=0 |
| Clone the data. | |
| virtual Ref< ThatClass > | cloneTrueEmptyRef ()=0 |
| Clone the data but without elements. | |
| Public Member Functions inherited from Arcane::IData | |
| virtual eDataType | dataType () const =0 |
| Data type. | |
| virtual Integer | dimension () const =0 |
| Dimension. 0 for a scalar, 1 for a mono-dim array, 2 for a bi-dim array. | |
| virtual Integer | multiTag () const =0 |
| Multi-tag. 0 if not multiple, 1 if multiple, 2 if multiple for MultiArray variables (obsolete). | |
| virtual IData * | clone ()=0 |
| Clone the data. The created instance must be destroyed by the 'delete' operator. | |
| virtual IData * | cloneEmpty ()=0 |
| Clone the data but without elements. The created instance must be destroyed by the 'delete' operator. | |
| virtual Ref< IData > | cloneRef ()=0 |
| Clone the data. | |
| virtual Ref< IData > | cloneEmptyRef ()=0 |
| Clone the data but without elements. | |
| virtual DataStorageTypeInfo | storageTypeInfo () const =0 |
| Information about the data container type. | |
| virtual void | serialize (ISerializer *sbuf, IDataOperation *operation)=0 |
| Serializes the data by applying the operation. | |
| virtual void | resize (Integer new_size)=0 |
| Resize the data. | |
| virtual void | serialize (ISerializer *sbuf, Int32ConstArrayView ids, IDataOperation *operation)=0 |
| Serialize the data for the indices ids. | |
| virtual void | fillDefault ()=0 |
| Fills the data with its default value. | |
| virtual void | setName (const String &name)=0 |
| Sets the name of the data (internal). | |
| virtual Ref< ISerializedData > | createSerializedDataRef (bool use_basic_type) const =0 |
| Serialize the data. | |
| virtual void | assignSerializedData (const ISerializedData *sdata)=0 |
| Assign the serialized values sdata to the data. | |
| virtual void | allocateBufferForSerializedData (ISerializedData *sdata)=0 |
| Allocate memory to read the serialized values sdata. | |
| virtual void | copy (const IData *data)=0 |
| Copy the data data into the current instance. | |
| virtual void | swapValues (IData *data)=0 |
| Swap the values of data with those of the instance. | |
| virtual void | computeHash (IHashAlgorithm *algo, ByteArray &output) const =0 |
| Compute a hash key on this data. | |
| virtual ArrayShape | shape () const =0 |
| Array shape for a 1D or 2D data item. | |
| virtual void | setShape (const ArrayShape &new_shape)=0 |
| Sets the array shape. | |
| virtual void | setAllocationInfo (const DataAllocationInfo &v)=0 |
| Sets the allocation information. | |
| virtual DataAllocationInfo | allocationInfo () const =0 |
| Allocation information. | |
| virtual void | visit (IDataVisitor *visitor)=0 |
| Applies the visitor to the data. | |
| virtual void | visitScalar (IScalarDataVisitor *visitor)=0 |
| Apply the visitor to the data. | |
| virtual void | visitArray (IArrayDataVisitor *visitor)=0 |
| Apply the visitor to the data. | |
| virtual void | visitArray2 (IArray2DataVisitor *visitor)=0 |
| Apply the visitor to the data. | |
| virtual void | visitMultiArray2 (IMultiArray2DataVisitor *visitor) |
| Apply the visitor to the data. | |
| virtual IDataInternal * | _commonInternal ()=0 |
Interface of an 'IData' whose container is based on a 'NumArray'.
Definition at line 69 of file NumArrayData.cc.
| using Arcane::INumArrayDataT< DataType, RankValue >::ExtentType = typename MDDimType<RankValue>::DimType |
Definition at line 75 of file NumArrayData.cc.
| typedef INumArrayDataT<DataType, RankValue> Arcane::INumArrayDataT< DataType, RankValue >::ThatClass |
Definition at line 74 of file NumArrayData.cc.
|
pure virtual |
Clone the data but without elements.
Implemented in Arcane::NumArrayDataT< DataType, RankValue >.
|
pure virtual |
Clone the data.
Implemented in Arcane::NumArrayDataT< DataType, RankValue >.
|
pure virtual |
Constant view of the data.
Implemented in Arcane::NumArrayDataT< DataType, RankValue >.
|
pure virtual |
View of the data.
Implemented in Arcane::NumArrayDataT< DataType, RankValue >.