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
22
ARCANE_BEGIN_NAMESPACE
23
24
/*---------------------------------------------------------------------------*/
25
/*---------------------------------------------------------------------------*/
26
27
/*---------------------------------------------------------------------------*/
28
/*---------------------------------------------------------------------------*/
29
30
class
OStringStreamPrivate;
31
35
class
ARCANE_UTILS_EXPORT
OStringStream
36
{
37
public
:
38
39
OStringStream
();
40
explicit
OStringStream
(Integer
bufsize
);
41
~OStringStream
();
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
55
OStringStreamPrivate
*
m_p
;
56
};
57
58
/*---------------------------------------------------------------------------*/
59
/*---------------------------------------------------------------------------*/
60
61
ARCANE_END_NAMESPACE
62
63
/*---------------------------------------------------------------------------*/
64
/*---------------------------------------------------------------------------*/
65
66
#endif
Arcane::LimaWrapper
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition
Lima.cc:120
Arcane::OStringStreamPrivate
Definition
OStringStream.cc:32
Arcane::OStringStream
Flot de sortie lié à une String.
Definition
OStringStream.h:36
Arcane::OStringStream::m_p
OStringStreamPrivate * m_p
Implémentation.
Definition
OStringStream.h:55
Arccore::String
Chaîne de caractères unicode.
Definition
arccore/src/base/arccore/base/String.h:70
arcane
utils
OStringStream.h
Généré le Lundi 18 Novembre 2024 03:02:45 pour Arcane par
1.9.8