Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
AbstractCaseDocumentVisitor.cc
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/* AbstractCaseOptionVisitor.cc (C) 2000-2017 */
9/* */
10/* Visiteur abstrait pour une option du jeu de données. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/utils/NotImplementedException.h"
15#include "arcane/AbstractCaseDocumentVisitor.h"
16
17/*---------------------------------------------------------------------------*/
18/*---------------------------------------------------------------------------*/
19
20ARCANE_BEGIN_NAMESPACE
21
22/*---------------------------------------------------------------------------*/
23/*---------------------------------------------------------------------------*/
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28void AbstractCaseDocumentVisitor::
29_throwException()
30{
31 String s = String::format("visitor not implemented for this case option");
32 throw NotImplementedException(A_FUNCINFO,s);
33}
34
35/*---------------------------------------------------------------------------*/
36/*---------------------------------------------------------------------------*/
37
38void AbstractCaseDocumentVisitor::
39beginVisit(const ICaseOptions* opt)
40{
41 ARCANE_UNUSED(opt);
42 _throwException();
43}
44
45/*---------------------------------------------------------------------------*/
46/*---------------------------------------------------------------------------*/
47
48void AbstractCaseDocumentVisitor::
49endVisit(const ICaseOptions* opt)
50{
51 ARCANE_UNUSED(opt);
52 _throwException();
53}
54
55/*---------------------------------------------------------------------------*/
56/*---------------------------------------------------------------------------*/
57
58void AbstractCaseDocumentVisitor::
59applyVisitor(const CaseOptionSimple* opt)
60{
61 ARCANE_UNUSED(opt);
62 _throwException();
63}
64
65
66/*---------------------------------------------------------------------------*/
67/*---------------------------------------------------------------------------*/
68
69void AbstractCaseDocumentVisitor::
70applyVisitor(const CaseOptionMultiSimple* opt)
71{
72 ARCANE_UNUSED(opt);
73 _throwException();
74}
75
76/*---------------------------------------------------------------------------*/
77/*---------------------------------------------------------------------------*/
78
79void AbstractCaseDocumentVisitor::
80applyVisitor(const CaseOptionExtended* opt)
81{
82 ARCANE_UNUSED(opt);
83 _throwException();
84}
85
86/*---------------------------------------------------------------------------*/
87/*---------------------------------------------------------------------------*/
88
89void AbstractCaseDocumentVisitor::
90applyVisitor(const CaseOptionMultiExtended* opt)
91{
92 ARCANE_UNUSED(opt);
93 _throwException();
94}
95
96/*---------------------------------------------------------------------------*/
97/*---------------------------------------------------------------------------*/
98
99void AbstractCaseDocumentVisitor::
100applyVisitor(const CaseOptionEnum* opt)
101{
102 ARCANE_UNUSED(opt);
103 _throwException();
104}
105
106/*---------------------------------------------------------------------------*/
107/*---------------------------------------------------------------------------*/
108
109void AbstractCaseDocumentVisitor::
110applyVisitor(const CaseOptionMultiEnum* opt)
111{
112 ARCANE_UNUSED(opt);
113 _throwException();
114}
115
116/*---------------------------------------------------------------------------*/
117/*---------------------------------------------------------------------------*/
118
119void AbstractCaseDocumentVisitor::
120beginVisit(const CaseOptionServiceImpl* opt)
121{
122 ARCANE_UNUSED(opt);
123 _throwException();
124}
125
126/*---------------------------------------------------------------------------*/
127/*---------------------------------------------------------------------------*/
128
129void AbstractCaseDocumentVisitor::
130endVisit(const CaseOptionServiceImpl* opt)
131{
132 ARCANE_UNUSED(opt);
133 _throwException();
134}
135
136/*---------------------------------------------------------------------------*/
137/*---------------------------------------------------------------------------*/
138
139void AbstractCaseDocumentVisitor::
140beginVisit(const CaseOptionMultiServiceImpl* opt,Integer index)
141{
142 ARCANE_UNUSED(opt);
143 ARCANE_UNUSED(index);
144 _throwException();
145}
146
147/*---------------------------------------------------------------------------*/
148/*---------------------------------------------------------------------------*/
149
150void AbstractCaseDocumentVisitor::
151endVisit(const CaseOptionMultiServiceImpl* opt,Integer index)
152{
153 ARCANE_UNUSED(opt);
154 ARCANE_UNUSED(index);
155 _throwException();
156}
157
158/*---------------------------------------------------------------------------*/
159/*---------------------------------------------------------------------------*/
160
161ARCANE_END_NAMESPACE
162
163/*---------------------------------------------------------------------------*/
164/*---------------------------------------------------------------------------*/