Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
OStringStream.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/* OStringStream.h (C) 2000-2018 */
9/* */
10/* Flux de sortie dans une chaîne de caractères. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_UTILS_OSTRINGSTREAM_H
13#define ARCANE_UTILS_OSTRINGSTREAM_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/utils/String.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22ARCANE_BEGIN_NAMESPACE
23
24/*---------------------------------------------------------------------------*/
25/*---------------------------------------------------------------------------*/
26
27/*---------------------------------------------------------------------------*/
28/*---------------------------------------------------------------------------*/
29
30class OStringStreamPrivate;
31
35class ARCANE_UTILS_EXPORT OStringStream
36{
37 public:
38
40 explicit OStringStream(Integer bufsize);
42
43 OStringStream(const OStringStream& rhs) = delete;
44 void operator=(const OStringStream& rhs) = delete;
45
46 public:
47
48 std::ostream& operator()();
49 std::ostream& stream();
50 String str();
51 void reset();
52
53 private:
54
56};
57
58/*---------------------------------------------------------------------------*/
59/*---------------------------------------------------------------------------*/
60
61ARCANE_END_NAMESPACE
62
63/*---------------------------------------------------------------------------*/
64/*---------------------------------------------------------------------------*/
65
66#endif
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
Flot de sortie lié à une String.
OStringStreamPrivate * m_p
Implémentation.
Chaîne de caractères unicode.