12#ifndef ARCANE_CORE_VARIABLEFACTORY_H
13#define ARCANE_CORE_VARIABLEFACTORY_H
17#include "arcane/utils/String.h"
19#include "arcane/core/IVariableFactory.h"
20#include "arcane/core/VariableTypeInfo.h"
50 ARCCORE_DEPRECATED_2020(
"Use overload with 'VariableTypeInfo' argument")
Interface for a variable factory.
VariableFactoryVariableRefCreateFunc VariableFactoryFunc
Type of the function that creates the variable.
Unicode character string.
Parameters necessary for building a variable.
VariableTypeInfo variableTypeInfo() const override
Information about the variable type.
VariableTypeInfo m_variable_type_info
Information about the variable type.
Integer multiTag() const override
Multi tag.
eItemKind itemKind() const override
Kind of the data variables created by this factory.
VariableFactoryFunc m_function
Creation function for IVariableFactoryFactory.
VariableFactory(VariableFactoryFunc func, eDataType data_type, eItemKind item_kind, Integer dimension, Integer multi_tag, bool is_partial)
Creates a variable factory.
VariableRef * createVariable(const VariableBuildInfo &name) override
Creates a variable with the build_info and returns its reference.
Integer dimension() const override
Dimension of the variable created by this factory.
eDataType dataType() const override
Data type of the variable created by this factory.
const String & fullTypeName() const override
Full name of the variable type.
String m_full_type_name
Full name of the variable type.
Information characterizing the type of a variable.
constexpr bool isPartial() const
Indicates if the variable is partial.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.
eItemKind
Mesh entity type.