Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
AnyItem.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 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/* AnyItem.h (C) 2000-2012 */
9/* */
10/* Include utilisateur regroupant les fonctionnalités AnyItem */
11/*---------------------------------------------------------------------------*/
12
13#ifndef ARCANE_ANYITEM_ANYITEM_H
14#define ARCANE_ANYITEM_ANYITEM_H
15
16/*---------------------------------------------------------------------------*/
17/*---------------------------------------------------------------------------*/
18
19#include "arcane/anyitem/AnyItemGroup.h"
20#include "arcane/anyitem/AnyItemFamilyObserver.h"
21#include "arcane/anyitem/AnyItemFamily.h"
22#include "arcane/anyitem/AnyItemUserGroup.h"
23#include "arcane/anyitem/AnyItemVariable.h"
24#include "arcane/anyitem/AnyItemVariableArray.h"
25#include "arcane/anyitem/AnyItemLinkFamily.h"
26#include "arcane/anyitem/AnyItemLinkVariable.h"
27#include "arcane/anyitem/AnyItemLinkVariableArray.h"
28#include "arcane/anyitem/AnyItemArray.h"
29#include "arcane/anyitem/AnyItemArray2.h"
30
31/*---------------------------------------------------------------------------*/
32/*---------------------------------------------------------------------------*/
33
34#define ENUMERATE_ANY_ITEM(name, group) \
35 for(AnyItem::Group::Enumerator __e((group).enumerator()); __e.hasNext(); ++__e) \
36 for(AnyItem::Group::BlockItemEnumerator name(__e.enumerator()); name.hasNext(); ++name)
37
38/*---------------------------------------------------------------------------*/
39/*---------------------------------------------------------------------------*/
40
41#define ENUMERATE_ANY_ITEM_LINK(name, container) \
42 for(AnyItem::LinkFamily::Enumerator name((container).enumerator()); \
43 name.hasNext(); ++name )
44
45/*---------------------------------------------------------------------------*/
46/*---------------------------------------------------------------------------*/
47
48#endif /* ARCANE_ANYITEM_ANYITEM_H */