Arcane
v3.14.10.0
Documentation utilisateur
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
32
/*!
33
* \brief Flot de sortie lié à une String.
34
*/
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;
//!< Implémentation
56
};
57
58
/*---------------------------------------------------------------------------*/
59
/*---------------------------------------------------------------------------*/
60
61
ARCANE_END_NAMESPACE
62
63
/*---------------------------------------------------------------------------*/
64
/*---------------------------------------------------------------------------*/
65
66
#endif
Arcane::OStringStreamPrivate
Definition
OStringStream.cc:32
Arcane::OStringStream
Flot de sortie lié à une String.
Definition
OStringStream.h:36
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 02:56:56 pour Arcane par
1.9.8