Arcane
4.1.12.0
User documentation
Loading...
Searching...
No Matches
CaseOptionComplexValue.cc
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
/* CaseOptions.cc (C) 2000-2023 */
9
/* */
10
/* Handling of dataset options. */
11
/*---------------------------------------------------------------------------*/
12
/*---------------------------------------------------------------------------*/
13
14
#include "arcane/core/CaseOptionComplexValue.h"
15
16
#include "arcane/core/ICaseOptions.h"
17
#include "arcane/core/internal/ICaseOptionListInternal.h"
18
19
/*---------------------------------------------------------------------------*/
20
/*---------------------------------------------------------------------------*/
21
22
namespace
Arcane
23
{
24
25
/*---------------------------------------------------------------------------*/
26
/*---------------------------------------------------------------------------*/
27
28
CaseOptionComplexValue::
29
CaseOptionComplexValue(
ICaseOptionsMulti
* opt,
ICaseOptionList
* clist,
const
XmlNode
& parent_elem)
30
: m_config_list(ICaseOptionListInternal::create(clist, opt->toCaseOptions(), parent_elem, clist->isOptional(), true))
31
, m_element(parent_elem)
32
{
33
opt->addChild(_configList());
34
}
35
36
/*---------------------------------------------------------------------------*/
37
/*---------------------------------------------------------------------------*/
38
39
CaseOptionComplexValue::
40
~CaseOptionComplexValue()
41
{
42
}
43
44
/*---------------------------------------------------------------------------*/
45
/*---------------------------------------------------------------------------*/
46
47
}
// End namespace Arcane
48
49
/*---------------------------------------------------------------------------*/
50
/*---------------------------------------------------------------------------*/
Arcane::ICaseOptionList
Definition
ICaseOptionList.h:39
Arcane::ICaseOptionsMulti
Definition
ICaseOptions.h:155
Arcane::XmlNode
Node of a DOM tree.
Definition
XmlNode.h:51
Arcane
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Definition
AbstractCaseDocumentVisitor.cc:21
arcane
core
CaseOptionComplexValue.cc
Generated on
for Arcane by
1.16.1