14#include "arcane/utils/ArcanePrecomp.h"
16#include "arcane/core/VariableFactoryRegisterer.h"
17#include "arcane/core/VariableFactory.h"
41 if (!arcaneFirstVariableFactory) {
42 arcaneFirstVariableFactory =
this;
47 arcaneFirstVariableFactory =
this;
68 return arcaneFirstVariableFactory;
Interface for a variable factory.
VariableFactoryVariableRefCreateFunc VariableFactoryFunc
Type of the function that creates the variable.
Variable factory registrar.
VariableFactoryFunc m_function
Creation function for IVariableFactoryFactory.
VariableFactoryRegisterer * m_previous
Previous VariableFactory.
IVariableFactory * createFactory()
Creates a factory for this variable type.
VariableFactoryRegisterer * m_next
Next VariableFactory.
void setNextVariableFactory(VariableFactoryRegisterer *s)
Positions the next VariableFactory.
VariableTypeInfo m_variable_type_info
Information about the variable type.
VariableFactoryRegisterer(VariableFactoryFunc func, const VariableTypeInfo &var_type_info)
void setPreviousVariableFactory(VariableFactoryRegisterer *s)
Positions the previous VariableFactory.
Registerer of a variable factory.
Information characterizing the type of a variable.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --