Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
AbstractCaseDocumentVisitor.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/* AbstractCaseOptionVisitor.h (C) 2000-2025 */
9/* */
10/* Abstract visitor for a dataset option. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_ABSTRACTCASEDOCUMENTVISITOR_H
13#define ARCANE_CORE_ABSTRACTCASEDOCUMENTVISITOR_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/core/ICaseDocumentVisitor.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
34class ARCANE_CORE_EXPORT AbstractCaseDocumentVisitor
36{
37 public:
38
39 void beginVisit(const ICaseOptions* opt) override;
40 void endVisit(const ICaseOptions* opt) override;
41 void beginVisit(const CaseOptionServiceImpl* opt) override;
42 void endVisit(const CaseOptionServiceImpl* opt) override;
43 void beginVisit(const CaseOptionMultiServiceImpl* opt, Integer index) override;
44 void endVisit(const CaseOptionMultiServiceImpl* opt, Integer index) override;
45 void applyVisitor(const CaseOptionSimple* opt) override;
46 void applyVisitor(const CaseOptionMultiSimple* opt) override;
47 void applyVisitor(const CaseOptionExtended* opt) override;
48 void applyVisitor(const CaseOptionMultiExtended* opt) override;
49 void applyVisitor(const CaseOptionEnum* opt) override;
50 void applyVisitor(const CaseOptionMultiEnum* opt) override;
51
52 protected:
53
54 void _throwException();
55};
56
57/*---------------------------------------------------------------------------*/
58/*---------------------------------------------------------------------------*/
59
60} // namespace Arcane
61
62/*---------------------------------------------------------------------------*/
63/*---------------------------------------------------------------------------*/
64
65#endif
Abstract visitor for a scalar data point.
Enumerated data set option.
Option for the extended type dataset.
Multi-enumeration data set option.
Option for the extended list of types dataset.
Base class for a service option that can appear multiple times.
Base class for implementing options using services.
Base class for simple options (single value).
Visitor interface for a dataset option.
Interface for a list of data set options.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.