Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::properties::PropertySettingsRegisterer Class Reference

Property settings registrar. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/common/arccore/common/internal/Property.h>

Collaboration diagram for Arcane::properties::PropertySettingsRegisterer:

Public Types

typedef IPropertySettingsInfo *(* CreateFunc) (const PropertySettingsBuildInfo &sbi)
typedef PropertySettingsBuildInfo(* CreateBuildInfoFunc) ()

Public Member Functions

 PropertySettingsRegisterer (CreateFunc func, CreateBuildInfoFunc build_info_func, const char *name) ARCCORE_NOEXCEPT
PropertySettingsRegisterer * previousRegisterer () const
 Previous registrar (nullptr if the first).
PropertySettingsRegisterer * nextRegisterer () const
 Next registrar (nullptr if the last).
const char * name () const
 Associated class name.
Ref< IPropertySettingsInfocreateSettingsInfoRef () const

Static Public Member Functions

static PropertySettingsRegisterer * firstRegisterer ()
 Access to the first element of the registrar chain.
static Integer nbRegisterer ()
 Number of registrars in the chain.

Private Member Functions

void _setPreviousRegisterer (PropertySettingsRegisterer *s)
 Positions the previous registrar.
void _setNextRegisterer (PropertySettingsRegisterer *s)
 Positions the next registrar.
void _init ()

Private Attributes

PropertySettingsRegisterer * m_previous = nullptr
 Previous registrar.
PropertySettingsRegisterer * m_next = nullptr
 Next registrar.
const char * m_name = nullptr
 Registrar name.
CreateFunc m_create_func = nullptr
 Creation function.

Detailed Description

Property settings registrar.

Definition at line 437 of file Property.h.

Member Typedef Documentation

◆ CreateBuildInfoFunc

typedef PropertySettingsBuildInfo(* Arcane::properties::PropertySettingsRegisterer::CreateBuildInfoFunc) ()

Definition at line 442 of file Property.h.

◆ CreateFunc

typedef IPropertySettingsInfo *(* Arcane::properties::PropertySettingsRegisterer::CreateFunc) (const PropertySettingsBuildInfo &sbi)

Definition at line 441 of file Property.h.

Constructor & Destructor Documentation

◆ PropertySettingsRegisterer()

Arcane::properties::PropertySettingsRegisterer::PropertySettingsRegisterer ( CreateFunc func,
CreateBuildInfoFunc build_info_func,
const char * name )

Member Function Documentation

◆ _init()

void Arcane::properties::PropertySettingsRegisterer::_init ( )
private

◆ _setNextRegisterer()

void Arcane::properties::PropertySettingsRegisterer::_setNextRegisterer ( PropertySettingsRegisterer * s)
inlineprivate

Positions the next registrar.

Definition at line 476 of file Property.h.

References m_next.

◆ _setPreviousRegisterer()

void Arcane::properties::PropertySettingsRegisterer::_setPreviousRegisterer ( PropertySettingsRegisterer * s)
inlineprivate

Positions the previous registrar.

Definition at line 473 of file Property.h.

References m_previous.

◆ createSettingsInfoRef()

Ref< IPropertySettingsInfo > Arcane::properties::PropertySettingsRegisterer::createSettingsInfoRef ( ) const

◆ firstRegisterer()

PropertySettingsRegisterer * Arcane::properties::PropertySettingsRegisterer::firstRegisterer ( )
static

Access to the first element of the registrar chain.

Definition at line 226 of file arccore/src/common/arccore/common/Property.cc.

◆ name()

const char * Arcane::properties::PropertySettingsRegisterer::name ( ) const
inline

Associated class name.

Definition at line 466 of file Property.h.

References m_name.

◆ nbRegisterer()

Integer Arcane::properties::PropertySettingsRegisterer::nbRegisterer ( )
static

Number of registrars in the chain.

Definition at line 235 of file arccore/src/common/arccore/common/Property.cc.

◆ nextRegisterer()

PropertySettingsRegisterer * Arcane::properties::PropertySettingsRegisterer::nextRegisterer ( ) const
inline

Next registrar (nullptr if the last).

Definition at line 461 of file Property.h.

References m_next.

◆ previousRegisterer()

PropertySettingsRegisterer * Arcane::properties::PropertySettingsRegisterer::previousRegisterer ( ) const
inline

Previous registrar (nullptr if the first).

Definition at line 458 of file Property.h.

References m_previous.

Member Data Documentation

◆ m_create_func

CreateFunc Arcane::properties::PropertySettingsRegisterer::m_create_func = nullptr
private

Creation function.

Definition at line 490 of file Property.h.

◆ m_name

const char* Arcane::properties::PropertySettingsRegisterer::m_name = nullptr
private

Registrar name.

Definition at line 488 of file Property.h.

Referenced by name().

◆ m_next

PropertySettingsRegisterer* Arcane::properties::PropertySettingsRegisterer::m_next = nullptr
private

Next registrar.

Definition at line 483 of file Property.h.

Referenced by _setNextRegisterer(), and nextRegisterer().

◆ m_previous

PropertySettingsRegisterer* Arcane::properties::PropertySettingsRegisterer::m_previous = nullptr
private

Previous registrar.

Definition at line 481 of file Property.h.

Referenced by _setPreviousRegisterer(), and previousRegisterer().


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