Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
IIndexedIncrementalItemConnectivityMng.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 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/* IIndexedIncrementalItemConnectivityMng.h (C) 2000-2025 */
9/* */
10/* Interface of the 'IIndexedIncrementalItemConnectivity' manager. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_IINDEXEDINCREMENTALITEMCONNECTIVITYMNG_H
13#define ARCANE_CORE_IINDEXEDINCREMENTALITEMCONNECTIVITYMNG_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28/*!
29 * \brief Interface of the manager for indexed incremental item connectivities.
30 */
32{
33 public:
34
36
37 public:
38
39 /*!
40 * \brief Searches for or creates a connectivity.
41 *
42 * Throws an exception if a connectivity with name \a name already exists but
43 * not with the same pair (source, target).
44 * The instance remains the owner of the returned connectivity.
45 */
47 findOrCreateConnectivity(IItemFamily* source, IItemFamily* target, const String& name) = 0;
48
49 /*!
50 * \brief Searches for or creates a connectivity.
51 *
52 * Throws an exception if the connectivity with name \a name is not found.
53 * The instance remains the owner of the returned connectivity.
54 */
56 findConnectivity(const String& name) = 0;
57};
58
59/*---------------------------------------------------------------------------*/
60/*---------------------------------------------------------------------------*/
61
62} // namespace Arcane
63
64/*---------------------------------------------------------------------------*/
65/*---------------------------------------------------------------------------*/
66
67#endif
Declarations of Arcane's general types.
Interface of the manager for indexed incremental item connectivities.
virtual Ref< IIndexedIncrementalItemConnectivity > findOrCreateConnectivity(IItemFamily *source, IItemFamily *target, const String &name)=0
Searches for or creates a connectivity.
virtual Ref< IIndexedIncrementalItemConnectivity > findConnectivity(const String &name)=0
Searches for or creates a connectivity.
Interface of an entity family.
Definition IItemFamily.h:83
Reference to an instance.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --