Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
XmlNodeList.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/* XmlNodeList.h (C) 2000-2013 */
9/* */
10/* Liste de noeuds d'un arbre DOM. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_XMLNODELIST_H
13#define ARCANE_XMLNODELIST_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/XmlNode.h"
18#include "arcane/utils/Array.h"
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23ARCANE_BEGIN_NAMESPACE
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27/*!
28 * \ingroup Xml
29 * \brief Liste de noeuds d'un arbre DOM.
30 */
32: public SharedArray<XmlNode>
33{
35 public:
36
37 Integer size() const { return BaseClass::size(); }
38 XmlNode node(Integer i) const { return this->operator[](i); }
39};
40
41/*---------------------------------------------------------------------------*/
42/*---------------------------------------------------------------------------*/
43
44ARCANE_END_NAMESPACE
45
46/*---------------------------------------------------------------------------*/
47/*---------------------------------------------------------------------------*/
48
49#endif
50
Liste de noeuds d'un arbre DOM.
Definition XmlNodeList.h:33
Noeud d'un arbre DOM.
Definition XmlNode.h:51
Vecteur 1D de données avec sémantique par référence.