Arcane
v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
CaseOptionsMulti.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
/* CaseOptionsMulti.h (C) 2000-2019 */
9
/* */
10
/* Options du jeu de données gérant plusieurs occurences. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_CASEOPTIONSMULTI_H
13
#define ARCANE_CASEOPTIONSMULTI_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "arcane/CaseOptions.h"
18
#include "arcane/utils/UniqueArray.h"
19
20
/*---------------------------------------------------------------------------*/
21
/*---------------------------------------------------------------------------*/
22
23
namespace
Arcane
24
{
25
26
/*---------------------------------------------------------------------------*/
27
/*---------------------------------------------------------------------------*/
28
/*!
29
* \internal
30
* \brief Classe de base d'un tableau d'options complexes du jeu de données.
31
*/
32
class
ARCANE_CORE_EXPORT
CaseOptionsMulti
33
:
public
CaseOptions
34
,
public
ICaseOptionsMulti
35
{
36
public
:
37
38
CaseOptionsMulti
(
ICaseMng
*,
const
String
& tag_root_name,
39
const
XmlNode
& element,Integer min_occurs,Integer max_occurs);
40
CaseOptionsMulti
(
ICaseOptionList
*,
const
String
& tag_root_name,
41
const
XmlNode
& element,Integer min_occurs,Integer max_occurs);
42
43
public
:
44
45
ICaseOptions
* toCaseOptions()
override
{
return
this
; }
46
void
addChild(
ICaseOptionList
* v)
override
{ m_values.add(v); }
47
Integer nbChildren()
const override
{
return
m_values.size(); }
48
ICaseOptionList
* child(Integer index)
const override
{
return
m_values[index]; }
49
ICaseOptionsMulti
* toCaseOptionsMulti() {
return
this
; }
50
51
private
:
52
53
UniqueArray<ICaseOptionList*>
m_values;
54
};
55
56
/*---------------------------------------------------------------------------*/
57
/*---------------------------------------------------------------------------*/
58
59
}
// End namespace Arcane
60
61
/*---------------------------------------------------------------------------*/
62
/*---------------------------------------------------------------------------*/
63
64
#endif
Arcane::CaseOptionsMulti
Definition
CaseOptionsMulti.h:35
Arcane::CaseOptions
Definition
CaseOptions.h:57
Arcane::ICaseMng
Interface du gestionnaire de cas.
Definition
ICaseMng.h:56
Arcane::ICaseOptionList
Definition
ICaseOptionList.h:38
Arcane::ICaseOptionsMulti
Definition
ICaseOptions.h:155
Arcane::ICaseOptions
Definition
ICaseOptions.h:35
Arcane::XmlNode
Noeud d'un arbre DOM.
Definition
XmlNode.h:51
Arccore::String
Chaîne de caractères unicode.
Definition
arccore/src/base/arccore/base/String.h:70
Arccore::UniqueArray
Vecteur 1D de données avec sémantique par valeur (style STL).
Definition
arccore/src/collections/arccore/collections/Array.h:1807
Arcane
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Definition
AbstractCaseDocumentVisitor.cc:20
arcane
core
CaseOptionsMulti.h
Généré le Lundi 18 Novembre 2024 02:56:48 pour Arcane par
1.9.8