Arcane  v3.16.6.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
IItemInternalSortFunction.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2025 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* IItemInternalSortFunction.h (C) 2000-2025 */
9/* */
10/* Interface d'une fonction de tri des entités. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_IITEMINTERNALSORTFUNCTION_H
13#define ARCANE_CORE_IITEMINTERNALSORTFUNCTION_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
40{
41 public:
42
43 virtual ~IItemInternalSortFunction() = default;
44
45 public:
46
53 virtual const String& name() const = 0;
54
58 virtual void sortItems(ItemInternalMutableArrayView items) = 0;
59};
60
61/*---------------------------------------------------------------------------*/
62/*---------------------------------------------------------------------------*/
63
64} // namespace Arcane
65
66/*---------------------------------------------------------------------------*/
67/*---------------------------------------------------------------------------*/
68
69#endif
Déclarations des types généraux de Arcane.
Interface d'une fonction de tri des entités.
virtual void sortItems(ItemInternalMutableArrayView items)=0
Trie les entités du tableau items.
virtual ~IItemInternalSortFunction()=default
Libère les ressources.
virtual const String & name() const =0
Nom de la fonction de tri.
Chaîne de caractères unicode.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-