12#ifndef ARCANE_CORE_VARIABLEFACTORYREGISTERER_H
13#define ARCANE_CORE_VARIABLEFACTORYREGISTERER_H
17#include "arcane/core/VariableTypeInfo.h"
45 using VariableFactoryFunc = VariableFactoryVariableRefCreateFunc;
82 bool isPartial()
const {
return m_variable_type_info.isPartial(); }
108 VariableFactoryFunc m_function;
Integer dimension() const
Dimension of the variable created by this factory.
IVariableFactory * createFactory()
Creates a factory for this variable type.
VariableFactoryRegisterer * previousVariableFactory() const
Previous VariableFactory (0 if the first).
void setNextVariableFactory(VariableFactoryRegisterer *s)
Positions the next VariableFactory.
Integer multiTag() const
Tag indicating the multiple type (0 if not multiple, 1 if multiple, 2 if multiple deprecated).
eDataType dataType() const
Data type of the variable created by this factory.
VariableFactoryRegisterer(VariableFactoryFunc func, const VariableTypeInfo &var_type_info)
bool isPartial() const
Indicates if the factory is for a partial variable.
eItemKind itemKind() const
Kind of data variables of the variable created by this factory.
const VariableTypeInfo & variableTypeInfo() const
Information about the variable type.
void setPreviousVariableFactory(VariableFactoryRegisterer *s)
Positions the previous VariableFactory.
VariableFactoryRegisterer * nextVariableFactory() const
Next VariableFactory (0 if the last).
Information characterizing the type of a variable.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.
eItemKind
Mesh entity type.