Arcane
v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Collection.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
/* Collection.cc (C) 2000-2008 */
9
/* */
10
/* Classe de base d'une collection. */
11
/*---------------------------------------------------------------------------*/
12
/*---------------------------------------------------------------------------*/
13
14
#include "arcane/utils/ArcanePrecomp.h"
15
16
#include "arcane/utils/Collection.h"
17
#include "arcane/utils/CollectionImpl.h"
18
#include "arcane/utils/ArgumentException.h"
19
#include "arcane/utils/TraceInfo.h"
20
21
/*---------------------------------------------------------------------------*/
22
/*---------------------------------------------------------------------------*/
23
24
ARCANE_BEGIN_NAMESPACE
25
26
/*---------------------------------------------------------------------------*/
27
/*---------------------------------------------------------------------------*/
28
29
extern
"C"
ARCANE_UTILS_EXPORT
void
30
throwOutOfRangeException()
31
{
32
cerr <<
"** FATAL: Invalid access on a collection (array, list, ...).\n"
;
33
throw
ArgumentException(A_FUNCINFO,
"Bad index"
);
34
//arcaneDebugPause("throwOutOfRangeException");
35
}
36
37
/*---------------------------------------------------------------------------*/
38
/*---------------------------------------------------------------------------*/
39
40
ARCANE_END_NAMESPACE
41
42
/*---------------------------------------------------------------------------*/
43
/*---------------------------------------------------------------------------*/
44
arcane
utils
Collection.cc
Généré le Lundi 18 Novembre 2024 03:01:53 pour Arcane par
1.9.8