VTK
9.3.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Common
Core
vtkOStrStreamWrapper.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
18
#ifndef vtkOStrStreamWrapper_h
19
#define vtkOStrStreamWrapper_h
20
21
#include "vtkCommonCoreModule.h"
22
23
#ifndef VTK_SYSTEM_INCLUDES_INSIDE
24
Do_not_include_vtkOStrStreamWrapper_directly_vtkSystemIncludes_includes_it
;
25
#endif
26
27
VTK_ABI_NAMESPACE_BEGIN
28
class
VTKCOMMONCORE_EXPORT
vtkOStrStreamWrapper
:
public
vtkOStreamWrapper
29
{
30
public
:
34
vtkOStrStreamWrapper
();
35
39
~
vtkOStrStreamWrapper
()
override
;
40
46
char
* str();
47
52
vtkOStrStreamWrapper
* rdbuf();
53
55
59
void
freeze();
60
void
freeze(
int
);
62
63
protected
:
64
// The pointer returned by str().
65
char
*
Result
;
66
67
// Whether the caller of str() owns the memory.
68
int
Frozen
;
69
70
private
:
71
vtkOStrStreamWrapper
(
const
vtkOStrStreamWrapper
& r) =
delete
;
72
vtkOStrStreamWrapper
& operator=(
const
vtkOStrStreamWrapper
&) =
delete
;
73
};
74
75
VTK_ABI_NAMESPACE_END
76
#endif
77
// VTK-HeaderTest-Exclude: vtkOStrStreamWrapper.h
vtkOStrStreamWrapper
Wrapper for ostrstream.
Definition:
vtkOStrStreamWrapper.h:28
Do_not_include_vtkOStrStreamWrapper_directly_vtkSystemIncludes_includes_it
Do_not_include_vtkOStrStreamWrapper_directly_vtkSystemIncludes_includes_it
Definition:
vtkOStrStreamWrapper.h:24
vtkOStreamWrapper
Wrapper for C++ ostream.
Definition:
vtkOStreamWrapper.h:33
vtkOStrStreamWrapper::Result
char * Result
Definition:
vtkOStrStreamWrapper.h:65
vtkOStrStreamWrapper::Frozen
int Frozen
Definition:
vtkOStrStreamWrapper.h:68
Generated on Sun Dec 8 2024 22:04:49 for VTK by
1.8.10