Arcane
v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
BadVariantTypeException.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
/* BadVariantTypeException.h (C) 2000-2007 */
9
/* */
10
/* Exception levée lorsqu'un variant n'est pas du type souhaité */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_DATATYPE_BADVARIANTTYPEEXCEPTION_H
13
#define ARCANE_DATATYPE_BADVARIANTTYPEEXCEPTION_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "arcane/utils/Exception.h"
18
19
#include "arcane/datatype/VariantBase.h"
20
21
/*---------------------------------------------------------------------------*/
22
/*---------------------------------------------------------------------------*/
23
24
ARCANE_BEGIN_NAMESPACE
25
26
/*---------------------------------------------------------------------------*/
27
/*---------------------------------------------------------------------------*/
36
class
BadVariantTypeException
37
:
public
Exception
38
{
39
public
:
40
41
BadVariantTypeException
(
const
String
& where,VariantBase::eType
wrongType
);
42
43
public
:
44
45
virtual
void
explain(std::ostream& m)
const
;
46
47
private
:
48
49
VariantBase::eType m_wrong_type;
50
};
51
52
/*---------------------------------------------------------------------------*/
53
/*---------------------------------------------------------------------------*/
54
55
ARCANE_END_NAMESPACE
56
57
/*---------------------------------------------------------------------------*/
58
/*---------------------------------------------------------------------------*/
59
60
#endif
61
Arcane::BadVariantTypeException
Exception sur un type de variant non valide.
Definition
BadVariantTypeException.h:38
Arcane::LimaWrapper
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition
Lima.cc:120
Arccore::Exception
Classe de base d'une exception.
Definition
arccore/src/base/arccore/base/Exception.h:48
Arccore::String
Chaîne de caractères unicode.
Definition
arccore/src/base/arccore/base/String.h:70
arcane
core
datatype
BadVariantTypeException.h
Généré le Lundi 18 Novembre 2024 03:00:20 pour Arcane par
1.9.8