VTK
9.0.1
Common
Core
vtkOStrStreamWrapper.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkOStrStreamWrapper.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
27
#ifndef vtkOStrStreamWrapper_h
28
#define vtkOStrStreamWrapper_h
29
30
#ifndef VTK_SYSTEM_INCLUDES_INSIDE
31
Do_not_include_vtkOStrStreamWrapper_directly_vtkSystemIncludes_includes_it
;
32
#endif
33
34
class
VTKCOMMONCORE_EXPORT
vtkOStrStreamWrapper
:
public
vtkOStreamWrapper
35
{
36
public
:
40
vtkOStrStreamWrapper
();
41
45
~
vtkOStrStreamWrapper
()
override
;
46
52
char
* str();
53
58
vtkOStrStreamWrapper
* rdbuf();
59
61
65
void
freeze();
66
void
freeze(
int
);
68
69
protected
:
70
// The pointer returned by str().
71
char
*
Result
;
72
73
// Whether the caller of str() owns the memory.
74
int
Frozen
;
75
76
private
:
77
vtkOStrStreamWrapper
(
const
vtkOStrStreamWrapper
& r) =
delete
;
78
vtkOStrStreamWrapper
& operator=(
const
vtkOStrStreamWrapper
&) =
delete
;
79
};
80
81
#endif
82
// VTK-HeaderTest-Exclude: vtkOStrStreamWrapper.h
vtkOStrStreamWrapper
Wrapper for ostrstream.
Definition:
vtkOStrStreamWrapper.h:34
Do_not_include_vtkOStrStreamWrapper_directly_vtkSystemIncludes_includes_it
Do_not_include_vtkOStrStreamWrapper_directly_vtkSystemIncludes_includes_it
Definition:
vtkOStrStreamWrapper.h:31
vtkOStreamWrapper
Wrapper for C++ ostream.
Definition:
vtkOStreamWrapper.h:42
vtkOStrStreamWrapper::Result
char * Result
Definition:
vtkOStrStreamWrapper.h:71
vtkOStrStreamWrapper::Frozen
int Frozen
Definition:
vtkOStrStreamWrapper.h:74
Generated on Sat May 28 2022 12:06:49 for VTK by
1.8.14